From a5c8b6b85afb61c9706454fcf1469b9bf317626d Mon Sep 17 00:00:00 2001 From: Antoine Zanardi Date: Tue, 27 Jun 2023 22:04:29 +0200 Subject: [PATCH] feat(player-attribute): decreasing and outcomes (#279) --- .../player-attribute.constant.ts | 6 +- .../player-attribute.factory.ts | 4 + .../player-attribute.helper.ts | 10 + .../player/player-attribute.service.ts | 57 + .../services/player/player-killer.service.ts | 8 +- .../player-attribute.schema.ts | 4 + .../player-attribute.schema.factory.ts | 5 + tests/stryker/incremental.json | 32306 ++++++++-------- .../player-attribute.factory.spec.ts | 4 + .../player-attribute.helper.spec.ts | 50 + .../player-death/player-death.factory.spec.ts | 2 +- .../game-plays-maker.service.spec.ts | 2 +- .../player/player-attribute.service.spec.ts | 157 + .../player/player-killer.service.spec.ts | 28 +- 14 files changed, 17386 insertions(+), 15257 deletions(-) create mode 100644 src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts create mode 100644 src/modules/game/providers/services/player/player-attribute.service.ts create mode 100644 tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts create mode 100644 tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts diff --git a/src/modules/game/constants/player/player-attribute/player-attribute.constant.ts b/src/modules/game/constants/player/player-attribute/player-attribute.constant.ts index beb067158..faeecf651 100644 --- a/src/modules/game/constants/player/player-attribute/player-attribute.constant.ts +++ b/src/modules/game/constants/player/player-attribute/player-attribute.constant.ts @@ -2,7 +2,10 @@ import type { ApiPropertyOptions } from "@nestjs/swagger"; import type { PlayerAttribute } from "../../../schemas/player/player-attribute/player-attribute.schema"; import { gameSourceValues } from "../../game.constant"; -const playerAttributeFieldsSpecs = Object.freeze({ remainingPhases: { minimum: 1 } }); +const playerAttributeFieldsSpecs = Object.freeze({ + remainingPhases: { minimum: 1 }, + doesRemainAfterDeath: { default: false }, +}); const playerAttributeApiProperties: Record = Object.freeze({ name: { description: "Attribute's name on the player." }, @@ -15,6 +18,7 @@ const playerAttributeApiProperties: Record { + const death = createPlayerEatenByWerewolvesDeath({ source: attribute.source }); + return this.playerKillerService.killOrRevealPlayer(player._id, game, death); + } + + public async applyDrankDeathPotionAttributeOutcomes(player: Player, game: Game): Promise { + const death = createPlayerDeathPotionByWitchDeath(); + return this.playerKillerService.killOrRevealPlayer(player._id, game, death); + } + + public async applyContaminatedAttributeOutcomes(player: Player, game: Game): Promise { + const death = createPlayerDiseaseByRustySwordKnightDeath(); + return this.playerKillerService.killOrRevealPlayer(player._id, game, death); + } + + public decreaseRemainingPhasesAndRemoveObsoletePlayerAttributes(game: Game): Game { + const clonedGame = cloneDeep(game); + clonedGame.players = clonedGame.players.map(player => this.decreaseRemainingPhasesAndRemoveObsoleteAttributes(player, clonedGame)); + return clonedGame; + } + + private decreaseAttributeRemainingPhase(attribute: PlayerAttribute, game: Game): PlayerAttribute { + const clonedAttribute = cloneDeep(attribute); + if (clonedAttribute.remainingPhases !== undefined && isPlayerAttributeActive(clonedAttribute, game)) { + clonedAttribute.remainingPhases--; + } + return clonedAttribute; + } + + private decreaseRemainingPhasesAndRemoveObsoleteAttributes(player: Player, game: Game): Player { + const clonedPlayer = cloneDeep(player); + if (!clonedPlayer.isAlive) { + return clonedPlayer; + } + clonedPlayer.attributes = player.attributes.reduce((acc, attribute) => { + const decreasedAttribute = this.decreaseAttributeRemainingPhase(attribute, game); + if (decreasedAttribute.remainingPhases === undefined || decreasedAttribute.remainingPhases > 0) { + return [...acc, decreasedAttribute]; + } + return acc; + }, []); + return clonedPlayer; + } +} \ No newline at end of file diff --git a/src/modules/game/providers/services/player/player-killer.service.ts b/src/modules/game/providers/services/player/player-killer.service.ts index 00d9c5893..451a470a5 100644 --- a/src/modules/game/providers/services/player/player-killer.service.ts +++ b/src/modules/game/providers/services/player/player-killer.service.ts @@ -62,6 +62,12 @@ export class PlayerKillerService { death.cause === PLAYER_DEATH_CAUSES.VOTE; } + private removePlayerAttributesAfterDeath(player: Player): Player { + const clonedPlayer = cloneDeep(player); + clonedPlayer.attributes = clonedPlayer.attributes.filter(({ doesRemainAfterDeath }) => doesRemainAfterDeath === true); + return clonedPlayer; + } + private async getAncientLivesCountAgainstWerewolves(game: Game): Promise { const { livesCountAgainstWerewolves } = game.options.roles.ancient; const werewolvesEatAncientRecords = await this.gameHistoryRecordService.getGameHistoryWerewolvesEatAncientRecords(game._id); @@ -230,7 +236,7 @@ export class PlayerKillerService { clonedPlayerToKill = getPlayerWithIdOrThrow(clonedPlayerToKill._id, clonedGame, cantFindPlayerException); clonedGame = this.applyPlayerDeathOutcomes(clonedPlayerToKill, clonedGame, death); clonedPlayerToKill = getPlayerWithIdOrThrow(clonedPlayerToKill._id, clonedGame, cantFindPlayerException); - return updatePlayerInGame(clonedPlayerToKill._id, { attributes: [] }, clonedGame); + return updatePlayerInGame(clonedPlayerToKill._id, this.removePlayerAttributesAfterDeath(clonedPlayerToKill), clonedGame); } private getPlayerToKillInGame(playerId: Types.ObjectId, game: Game): Player { diff --git a/src/modules/game/schemas/player/player-attribute/player-attribute.schema.ts b/src/modules/game/schemas/player/player-attribute/player-attribute.schema.ts index 7318100a6..4655adf5e 100644 --- a/src/modules/game/schemas/player/player-attribute/player-attribute.schema.ts +++ b/src/modules/game/schemas/player/player-attribute/player-attribute.schema.ts @@ -32,6 +32,10 @@ class PlayerAttribute { @Type(() => PlayerAttributeActivation) @Expose() public activeAt?: PlayerAttributeActivation; + + @ApiProperty(playerAttributeApiProperties.doesRemainAfterDeath) + @Expose() + public doesRemainAfterDeath?: boolean; } const PlayerAttributeSchema = SchemaFactory.createForClass(PlayerAttribute); diff --git a/tests/factories/game/schemas/player/player-attribute/player-attribute.schema.factory.ts b/tests/factories/game/schemas/player/player-attribute/player-attribute.schema.factory.ts index be5aa5de2..38369aec1 100644 --- a/tests/factories/game/schemas/player/player-attribute/player-attribute.schema.factory.ts +++ b/tests/factories/game/schemas/player/player-attribute/player-attribute.schema.factory.ts @@ -14,6 +14,7 @@ function createFakeSheriffBySheriffPlayerAttribute(attribute: Partial = {}, ove source: attribute.source ?? faker.helpers.arrayElement(gameSourceValues), remainingPhases: attribute.remainingPhases ?? undefined, activeAt: attribute.activeAt ?? undefined, + doesRemainAfterDeath: attribute.doesRemainAfterDeath ?? undefined, ...override, }, plainToInstanceDefaultOptions); } diff --git a/tests/stryker/incremental.json b/tests/stryker/incremental.json index 4687004af..699759dc5 100644 --- a/tests/stryker/incremental.json +++ b/tests/stryker/incremental.json @@ -12,7 +12,7 @@ "static": true, "killedBy": [], "coveredBy": [ - "808" + "824" ], "location": { "end": { @@ -34,10 +34,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "808" + "824" ], "coveredBy": [ - "808" + "824" ], "location": { "end": { @@ -59,10 +59,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "808" + "824" ], "coveredBy": [ - "808" + "824" ], "location": { "end": { @@ -84,10 +84,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "808" + "824" ], "coveredBy": [ - "808" + "824" ], "location": { "end": { @@ -109,10 +109,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "808" + "824" ], "coveredBy": [ - "808" + "824" ], "location": { "end": { @@ -134,10 +134,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "808" + "824" ], "coveredBy": [ - "808" + "824" ], "location": { "end": { @@ -159,10 +159,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "808" + "824" ], "coveredBy": [ - "808" + "824" ], "location": { "end": { @@ -183,7 +183,7 @@ "static": true, "killedBy": [], "coveredBy": [ - "808" + "824" ], "location": { "end": { @@ -205,10 +205,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "808" + "824" ], "coveredBy": [ - "808" + "824" ], "location": { "end": { @@ -236,8 +236,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "814", - "815" + "830", + "831" ], "location": { "end": { @@ -259,8 +259,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "814", - "815" + "830", + "831" ], "location": { "end": { @@ -282,8 +282,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "814", - "815" + "830", + "831" ], "location": { "end": { @@ -305,8 +305,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "814", - "815" + "830", + "831" ], "location": { "end": { @@ -328,11 +328,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "815" + "831" ], "coveredBy": [ - "814", - "815" + "830", + "831" ], "location": { "end": { @@ -354,8 +354,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "814", - "815" + "830", + "831" ], "location": { "end": { @@ -377,8 +377,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "814", - "815" + "830", + "831" ], "location": { "end": { @@ -400,10 +400,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "815" + "831" ], "coveredBy": [ - "815" + "831" ], "location": { "end": { @@ -425,9 +425,9 @@ "static": true, "killedBy": [], "coveredBy": [ - "816", - "817", - "818" + "832", + "833", + "834" ], "location": { "end": { @@ -449,9 +449,9 @@ "static": true, "killedBy": [], "coveredBy": [ - "816", - "817", - "818" + "832", + "833", + "834" ], "location": { "end": { @@ -473,12 +473,12 @@ "testsCompleted": 3, "static": true, "killedBy": [ - "816" + "832" ], "coveredBy": [ - "816", - "817", - "818" + "832", + "833", + "834" ], "location": { "end": { @@ -500,10 +500,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "816" + "832" ], "coveredBy": [ - "816" + "832" ], "location": { "end": { @@ -525,9 +525,9 @@ "static": true, "killedBy": [], "coveredBy": [ - "816", - "817", - "818" + "832", + "833", + "834" ], "location": { "end": { @@ -549,7 +549,7 @@ "static": true, "killedBy": [], "coveredBy": [ - "818" + "834" ], "location": { "end": { @@ -571,7 +571,7 @@ "static": true, "killedBy": [], "coveredBy": [ - "818" + "834" ], "location": { "end": { @@ -593,10 +593,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "818" + "834" ], "coveredBy": [ - "818" + "834" ], "location": { "end": { @@ -624,8 +624,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "835", - "836" + "851", + "852" ], "location": { "end": { @@ -647,8 +647,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "835", - "836" + "851", + "852" ], "location": { "end": { @@ -670,11 +670,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "835" + "851" ], "coveredBy": [ - "835", - "836" + "851", + "852" ], "location": { "end": { @@ -696,11 +696,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "835" + "851" ], "coveredBy": [ - "835", - "836" + "851", + "852" ], "location": { "end": { @@ -722,11 +722,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "835" + "851" ], "coveredBy": [ - "835", - "836" + "851", + "852" ], "location": { "end": { @@ -748,8 +748,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "835", - "836" + "851", + "852" ], "location": { "end": { @@ -777,8 +777,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "833", - "834" + "849", + "850" ], "location": { "end": { @@ -800,11 +800,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "833" + "849" ], "coveredBy": [ - "833", - "834" + "849", + "850" ], "location": { "end": { @@ -826,11 +826,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "833" + "849" ], "coveredBy": [ - "833", - "834" + "849", + "850" ], "location": { "end": { @@ -852,11 +852,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "833" + "849" ], "coveredBy": [ - "833", - "834" + "849", + "850" ], "location": { "end": { @@ -884,8 +884,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "428", - "429" + "429", + "430" ], "location": { "end": { @@ -907,7 +907,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "439" + "440" ], "location": { "end": { @@ -929,7 +929,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "442" + "443" ], "location": { "end": { @@ -951,8 +951,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "455", - "456" + "456", + "457" ], "location": { "end": { @@ -974,8 +974,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "459", - "460" + "460", + "461" ], "location": { "end": { @@ -997,10 +997,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", "467", - "468" + "468", + "469" ], "location": { "end": { @@ -1028,10 +1028,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", "441", "442", - "457", + "443", "458", "459", "460", @@ -1043,9 +1042,10 @@ "466", "467", "468", - "802", - "803", - "804" + "469", + "818", + "819", + "820" ], "location": { "end": { @@ -1067,23 +1067,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "804" + "820" ], "coveredBy": [ - "441", "442", - "458", + "443", "459", "460", - "462", + "461", "463", "464", "465", "466", "467", "468", - "803", - "804" + "469", + "819", + "820" ], "location": { "end": { @@ -1097,27 +1097,26 @@ } }, { - "id": "43", + "id": "44", "mutatorName": "ConditionalExpression", - "replacement": "true", + "replacement": "false", "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, - "killedBy": [], "coveredBy": [ - "441", "442", - "458", + "443", "459", "460", - "462", - "464", + "461", + "463", "465", "466", "467", "468", - "803", - "804" + "469", + "819", + "820" ], "location": { "end": { @@ -1131,27 +1130,26 @@ } }, { - "id": "44", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "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", + "id": "45", + "mutatorName": "EqualityOperator", + "replacement": "game !== null", + "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(19,5): error TS2322: Type 'null' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "441", "442", - "458", + "443", "459", "460", - "462", - "464", + "461", + "463", "465", "466", "467", "468", - "803", - "804" + "469", + "819", + "820" ], "location": { "end": { @@ -1165,61 +1163,59 @@ } }, { - "id": "45", - "mutatorName": "EqualityOperator", - "replacement": "game !== null", - "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(19,5): error TS2322: Type 'null' is not assignable to type 'Game'.\n", + "id": "46", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(17,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": [ - "441", "442", - "458", "459", - "460", - "462", - "464", + "463", "465", - "466", - "467", - "468", - "803", - "804" + "819" ], "location": { "end": { - "column": 22, - "line": 16 + "column": 6, + "line": 18 }, "start": { - "column": 9, + "column": 24, "line": 16 } } }, { - "id": "46", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(17,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", + "id": "43", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "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, - "killedBy": [], "coveredBy": [ - "441", - "458", - "462", - "464", - "803" + "442", + "443", + "459", + "460", + "461", + "463", + "465", + "466", + "467", + "468", + "469", + "819", + "820" ], "location": { "end": { - "column": 6, - "line": 18 + "column": 22, + "line": 16 }, "start": { - "column": 24, + "column": 9, "line": 16 } } @@ -1264,7 +1260,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -1278,18 +1273,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "772", - "773", - "774", - "775", - "776", - "777", - "778" + "585", + "782", + "783", + "784", + "785", + "786", + "787", + "788" ], "location": { "end": { @@ -1311,10 +1307,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "443", "444", "445", "446", @@ -1328,18 +1323,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "772", - "773", - "774", - "775", - "776", - "777", - "778" + "585", + "782", + "783", + "784", + "785", + "786", + "787", + "788" ], "location": { "end": { @@ -1361,10 +1357,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "772" + "782" ], "coveredBy": [ - "443", "444", "445", "446", @@ -1378,18 +1373,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "772", - "773", - "774", - "775", - "776", - "777", - "778" + "585", + "782", + "783", + "784", + "785", + "786", + "787", + "788" ], "location": { "end": { @@ -1411,7 +1407,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -1425,18 +1420,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "772", - "773", - "774", - "775", - "776", - "777", - "778" + "585", + "782", + "783", + "784", + "785", + "786", + "787", + "788" ], "location": { "end": { @@ -1458,7 +1454,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -1472,18 +1467,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "772", - "773", - "774", - "775", - "776", - "777", - "778" + "585", + "782", + "783", + "784", + "785", + "786", + "787", + "788" ], "location": { "end": { @@ -1505,10 +1501,9 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "774" + "784" ], "coveredBy": [ - "444", "445", "446", "447", @@ -1521,16 +1516,17 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "774", - "775", - "776", - "777", - "778" + "585", + "784", + "785", + "786", + "787", + "788" ], "location": { "end": { @@ -1552,10 +1548,9 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "774" + "784" ], "coveredBy": [ - "444", "445", "446", "447", @@ -1568,16 +1563,17 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "774", - "775", - "776", - "777", - "778" + "585", + "784", + "785", + "786", + "787", + "788" ], "location": { "end": { @@ -1599,10 +1595,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "444", "445", "446", "447", @@ -1615,15 +1610,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "774", - "775", - "776", - "778" + "585", + "784", + "785", + "786", + "788" ], "location": { "end": { @@ -1645,10 +1641,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "774" + "784" ], "coveredBy": [ - "444", "445", "446", "447", @@ -1661,15 +1656,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "774", - "775", - "776", - "778" + "585", + "784", + "785", + "786", + "788" ], "location": { "end": { @@ -1691,10 +1687,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "775" + "785" ], "coveredBy": [ - "444", "445", "446", "447", @@ -1707,15 +1702,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "774", - "775", - "776", - "778" + "585", + "784", + "785", + "786", + "788" ], "location": { "end": { @@ -1737,10 +1733,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "444", "445", "446", "447", @@ -1753,15 +1748,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "774", - "775", - "776", - "778" + "585", + "784", + "785", + "786", + "788" ], "location": { "end": { @@ -1783,10 +1779,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -1799,15 +1794,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "774", - "775", - "776", - "778" + "585", + "784", + "785", + "786", + "788" ], "location": { "end": { @@ -1828,7 +1824,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -1841,15 +1836,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "774", - "775", - "776", - "778" + "585", + "784", + "785", + "786", + "788" ], "location": { "end": { @@ -1871,10 +1867,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "444", "445", "446", "447", @@ -1887,15 +1882,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "774", - "775", - "776", - "778" + "585", + "784", + "785", + "786", + "788" ], "location": { "end": { @@ -1917,10 +1913,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -1933,15 +1928,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "774", - "775", - "776", - "778" + "585", + "784", + "785", + "786", + "788" ], "location": { "end": { @@ -1963,14 +1959,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "443" + "444" ], "coveredBy": [ - "443", - "772", - "773", - "774", - "775" + "444", + "782", + "783", + "784", + "785" ], "location": { "end": { @@ -1992,14 +1988,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "772" + "782" ], "coveredBy": [ - "443", - "772", - "773", - "774", - "775" + "444", + "782", + "783", + "784", + "785" ], "location": { "end": { @@ -2021,10 +2017,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "451" + "452" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2037,14 +2032,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "776", - "777", - "778" + "585", + "786", + "787", + "788" ], "location": { "end": { @@ -2066,10 +2062,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2082,14 +2077,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "776", - "777", - "778" + "585", + "786", + "787", + "788" ], "location": { "end": { @@ -2111,10 +2107,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "451" + "452" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2127,14 +2122,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "776", - "777", - "778" + "585", + "786", + "787", + "788" ], "location": { "end": { @@ -2156,10 +2152,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2172,14 +2167,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "776", - "777", - "778" + "585", + "786", + "787", + "788" ], "location": { "end": { @@ -2201,10 +2197,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "776" + "786" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2217,14 +2212,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "776", - "777", - "778" + "585", + "786", + "787", + "788" ], "location": { "end": { @@ -2246,10 +2242,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2262,14 +2257,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "776", - "777", - "778" + "585", + "786", + "787", + "788" ], "location": { "end": { @@ -2291,10 +2287,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2307,14 +2302,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "776", - "777", - "778" + "585", + "786", + "787", + "788" ], "location": { "end": { @@ -2336,10 +2332,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2352,13 +2347,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "776", - "778" + "585", + "786", + "788" ], "location": { "end": { @@ -2380,10 +2376,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "451" + "452" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2396,13 +2391,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "776", - "778" + "585", + "786", + "788" ], "location": { "end": { @@ -2424,10 +2420,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2440,13 +2435,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "776", - "778" + "585", + "786", + "788" ], "location": { "end": { @@ -2468,10 +2464,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "451" + "452" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2484,13 +2479,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "776", - "778" + "585", + "786", + "788" ], "location": { "end": { @@ -2512,9 +2508,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", - "451", - "779" + "444", + "452", + "789" ], "location": { "end": { @@ -2536,12 +2532,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "451" + "452" ], "coveredBy": [ - "443", - "451", - "779" + "444", + "452", + "789" ], "location": { "end": { @@ -2664,7 +2660,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -2678,18 +2673,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "780", - "781", - "782", - "783", - "784", - "785", - "786" + "585", + "790", + "791", + "792", + "793", + "794", + "795", + "796" ], "location": { "end": { @@ -2711,10 +2707,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "443", "444", "445", "446", @@ -2728,18 +2723,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "780", - "781", - "782", - "783", - "784", - "785", - "786" + "585", + "790", + "791", + "792", + "793", + "794", + "795", + "796" ], "location": { "end": { @@ -2761,10 +2757,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "780" + "790" ], "coveredBy": [ - "443", "444", "445", "446", @@ -2778,18 +2773,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "780", - "781", - "782", - "783", - "784", - "785", - "786" + "585", + "790", + "791", + "792", + "793", + "794", + "795", + "796" ], "location": { "end": { @@ -2811,7 +2807,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -2825,18 +2820,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "780", - "781", - "782", - "783", - "784", - "785", - "786" + "585", + "790", + "791", + "792", + "793", + "794", + "795", + "796" ], "location": { "end": { @@ -2858,7 +2854,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -2872,18 +2867,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "780", - "781", - "782", - "783", - "784", - "785", - "786" + "585", + "790", + "791", + "792", + "793", + "794", + "795", + "796" ], "location": { "end": { @@ -2905,10 +2901,9 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "782" + "792" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2921,16 +2916,17 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "782", - "783", - "784", - "785", - "786" + "585", + "792", + "793", + "794", + "795", + "796" ], "location": { "end": { @@ -2952,10 +2948,9 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "782" + "792" ], "coveredBy": [ - "444", "445", "446", "447", @@ -2968,16 +2963,17 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "782", - "783", - "784", - "785", - "786" + "585", + "792", + "793", + "794", + "795", + "796" ], "location": { "end": { @@ -2999,10 +2995,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3015,15 +3010,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "782", - "783", - "784", - "786" + "585", + "792", + "793", + "794", + "796" ], "location": { "end": { @@ -3045,10 +3041,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "782" + "792" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3061,15 +3056,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "782", - "783", - "784", - "786" + "585", + "792", + "793", + "794", + "796" ], "location": { "end": { @@ -3091,10 +3087,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "783" + "793" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3107,15 +3102,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "782", - "783", - "784", - "786" + "585", + "792", + "793", + "794", + "796" ], "location": { "end": { @@ -3137,10 +3133,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3153,15 +3148,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "782", - "783", - "784", - "786" + "585", + "792", + "793", + "794", + "796" ], "location": { "end": { @@ -3183,10 +3179,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3199,15 +3194,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "782", - "783", - "784", - "786" + "585", + "792", + "793", + "794", + "796" ], "location": { "end": { @@ -3229,10 +3225,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3245,15 +3240,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "782", - "783", - "784", - "786" + "585", + "792", + "793", + "794", + "796" ], "location": { "end": { @@ -3275,10 +3271,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3291,15 +3286,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "782", - "783", - "784", - "786" + "585", + "792", + "793", + "794", + "796" ], "location": { "end": { @@ -3321,10 +3317,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "786" + "796" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3337,15 +3332,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "782", - "783", - "784", - "786" + "585", + "792", + "793", + "794", + "796" ], "location": { "end": { @@ -3367,14 +3363,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "443" + "444" ], "coveredBy": [ - "443", - "780", - "781", - "782", - "783" + "444", + "790", + "791", + "792", + "793" ], "location": { "end": { @@ -3396,14 +3392,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "780" + "790" ], "coveredBy": [ - "443", - "780", - "781", - "782", - "783" + "444", + "790", + "791", + "792", + "793" ], "location": { "end": { @@ -3425,10 +3421,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "452" + "453" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3441,14 +3436,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "784", - "785", - "786" + "585", + "794", + "795", + "796" ], "location": { "end": { @@ -3470,10 +3466,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3486,14 +3481,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "784", - "785", - "786" + "585", + "794", + "795", + "796" ], "location": { "end": { @@ -3515,10 +3511,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "452" + "453" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3531,14 +3526,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "784", - "785", - "786" + "585", + "794", + "795", + "796" ], "location": { "end": { @@ -3560,10 +3556,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "786" + "796" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3576,14 +3571,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "784", - "785", - "786" + "585", + "794", + "795", + "796" ], "location": { "end": { @@ -3605,10 +3601,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "452" + "453" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3621,14 +3616,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "784", - "785", - "786" + "585", + "794", + "795", + "796" ], "location": { "end": { @@ -3650,10 +3646,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3666,14 +3661,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "784", - "785", - "786" + "585", + "794", + "795", + "796" ], "location": { "end": { @@ -3695,10 +3691,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3711,14 +3706,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "784", - "785", - "786" + "585", + "794", + "795", + "796" ], "location": { "end": { @@ -3740,10 +3736,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3756,13 +3751,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "784", - "786" + "585", + "794", + "796" ], "location": { "end": { @@ -3784,10 +3780,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "452" + "453" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3800,13 +3795,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "784", - "786" + "585", + "794", + "796" ], "location": { "end": { @@ -3828,10 +3824,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3844,13 +3839,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "784", - "786" + "585", + "794", + "796" ], "location": { "end": { @@ -3872,10 +3868,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "784" + "794" ], "coveredBy": [ - "444", "445", "446", "447", @@ -3888,13 +3883,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "784", - "786" + "585", + "794", + "796" ], "location": { "end": { @@ -3907,34 +3903,6 @@ } } }, - { - "id": "111", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/dto/base/decorators/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": [ - "443", - "444", - "446", - "450", - "452", - "454", - "787" - ], - "location": { - "end": { - "column": 2, - "line": 20 - }, - "start": { - "column": 60, - "line": 18 - } - } - }, { "id": "112", "mutatorName": "StringLiteral", @@ -3944,16 +3912,16 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "787" + "797" ], "coveredBy": [ - "443", "444", - "446", - "450", - "452", - "454", - "787" + "445", + "447", + "449", + "453", + "455", + "797" ], "location": { "end": { @@ -4060,6 +4028,33 @@ "line": 29 } } + }, + { + "id": "111", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/dto/base/decorators/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": [ + "444", + "445", + "447", + "449", + "453", + "455", + "797" + ], + "location": { + "end": { + "column": 2, + "line": 20 + }, + "start": { + "column": 60, + "line": 18 + } + } } ], "source": "import type { ValidationOptions } from \"class-validator\";\nimport { registerDecorator } from \"class-validator\";\nimport isObject from \"isobject\";\nimport { has } from \"lodash\";\nimport { roles } from \"../../../../role/constants/role.constant\";\nimport type { ROLE_NAMES } from \"../../../../role/enums/role.enum\";\nimport { ROLE_SIDES } from \"../../../../role/enums/role.enum\";\n\nfunction doesCompositionHaveAtLeastOneWerewolf(value?: unknown): boolean {\n if (!Array.isArray(value) || value.some(player => !isObject(player) || !has(player, [\"role\", \"name\"]))) {\n return false;\n }\n const players = value as { role: { name: ROLE_NAMES } }[];\n const werewolfRoles = roles.filter(role => role.side === ROLE_SIDES.WEREWOLVES);\n return players.some(({ role }) => werewolfRoles.find(werewolfRole => role.name === werewolfRole.name));\n}\n\nfunction getCompositionHasWerewolfDefaultMessage(): string {\n return \"one of the players.role must have at least one role from `werewolves` side\";\n}\n\nfunction CompositionHasWerewolf(validationOptions?: ValidationOptions) {\n return (object: object, propertyName: string): void => {\n registerDecorator({\n name: \"CompositionHasWerewolf\",\n target: object.constructor,\n propertyName,\n options: validationOptions,\n validator: {\n validate: doesCompositionHaveAtLeastOneWerewolf,\n defaultMessage: getCompositionHasWerewolfDefaultMessage,\n },\n });\n };\n}\n\nexport { CompositionHasWerewolf, doesCompositionHaveAtLeastOneWerewolf, getCompositionHasWerewolfDefaultMessage };" @@ -4076,7 +4071,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -4090,15 +4084,16 @@ "454", "455", "456", - "737", - "738", - "739", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "747", + "748", + "749", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4120,10 +4115,9 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "443", "444", "445", "446", @@ -4137,15 +4131,16 @@ "454", "455", "456", - "737", - "738", - "739", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "747", + "748", + "749", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4167,10 +4162,9 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "443" + "444" ], "coveredBy": [ - "443", "444", "445", "446", @@ -4184,15 +4178,16 @@ "454", "455", "456", - "737", - "738", - "739", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "747", + "748", + "749", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4214,7 +4209,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -4228,15 +4222,16 @@ "454", "455", "456", - "737", - "738", - "739", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "747", + "748", + "749", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4258,7 +4253,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -4272,15 +4266,16 @@ "454", "455", "456", - "737", - "738", - "739", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "747", + "748", + "749", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4302,10 +4297,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "739" + "749" ], "coveredBy": [ - "444", "445", "446", "447", @@ -4318,13 +4312,14 @@ "454", "455", "456", - "739", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "749", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4346,10 +4341,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "739" + "749" ], "coveredBy": [ - "444", "445", "446", "447", @@ -4362,13 +4356,14 @@ "454", "455", "456", - "739", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "749", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4390,10 +4385,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -4406,13 +4400,14 @@ "454", "455", "456", - "739", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "749", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4434,13 +4429,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "737" + "747" ], "coveredBy": [ - "443", - "737", - "738", - "739" + "444", + "747", + "748", + "749" ], "location": { "end": { @@ -4462,13 +4457,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "737" + "747" ], "coveredBy": [ - "443", - "737", - "738", - "739" + "444", + "747", + "748", + "749" ], "location": { "end": { @@ -4490,7 +4485,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -4503,12 +4497,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4530,7 +4525,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -4543,12 +4537,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4570,7 +4565,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -4583,12 +4577,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4610,7 +4605,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -4623,12 +4617,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4650,7 +4645,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -4663,12 +4657,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4690,7 +4685,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -4703,12 +4697,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4730,7 +4725,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -4743,12 +4737,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4770,7 +4765,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -4783,12 +4777,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4810,10 +4805,9 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "454" + "455" ], "coveredBy": [ - "444", "445", "446", "447", @@ -4826,11 +4820,12 @@ "454", "455", "456", - "741", - "742", - "743", - "744", - "745" + "457", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4852,10 +4847,9 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "454" + "455" ], "coveredBy": [ - "444", "445", "446", "447", @@ -4868,11 +4862,12 @@ "454", "455", "456", - "741", - "742", - "743", - "744", - "745" + "457", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4894,10 +4889,9 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "743" + "753" ], "coveredBy": [ - "444", "445", "446", "447", @@ -4910,11 +4904,12 @@ "454", "455", "456", - "741", - "742", - "743", - "744", - "745" + "457", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4936,10 +4931,9 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "741" + "751" ], "coveredBy": [ - "444", "445", "446", "447", @@ -4952,11 +4946,12 @@ "454", "455", "456", - "741", - "742", - "743", - "744", - "745" + "457", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -4978,10 +4973,9 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "454" + "455" ], "coveredBy": [ - "444", "445", "446", "447", @@ -4994,11 +4988,12 @@ "454", "455", "456", - "741", - "742", - "743", - "744", - "745" + "457", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -5020,7 +5015,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -5033,12 +5027,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -5060,10 +5055,9 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "454" + "455" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5076,12 +5070,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -5103,10 +5098,9 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5119,12 +5113,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -5146,10 +5141,9 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "740" + "750" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5162,12 +5156,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -5189,10 +5184,9 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "740" + "750" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5205,12 +5199,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -5232,10 +5227,9 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "454" + "455" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5248,12 +5242,13 @@ "454", "455", "456", - "740", - "741", - "742", - "743", - "744", - "745" + "457", + "750", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -5275,10 +5270,9 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "745" + "755" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5291,11 +5285,12 @@ "454", "455", "456", - "741", - "742", - "743", - "744", - "745" + "457", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -5317,10 +5312,9 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "741" + "751" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5333,11 +5327,12 @@ "454", "455", "456", - "741", - "742", - "743", - "744", - "745" + "457", + "751", + "752", + "753", + "754", + "755" ], "location": { "end": { @@ -5359,10 +5354,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", - "453", + "444", "454", - "746" + "455", + "756" ], "location": { "end": { @@ -5384,13 +5379,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "454" + "455" ], "coveredBy": [ - "443", - "453", + "444", "454", - "746" + "455", + "756" ], "location": { "end": { @@ -5513,7 +5508,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -5527,18 +5521,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "764", - "765", - "766", - "767", - "768", - "769", - "770" + "585", + "774", + "775", + "776", + "777", + "778", + "779", + "780" ], "location": { "end": { @@ -5560,10 +5555,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "443", "444", "445", "446", @@ -5577,18 +5571,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "764", - "765", - "766", - "767", - "768", - "769", - "770" + "585", + "774", + "775", + "776", + "777", + "778", + "779", + "780" ], "location": { "end": { @@ -5610,10 +5605,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "443" + "444" ], "coveredBy": [ - "443", "444", "445", "446", @@ -5627,18 +5621,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "764", - "765", - "766", - "767", - "768", - "769", - "770" + "585", + "774", + "775", + "776", + "777", + "778", + "779", + "780" ], "location": { "end": { @@ -5660,7 +5655,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -5674,18 +5668,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "764", - "765", - "766", - "767", - "768", - "769", - "770" + "585", + "774", + "775", + "776", + "777", + "778", + "779", + "780" ], "location": { "end": { @@ -5707,7 +5702,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -5721,18 +5715,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "764", - "765", - "766", - "767", - "768", - "769", - "770" + "585", + "774", + "775", + "776", + "777", + "778", + "779", + "780" ], "location": { "end": { @@ -5754,10 +5749,9 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "766" + "776" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5770,16 +5764,17 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "766", - "767", - "768", - "769", - "770" + "585", + "776", + "777", + "778", + "779", + "780" ], "location": { "end": { @@ -5801,10 +5796,9 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "766" + "776" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5817,16 +5811,17 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "766", - "767", - "768", - "769", - "770" + "585", + "776", + "777", + "778", + "779", + "780" ], "location": { "end": { @@ -5848,10 +5843,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5864,15 +5858,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "766", - "767", - "768", - "770" + "585", + "776", + "777", + "778", + "780" ], "location": { "end": { @@ -5893,7 +5888,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -5906,15 +5900,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "766", - "767", - "768", - "770" + "585", + "776", + "777", + "778", + "780" ], "location": { "end": { @@ -5936,10 +5931,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "767" + "777" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5952,15 +5946,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "766", - "767", - "768", - "770" + "585", + "776", + "777", + "778", + "780" ], "location": { "end": { @@ -5982,10 +5977,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "770" + "780" ], "coveredBy": [ - "444", "445", "446", "447", @@ -5998,15 +5992,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "766", - "767", - "768", - "770" + "585", + "776", + "777", + "778", + "780" ], "location": { "end": { @@ -6028,10 +6023,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "770" + "780" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6044,15 +6038,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "766", - "767", - "768", - "770" + "585", + "776", + "777", + "778", + "780" ], "location": { "end": { @@ -6074,10 +6069,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "770" + "780" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6090,15 +6084,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "766", - "767", - "768", - "770" + "585", + "776", + "777", + "778", + "780" ], "location": { "end": { @@ -6120,10 +6115,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6136,15 +6130,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "766", - "767", - "768", - "770" + "585", + "776", + "777", + "778", + "780" ], "location": { "end": { @@ -6166,10 +6161,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6182,15 +6176,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "766", - "767", - "768", - "770" + "585", + "776", + "777", + "778", + "780" ], "location": { "end": { @@ -6212,14 +6207,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "443" + "444" ], "coveredBy": [ - "443", - "764", - "765", - "766", - "767" + "444", + "774", + "775", + "776", + "777" ], "location": { "end": { @@ -6241,14 +6236,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "764" + "774" ], "coveredBy": [ - "443", - "764", - "765", - "766", - "767" + "444", + "774", + "775", + "776", + "777" ], "location": { "end": { @@ -6270,10 +6265,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "450" + "451" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6286,14 +6280,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "768", - "769", - "770" + "585", + "778", + "779", + "780" ], "location": { "end": { @@ -6315,10 +6310,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "769" + "779" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6331,14 +6325,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "768", - "769", - "770" + "585", + "778", + "779", + "780" ], "location": { "end": { @@ -6360,10 +6355,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6376,14 +6370,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "768", - "769", - "770" + "585", + "778", + "779", + "780" ], "location": { "end": { @@ -6405,10 +6400,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "768" + "778" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6421,14 +6415,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "768", - "769", - "770" + "585", + "778", + "779", + "780" ], "location": { "end": { @@ -6450,10 +6445,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6466,13 +6460,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "768", - "770" + "585", + "778", + "780" ], "location": { "end": { @@ -6494,10 +6489,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "450" + "451" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6510,13 +6504,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "768", - "770" + "585", + "778", + "780" ], "location": { "end": { @@ -6538,10 +6533,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6554,13 +6548,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "768", - "770" + "585", + "778", + "780" ], "location": { "end": { @@ -6581,7 +6576,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -6594,14 +6588,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "768", - "769", - "770" + "585", + "778", + "779", + "780" ], "location": { "end": { @@ -6623,10 +6618,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6639,14 +6633,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "768", - "769", - "770" + "585", + "778", + "779", + "780" ], "location": { "end": { @@ -6668,10 +6663,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6684,14 +6678,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "768", - "769", - "770" + "585", + "778", + "779", + "780" ], "location": { "end": { @@ -6713,10 +6708,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -6729,14 +6723,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "768", - "769", - "770" + "585", + "778", + "779", + "780" ], "location": { "end": { @@ -6749,6 +6744,31 @@ } } }, + { + "id": "184", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/dto/base/decorators/composition-roles-max-in-game.decorator.ts(19,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": [ + "444", + "446", + "451", + "781" + ], + "location": { + "end": { + "column": 2, + "line": 21 + }, + "start": { + "column": 63, + "line": 19 + } + } + }, { "id": "185", "mutatorName": "StringLiteral", @@ -6758,14 +6778,13 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "450" + "451" ], "coveredBy": [ - "443", - "445", - "448", - "450", - "771" + "444", + "446", + "451", + "781" ], "location": { "end": { @@ -6872,31 +6891,6 @@ "line": 30 } } - }, - { - "id": "184", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/dto/base/decorators/composition-roles-max-in-game.decorator.ts(19,56): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "443", - "445", - "448", - "450", - "771" - ], - "location": { - "end": { - "column": 2, - "line": 21 - }, - "start": { - "column": 63, - "line": 19 - } - } } ], "source": "import type { ValidationOptions } from \"class-validator\";\nimport { registerDecorator } from \"class-validator\";\nimport isObject from \"isobject\";\nimport { has } from \"lodash\";\nimport { roles } from \"../../../../role/constants/role.constant\";\nimport type { ROLE_NAMES } from \"../../../../role/enums/role.enum\";\n\nfunction areCompositionRolesMaxInGameRespected(value?: unknown): boolean {\n if (!Array.isArray(value) || value.some(player => !isObject(player) || !has(player, [\"role\", \"name\"]))) {\n return false;\n }\n const players = value as { role: { name: ROLE_NAMES } }[];\n return roles.every(role => {\n const roleCount = players.filter(player => player.role.name === role.name).length;\n return roleCount <= role.maxInGame;\n });\n}\n\nfunction getCompositionRolesMaxInGameDefaultMessage(): string {\n return \"players.role can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\";\n}\n\nfunction CompositionRolesMaxInGame(validationOptions?: ValidationOptions) {\n return (object: object, propertyName: string): void => {\n registerDecorator({\n name: \"CompositionRolesMaxInGame\",\n target: object.constructor,\n propertyName,\n options: validationOptions,\n validator: {\n validate: areCompositionRolesMaxInGameRespected,\n defaultMessage: getCompositionRolesMaxInGameDefaultMessage,\n },\n });\n };\n}\n\nexport { CompositionRolesMaxInGame, areCompositionRolesMaxInGameRespected, getCompositionRolesMaxInGameDefaultMessage };" @@ -6913,7 +6907,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -6927,18 +6920,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "756", - "757", - "758", - "759", - "760", - "761", - "762" + "585", + "766", + "767", + "768", + "769", + "770", + "771", + "772" ], "location": { "end": { @@ -6960,10 +6954,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "761" + "771" ], "coveredBy": [ - "443", "444", "445", "446", @@ -6977,18 +6970,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "756", - "757", - "758", - "759", - "760", - "761", - "762" + "585", + "766", + "767", + "768", + "769", + "770", + "771", + "772" ], "location": { "end": { @@ -7010,10 +7004,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "443" + "444" ], "coveredBy": [ - "443", "444", "445", "446", @@ -7027,18 +7020,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "756", - "757", - "758", - "759", - "760", - "761", - "762" + "585", + "766", + "767", + "768", + "769", + "770", + "771", + "772" ], "location": { "end": { @@ -7060,7 +7054,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -7074,18 +7067,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "756", - "757", - "758", - "759", - "760", - "761", - "762" + "585", + "766", + "767", + "768", + "769", + "770", + "771", + "772" ], "location": { "end": { @@ -7107,7 +7101,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "443", "444", "445", "446", @@ -7121,18 +7114,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "756", - "757", - "758", - "759", - "760", - "761", - "762" + "585", + "766", + "767", + "768", + "769", + "770", + "771", + "772" ], "location": { "end": { @@ -7154,10 +7148,9 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "758" + "768" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7170,16 +7163,17 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "758", - "759", - "760", - "761", - "762" + "585", + "768", + "769", + "770", + "771", + "772" ], "location": { "end": { @@ -7201,10 +7195,9 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "758" + "768" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7217,16 +7210,17 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "758", - "759", - "760", - "761", - "762" + "585", + "768", + "769", + "770", + "771", + "772" ], "location": { "end": { @@ -7248,10 +7242,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "762" + "772" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7264,15 +7257,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "758", - "759", - "760", - "762" + "585", + "768", + "769", + "770", + "772" ], "location": { "end": { @@ -7294,10 +7288,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "758" + "768" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7310,15 +7303,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "758", - "759", - "760", - "762" + "585", + "768", + "769", + "770", + "772" ], "location": { "end": { @@ -7340,10 +7334,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "759" + "769" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7356,15 +7349,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "758", - "759", - "760", - "762" + "585", + "768", + "769", + "770", + "772" ], "location": { "end": { @@ -7386,10 +7380,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7402,15 +7395,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "758", - "759", - "760", - "762" + "585", + "768", + "769", + "770", + "772" ], "location": { "end": { @@ -7432,10 +7426,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7448,15 +7441,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "758", - "759", - "760", - "762" + "585", + "768", + "769", + "770", + "772" ], "location": { "end": { @@ -7478,10 +7472,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7494,15 +7487,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "758", - "759", - "760", - "762" + "585", + "768", + "769", + "770", + "772" ], "location": { "end": { @@ -7524,10 +7518,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7540,15 +7533,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "758", - "759", - "760", - "762" + "585", + "768", + "769", + "770", + "772" ], "location": { "end": { @@ -7570,10 +7564,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7586,15 +7579,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "758", - "759", - "760", - "762" + "585", + "768", + "769", + "770", + "772" ], "location": { "end": { @@ -7616,14 +7610,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "443" + "444" ], "coveredBy": [ - "443", - "756", - "757", - "758", - "759" + "444", + "766", + "767", + "768", + "769" ], "location": { "end": { @@ -7645,14 +7639,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "756" + "766" ], "coveredBy": [ - "443", - "756", - "757", - "758", - "759" + "444", + "766", + "767", + "768", + "769" ], "location": { "end": { @@ -7674,10 +7668,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "449" + "450" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7690,14 +7683,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -7719,7 +7713,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -7732,14 +7725,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -7761,7 +7755,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -7774,14 +7767,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -7803,10 +7797,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7819,14 +7812,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -7848,10 +7842,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "449" + "450" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7864,14 +7857,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -7893,10 +7887,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7909,14 +7902,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -7938,10 +7932,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7954,14 +7947,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -7983,10 +7977,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "449" + "450" ], "coveredBy": [ - "444", "445", "446", "447", @@ -7999,14 +7992,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -8028,10 +8022,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "449" + "450" ], "coveredBy": [ - "444", "445", "446", "447", @@ -8044,14 +8037,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -8073,10 +8067,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "449" + "450" ], "coveredBy": [ - "444", "445", "446", "447", @@ -8089,13 +8082,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "762" + "585", + "770", + "772" ], "location": { "end": { @@ -8117,10 +8111,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "449" + "450" ], "coveredBy": [ - "444", "445", "446", "447", @@ -8133,13 +8126,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "762" + "585", + "770", + "772" ], "location": { "end": { @@ -8161,10 +8155,9 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "449" + "450" ], "coveredBy": [ - "444", "445", "446", "447", @@ -8177,13 +8170,14 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "762" + "585", + "770", + "772" ], "location": { "end": { @@ -8204,7 +8198,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -8217,14 +8210,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -8246,10 +8240,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -8262,14 +8255,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -8291,10 +8285,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -8307,14 +8300,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -8336,10 +8330,9 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "444", "445", "446", "447", @@ -8352,14 +8345,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -8380,7 +8374,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "444", "445", "446", "447", @@ -8393,14 +8386,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "760", - "761", - "762" + "585", + "770", + "771", + "772" ], "location": { "end": { @@ -8422,21 +8416,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "762" + "772" ], "coveredBy": [ - "444", - "445", "446", - "448", + "447", "449", - "453", - "581", + "450", "582", "583", "584", - "760", - "762" + "585", + "770", + "772" ], "location": { "end": { @@ -8458,21 +8450,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "581" + "582" ], "coveredBy": [ - "444", - "445", "446", - "448", + "447", "449", - "453", - "581", + "450", "582", "583", "584", - "760", - "762" + "585", + "770", + "772" ], "location": { "end": { @@ -8494,21 +8484,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "760" + "770" ], "coveredBy": [ - "444", - "445", "446", - "448", + "447", "449", - "453", - "581", + "450", "582", "583", "584", - "760", - "762" + "585", + "770", + "772" ], "location": { "end": { @@ -8530,16 +8518,15 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "763" + "773" ], "coveredBy": [ - "443", "444", "446", - "448", + "447", "449", - "453", - "763" + "450", + "773" ], "location": { "end": { @@ -8655,13 +8642,12 @@ "status": "CompileError", "static": false, "coveredBy": [ - "443", "444", "446", - "448", + "447", "449", - "453", - "763" + "450", + "773" ], "location": { "end": { @@ -8689,7 +8675,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "431", "432", "433", "434", @@ -8698,7 +8683,7 @@ "437", "438", "439", - "444", + "440", "445", "446", "447", @@ -8711,10 +8696,11 @@ "454", "455", "456", - "858", - "859", - "860", - "861" + "457", + "874", + "875", + "876", + "877" ], "location": { "end": { @@ -8736,10 +8722,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "435" + "436" ], "coveredBy": [ - "431", "432", "433", "434", @@ -8748,7 +8733,7 @@ "437", "438", "439", - "444", + "440", "445", "446", "447", @@ -8761,10 +8746,11 @@ "454", "455", "456", - "858", - "859", - "860", - "861" + "457", + "874", + "875", + "876", + "877" ], "location": { "end": { @@ -8786,10 +8772,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "858" + "874" ], "coveredBy": [ - "431", "432", "433", "434", @@ -8798,7 +8783,7 @@ "437", "438", "439", - "444", + "440", "445", "446", "447", @@ -8811,10 +8796,11 @@ "454", "455", "456", - "858", - "859", - "860", - "861" + "457", + "874", + "875", + "876", + "877" ], "location": { "end": { @@ -8836,10 +8822,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "860" + "876" ], "coveredBy": [ - "431", "432", "433", "434", @@ -8848,7 +8833,7 @@ "437", "438", "439", - "444", + "440", "445", "446", "447", @@ -8861,10 +8846,11 @@ "454", "455", "456", - "858", - "859", - "860", - "861" + "457", + "874", + "875", + "876", + "877" ], "location": { "end": { @@ -8886,10 +8872,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "861" + "877" ], "coveredBy": [ - "431", "432", "433", "434", @@ -8898,7 +8883,7 @@ "437", "438", "439", - "444", + "440", "445", "446", "447", @@ -8911,10 +8896,11 @@ "454", "455", "456", - "858", - "859", - "860", - "861" + "457", + "874", + "875", + "876", + "877" ], "location": { "end": { @@ -8936,10 +8922,9 @@ "testsCompleted": 24, "static": false, "killedBy": [ - "435" + "436" ], "coveredBy": [ - "431", "432", "433", "434", @@ -8948,7 +8933,7 @@ "437", "438", "439", - "444", + "440", "445", "446", "447", @@ -8961,8 +8946,9 @@ "454", "455", "456", - "860", - "861" + "457", + "876", + "877" ], "location": { "end": { @@ -8984,10 +8970,9 @@ "testsCompleted": 24, "static": false, "killedBy": [ - "861" + "877" ], "coveredBy": [ - "431", "432", "433", "434", @@ -8996,7 +8981,7 @@ "437", "438", "439", - "444", + "440", "445", "446", "447", @@ -9009,8 +8994,9 @@ "454", "455", "456", - "860", - "861" + "457", + "876", + "877" ], "location": { "end": { @@ -9032,12 +9018,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "858" + "874" ], "coveredBy": [ - "858", - "859", - "860" + "874", + "875", + "876" ], "location": { "end": { @@ -9122,28 +9108,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -9156,51 +9141,52 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "795", "796", - "797", - "798", - "799", - "800", - "801", + "804", + "805", + "809", "810", "811", "812", - "813" + "813", + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -9222,31 +9208,30 @@ "testsCompleted": 77, "static": true, "killedBy": [ - "439" + "440" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -9259,51 +9244,52 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "795", "796", - "797", - "798", - "799", - "800", - "801", + "804", + "805", + "809", "810", "811", "812", - "813" + "813", + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -9325,28 +9311,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -9359,51 +9344,52 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "795", "796", - "797", - "798", - "799", - "800", - "801", + "804", + "805", + "809", "810", "811", "812", - "813" + "813", + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -9425,31 +9411,30 @@ "testsCompleted": 79, "static": true, "killedBy": [ - "795" + "811" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -9462,51 +9447,52 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "795", "796", - "797", - "798", - "799", - "800", - "801", + "804", + "805", + "809", "810", "811", "812", - "813" + "813", + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -9528,31 +9514,30 @@ "testsCompleted": 77, "static": true, "killedBy": [ - "439" + "440" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -9565,51 +9550,52 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "795", "796", - "797", - "798", - "799", - "800", - "801", + "804", + "805", + "809", "810", "811", "812", - "813" + "813", + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -9630,9 +9616,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "795", - "796", - "797" + "811", + "812", + "813" ], "location": { "end": { @@ -9654,31 +9640,30 @@ "testsCompleted": 74, "static": true, "killedBy": [ - "799" + "815" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -9691,48 +9676,49 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "798", - "799", - "800", - "801", + "796", + "804", + "805", + "809", "810", - "811", - "812", - "813" + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -9753,28 +9739,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -9787,48 +9772,49 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "798", - "799", - "800", - "801", + "796", + "804", + "805", + "809", "810", - "811", - "812", - "813" + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -9850,31 +9836,30 @@ "testsCompleted": 76, "static": true, "killedBy": [ - "799" + "815" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -9887,48 +9872,49 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "798", - "799", - "800", - "801", + "796", + "804", + "805", + "809", "810", - "811", - "812", - "813" + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -9950,31 +9936,30 @@ "testsCompleted": 76, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -9987,48 +9972,49 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "798", - "799", - "800", - "801", + "796", + "804", + "805", + "809", "810", - "811", - "812", - "813" + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -10050,28 +10036,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -10084,48 +10069,49 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "798", - "799", - "800", - "801", + "796", + "804", + "805", + "809", "810", - "811", - "812", - "813" + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -10147,28 +10133,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -10181,48 +10166,49 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "798", - "799", - "800", - "801", + "796", + "804", + "805", + "809", "810", - "811", - "812", - "813" + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -10244,28 +10230,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -10278,48 +10263,49 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "798", - "799", - "800", - "801", + "796", + "804", + "805", + "809", "810", - "811", - "812", - "813" + "814", + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -10341,7 +10327,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "798" + "814" ], "location": { "end": { @@ -10363,31 +10349,30 @@ "testsCompleted": 75, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -10400,47 +10385,48 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "799", - "800", - "801", + "796", + "804", + "805", + "809", "810", - "811", - "812", - "813" + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -10462,31 +10448,30 @@ "testsCompleted": 73, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -10499,47 +10484,48 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "799", - "800", - "801", + "796", + "804", + "805", + "809", "810", - "811", - "812", - "813" + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -10560,28 +10546,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -10594,47 +10579,48 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "603", + "585", "604", - "739", - "740", - "741", - "742", - "743", - "744", - "745", - "758", - "759", - "760", - "762", - "766", - "767", + "605", + "749", + "750", + "751", + "752", + "753", + "754", + "755", "768", + "769", "770", - "774", - "775", + "772", "776", + "777", "778", - "782", - "783", + "780", "784", + "785", "786", "788", - "789", + "792", "793", "794", - "799", - "800", - "801", + "796", + "804", + "805", + "809", "810", - "811", - "812", - "813" + "815", + "816", + "817", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -10662,28 +10648,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -10696,18 +10681,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "788", - "789", - "790", - "791", - "792", - "793", - "794" + "585", + "804", + "805", + "806", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -10729,28 +10715,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -10763,18 +10748,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "788", - "789", - "790", - "791", - "792", - "793", - "794" + "585", + "804", + "805", + "806", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -10796,31 +10782,30 @@ "testsCompleted": 46, "static": true, "killedBy": [ - "788" + "804" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -10833,18 +10818,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "788", - "789", - "790", - "791", - "792", - "793", - "794" + "585", + "804", + "805", + "806", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -10866,31 +10852,30 @@ "testsCompleted": 46, "static": true, "killedBy": [ - "788" + "804" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -10903,18 +10888,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "788", - "789", - "790", - "791", - "792", - "793", - "794" + "585", + "804", + "805", + "806", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -10936,31 +10922,30 @@ "testsCompleted": 46, "static": true, "killedBy": [ - "788" + "804" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -10973,18 +10958,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "788", - "789", - "790", - "791", - "792", - "793", - "794" + "585", + "804", + "805", + "806", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -11005,28 +10991,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11039,18 +11024,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "788", - "789", - "790", - "791", - "792", - "793", - "794" + "585", + "804", + "805", + "806", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -11072,31 +11058,30 @@ "testsCompleted": 44, "static": true, "killedBy": [ - "788" + "804" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11109,18 +11094,19 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "788", - "789", - "790", - "791", - "792", - "793", - "794" + "585", + "804", + "805", + "806", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -11142,31 +11128,30 @@ "testsCompleted": 44, "static": true, "killedBy": [ - "439" + "440" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11179,16 +11164,17 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "790", - "791", - "792", - "793", - "794" + "585", + "806", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -11210,31 +11196,30 @@ "testsCompleted": 43, "static": true, "killedBy": [ - "439" + "440" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11247,15 +11232,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "791", - "792", - "793", - "794" + "585", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -11277,31 +11263,30 @@ "testsCompleted": 43, "static": true, "killedBy": [ - "439" + "440" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11314,15 +11299,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "791", - "792", - "793", - "794" + "585", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -11344,31 +11330,30 @@ "testsCompleted": 43, "static": true, "killedBy": [ - "439" + "440" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11381,15 +11366,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "791", - "792", - "793", - "794" + "585", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -11411,31 +11397,30 @@ "testsCompleted": 43, "static": true, "killedBy": [ - "439" + "440" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11448,15 +11433,16 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "791", - "792", - "793", - "794" + "585", + "807", + "808", + "809", + "810" ], "location": { "end": { @@ -11477,10 +11463,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "788", - "789", - "790", - "791" + "804", + "805", + "806", + "807" ], "location": { "end": { @@ -11502,31 +11488,30 @@ "testsCompleted": 40, "static": true, "killedBy": [ - "439" + "440" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11539,14 +11524,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "792", - "793", - "794" + "585", + "808", + "809", + "810" ], "location": { "end": { @@ -11568,31 +11554,30 @@ "testsCompleted": 40, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11605,14 +11590,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "792", - "793", - "794" + "585", + "808", + "809", + "810" ], "location": { "end": { @@ -11633,28 +11619,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11667,14 +11652,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "792", - "793", - "794" + "585", + "808", + "809", + "810" ], "location": { "end": { @@ -11696,31 +11682,30 @@ "testsCompleted": 42, "static": true, "killedBy": [ - "792" + "808" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11733,16 +11718,17 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "792", - "793", - "794" - ], - "location": { + "585", + "808", + "809", + "810" + ], + "location": { "end": { "column": 63, "line": 16 @@ -11762,28 +11748,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11796,14 +11781,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "792", - "793", - "794" + "585", + "808", + "809", + "810" ], "location": { "end": { @@ -11825,28 +11811,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11859,14 +11844,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "792", - "793", - "794" + "585", + "808", + "809", + "810" ], "location": { "end": { @@ -11888,28 +11874,27 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "439", - "444", + "370", + "382", + "385", + "388", + "440", "445", "446", "447", @@ -11922,14 +11907,15 @@ "454", "455", "456", - "580", + "457", "581", "582", "583", "584", - "792", - "793", - "794" + "585", + "808", + "809", + "810" ], "location": { "end": { @@ -11951,7 +11937,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "792" + "808" ], "location": { "end": { @@ -11979,31 +11965,30 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "334", + "327", "335", - "338", + "336", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "391", + "370", + "382", + "385", + "388", "392", - "444", + "393", "445", "446", "447", @@ -12016,13 +12001,14 @@ "454", "455", "456", - "626", + "457", "627", - "809", - "810", - "811", - "812", - "813" + "628", + "825", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12044,34 +12030,33 @@ "testsCompleted": 40, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "334", + "327", "335", - "338", + "336", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "391", + "370", + "382", + "385", + "388", "392", - "444", + "393", "445", "446", "447", @@ -12084,13 +12069,14 @@ "454", "455", "456", - "626", + "457", "627", - "809", - "810", - "811", - "812", - "813" + "628", + "825", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12112,34 +12098,33 @@ "testsCompleted": 40, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "334", + "327", "335", - "338", + "336", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "391", + "370", + "382", + "385", + "388", "392", - "444", + "393", "445", "446", "447", @@ -12152,13 +12137,14 @@ "454", "455", "456", - "626", + "457", "627", - "809", - "810", - "811", - "812", - "813" + "628", + "825", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12180,34 +12166,33 @@ "testsCompleted": 40, "static": true, "killedBy": [ - "809" + "825" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "334", + "327", "335", - "338", + "336", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "391", + "370", + "382", + "385", + "388", "392", - "444", + "393", "445", "446", "447", @@ -12220,13 +12205,14 @@ "454", "455", "456", - "626", + "457", "627", - "809", - "810", - "811", - "812", - "813" + "628", + "825", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12248,10 +12234,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "809" + "825" ], "coveredBy": [ - "809" + "825" ], "location": { "end": { @@ -12273,34 +12259,33 @@ "testsCompleted": 39, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "334", + "327", "335", - "338", + "336", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "391", + "370", + "382", + "385", + "388", "392", - "444", + "393", "445", "446", "447", @@ -12313,12 +12298,13 @@ "454", "455", "456", - "626", + "457", "627", - "810", - "811", - "812", - "813" + "628", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12340,34 +12326,33 @@ "testsCompleted": 39, "static": true, "killedBy": [ - "453" + "454" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "334", + "327", "335", - "338", + "336", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "391", + "370", + "382", + "385", + "388", "392", - "444", + "393", "445", "446", "447", @@ -12380,12 +12365,13 @@ "454", "455", "456", - "626", + "457", "627", - "810", - "811", - "812", - "813" + "628", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12407,34 +12393,33 @@ "testsCompleted": 39, "static": true, "killedBy": [ - "453" + "454" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "334", + "327", "335", - "338", + "336", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "391", + "370", + "382", + "385", + "388", "392", - "444", + "393", "445", "446", "447", @@ -12447,12 +12432,13 @@ "454", "455", "456", - "626", + "457", "627", - "810", - "811", - "812", - "813" + "628", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12474,34 +12460,33 @@ "testsCompleted": 39, "static": true, "killedBy": [ - "453" + "454" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "334", + "327", "335", - "338", + "336", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "391", + "370", + "382", + "385", + "388", "392", - "444", + "393", "445", "446", "447", @@ -12514,12 +12499,13 @@ "454", "455", "456", - "626", + "457", "627", - "810", - "811", - "812", - "813" + "628", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12541,30 +12527,29 @@ "testsCompleted": 35, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "444", + "370", + "382", + "385", + "388", "445", "446", "447", @@ -12577,10 +12562,11 @@ "454", "455", "456", - "810", - "811", - "812", - "813" + "457", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12602,30 +12588,29 @@ "testsCompleted": 35, "static": true, "killedBy": [ - "453" + "454" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "444", + "370", + "382", + "385", + "388", "445", "446", "447", @@ -12638,10 +12623,11 @@ "454", "455", "456", - "810", - "811", - "812", - "813" + "457", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12663,30 +12649,29 @@ "testsCompleted": 35, "static": true, "killedBy": [ - "453" + "454" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "444", + "370", + "382", + "385", + "388", "445", "446", "447", @@ -12699,10 +12684,11 @@ "454", "455", "456", - "810", - "811", - "812", - "813" + "457", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12724,30 +12710,29 @@ "testsCompleted": 35, "static": true, "killedBy": [ - "810" + "826" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "444", + "370", + "382", + "385", + "388", "445", "446", "447", @@ -12760,10 +12745,11 @@ "454", "455", "456", - "810", - "811", - "812", - "813" + "457", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12785,30 +12771,29 @@ "testsCompleted": 35, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "444", + "370", + "382", + "385", + "388", "445", "446", "447", @@ -12821,10 +12806,11 @@ "454", "455", "456", - "810", - "811", - "812", - "813" + "457", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12846,27 +12832,26 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "444", + "370", + "382", + "385", + "388", "445", "446", "447", @@ -12879,10 +12864,11 @@ "454", "455", "456", - "810", - "811", - "812", - "813" + "457", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12904,30 +12890,29 @@ "testsCompleted": 35, "static": true, "killedBy": [ - "453" + "454" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "444", + "370", + "382", + "385", + "388", "445", "446", "447", @@ -12940,10 +12925,11 @@ "454", "455", "456", - "810", - "811", - "812", - "813" + "457", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -12965,30 +12951,29 @@ "testsCompleted": 35, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "444", + "370", + "382", + "385", + "388", "445", "446", "447", @@ -13001,10 +12986,11 @@ "454", "455", "456", - "810", - "811", - "812", - "813" + "457", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -13026,30 +13012,29 @@ "testsCompleted": 35, "static": true, "killedBy": [ - "453" + "454" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "444", + "370", + "382", + "385", + "388", "445", "446", "447", @@ -13062,10 +13047,11 @@ "454", "455", "456", - "810", - "811", - "812", - "813" + "457", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -13087,30 +13073,29 @@ "testsCompleted": 35, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "444", + "370", + "382", + "385", + "388", "445", "446", "447", @@ -13123,10 +13108,11 @@ "454", "455", "456", - "810", - "811", - "812", - "813" + "457", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -13148,30 +13134,29 @@ "testsCompleted": 35, "static": true, "killedBy": [ - "454" + "455" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "444", + "370", + "382", + "385", + "388", "445", "446", "447", @@ -13184,10 +13169,11 @@ "454", "455", "456", - "810", - "811", - "812", - "813" + "457", + "826", + "827", + "828", + "829" ], "location": { "end": { @@ -13209,10 +13195,9 @@ "testsCompleted": 16, "static": true, "killedBy": [ - "810" + "826" ], "coveredBy": [ - "444", "445", "446", "447", @@ -13225,9 +13210,10 @@ "454", "455", "456", - "810", - "811", - "812" + "457", + "826", + "827", + "828" ], "location": { "end": { @@ -13249,38 +13235,38 @@ "testsCompleted": 25, "static": true, "killedBy": [ - "813" + "829" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "334", + "327", "335", - "338", + "336", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "391", + "370", + "382", + "385", + "388", "392", - "455", + "393", "456", - "626", + "457", "627", - "813" + "628", + "829" ], "location": { "end": { @@ -13302,35 +13288,35 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "334", + "327", "335", - "338", + "336", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "391", + "370", + "382", + "385", + "388", "392", - "455", + "393", "456", - "626", + "457", "627", - "813" + "628", + "829" ], "location": { "end": { @@ -13352,38 +13338,38 @@ "testsCompleted": 25, "static": true, "killedBy": [ - "813" + "829" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "334", + "327", "335", - "338", + "336", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "391", + "370", + "382", + "385", + "388", "392", - "455", + "393", "456", - "626", + "457", "627", - "813" + "628", + "829" ], "location": { "end": { @@ -13405,29 +13391,29 @@ "static": true, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "455", + "370", + "382", + "385", + "388", "456", - "813" + "457", + "829" ], "location": { "end": { @@ -13449,32 +13435,32 @@ "testsCompleted": 21, "static": true, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", + "327", "339", "340", - "346", + "341", "347", - "351", + "348", "352", - "358", + "353", "359", "360", - "367", + "361", "368", "369", - "381", - "384", - "387", - "455", + "370", + "382", + "385", + "388", "456", - "813" + "457", + "829" ], "location": { "end": { @@ -13503,7 +13489,7 @@ "killedBy": [], "coveredBy": [ "171", - "638" + "639" ], "location": { "end": { @@ -13526,7 +13512,7 @@ "killedBy": [], "coveredBy": [ "171", - "638" + "639" ], "location": { "end": { @@ -13548,9 +13534,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "272", "273", - "639" + "274", + "640" ], "location": { "end": { @@ -13572,9 +13558,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "272", "273", - "639" + "274", + "640" ], "location": { "end": { @@ -13604,8 +13590,8 @@ "172", "173", "178", - "467", - "640" + "468", + "641" ], "location": { "end": { @@ -13635,8 +13621,8 @@ "172", "173", "178", - "467", - "640" + "468", + "641" ], "location": { "end": { @@ -13658,10 +13644,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "455", - "641" + "310", + "456", + "642" ], "location": { "end": { @@ -13683,10 +13669,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "455", - "641" + "310", + "456", + "642" ], "location": { "end": { @@ -13708,7 +13694,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "642" + "643" ], "location": { "end": { @@ -13730,7 +13716,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "642" + "643" ], "location": { "end": { @@ -13752,7 +13738,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "643" + "644" ], "location": { "end": { @@ -13774,7 +13760,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "643" + "644" ], "location": { "end": { @@ -13796,8 +13782,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "284", - "644" + "285", + "645" ], "location": { "end": { @@ -13819,8 +13805,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "284", - "644" + "285", + "645" ], "location": { "end": { @@ -13842,7 +13828,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "645" + "646" ], "location": { "end": { @@ -13864,7 +13850,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "645" + "646" ], "location": { "end": { @@ -13886,7 +13872,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "646" + "647" ], "location": { "end": { @@ -13908,7 +13894,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "646" + "647" ], "location": { "end": { @@ -13930,7 +13916,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "647" + "648" ], "location": { "end": { @@ -13952,7 +13938,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "647" + "648" ], "location": { "end": { @@ -13974,7 +13960,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "648" + "649" ], "location": { "end": { @@ -13996,7 +13982,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "648" + "649" ], "location": { "end": { @@ -14018,7 +14004,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "649" + "650" ], "location": { "end": { @@ -14040,7 +14026,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "649" + "650" ], "location": { "end": { @@ -14062,7 +14048,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "650" + "651" ], "location": { "end": { @@ -14084,7 +14070,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "650" + "651" ], "location": { "end": { @@ -14106,7 +14092,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "651" + "652" ], "location": { "end": { @@ -14128,7 +14114,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "651" + "652" ], "location": { "end": { @@ -14150,7 +14136,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "652" + "653" ], "location": { "end": { @@ -14172,7 +14158,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "652" + "653" ], "location": { "end": { @@ -14194,7 +14180,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "653" + "654" ], "location": { "end": { @@ -14216,7 +14202,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "653" + "654" ], "location": { "end": { @@ -14238,8 +14224,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "294", - "654" + "295", + "655" ], "location": { "end": { @@ -14261,8 +14247,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "294", - "654" + "295", + "655" ], "location": { "end": { @@ -14284,7 +14270,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "655" + "656" ], "location": { "end": { @@ -14306,7 +14292,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "655" + "656" ], "location": { "end": { @@ -14328,7 +14314,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "656" + "657" ], "location": { "end": { @@ -14350,7 +14336,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "656" + "657" ], "location": { "end": { @@ -14372,7 +14358,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "657" + "658" ], "location": { "end": { @@ -14394,7 +14380,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "657" + "658" ], "location": { "end": { @@ -14416,7 +14402,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "658" + "659" ], "location": { "end": { @@ -14438,7 +14424,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "658" + "659" ], "location": { "end": { @@ -14460,7 +14446,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "659" + "660" ], "location": { "end": { @@ -14482,7 +14468,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "659" + "660" ], "location": { "end": { @@ -14504,7 +14490,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "660" + "661" ], "location": { "end": { @@ -14526,7 +14512,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "660" + "661" ], "location": { "end": { @@ -14548,7 +14534,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "661" + "662" ], "location": { "end": { @@ -14570,7 +14556,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "661" + "662" ], "location": { "end": { @@ -14601,17 +14587,16 @@ "172", "173", "178", - "272", "273", - "284", - "294", - "308", + "274", + "285", + "295", "309", "310", - "455", + "311", "456", - "467", - "638", + "457", + "468", "639", "640", "641", @@ -14635,7 +14620,8 @@ "659", "660", "661", - "662" + "662", + "663" ], "location": { "end": { @@ -14657,7 +14643,7 @@ "testsCompleted": 44, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ "165", @@ -14669,17 +14655,16 @@ "172", "173", "178", - "272", "273", - "284", - "294", - "308", + "274", + "285", + "295", "309", "310", - "455", + "311", "456", - "467", - "638", + "457", + "468", "639", "640", "641", @@ -14703,7 +14688,8 @@ "659", "660", "661", - "662" + "662", + "663" ], "location": { "end": { @@ -14725,7 +14711,7 @@ "testsCompleted": 44, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ "165", @@ -14737,17 +14723,16 @@ "172", "173", "178", - "272", "273", - "284", - "294", - "308", + "274", + "285", + "295", "309", "310", - "455", + "311", "456", - "467", - "638", + "457", + "468", "639", "640", "641", @@ -14771,7 +14756,8 @@ "659", "660", "661", - "662" + "662", + "663" ], "location": { "end": { @@ -14799,14 +14785,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "466", "467", "468", - "683", + "469", "684", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -14828,14 +14814,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "466", "467", "468", - "683", + "469", "684", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -14857,14 +14843,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "466", "467", "468", - "683", + "469", "684", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -14886,14 +14872,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "466", "467", "468", - "683", + "469", "684", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -14915,9 +14901,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "466", - "468", - "683" + "467", + "469", + "684" ], "location": { "end": { @@ -14939,11 +14925,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", - "684", + "468", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -14965,11 +14951,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", - "684", + "468", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -14991,11 +14977,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", - "684", + "468", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -15017,11 +15003,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", - "684", + "468", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -15043,7 +15029,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "684" + "685" ], "location": { "end": { @@ -15065,11 +15051,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", - "684", + "468", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -15091,11 +15077,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", - "684", + "468", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -15117,11 +15103,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", - "684", + "468", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -15143,7 +15129,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "685" + "686" ], "location": { "end": { @@ -15165,14 +15151,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "686" + "687" ], "coveredBy": [ - "467", - "684", + "468", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -15194,14 +15180,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "686" + "687" ], "coveredBy": [ - "467", - "684", + "468", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -15223,14 +15209,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "467", - "684", + "468", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -15252,11 +15238,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", - "684", + "468", "685", "686", - "693" + "687", + "694" ], "location": { "end": { @@ -15278,14 +15264,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", "467", "468", - "687", + "469", "688", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15307,14 +15293,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", "467", "468", - "687", + "469", "688", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15336,14 +15322,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", "467", "468", - "687", + "469", "688", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15365,14 +15351,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", "467", "468", - "687", + "469", "688", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15394,8 +15380,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", - "687" + "468", + "688" ], "location": { "end": { @@ -15417,12 +15403,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", - "468", - "688", + "467", + "469", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15444,12 +15430,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", - "468", - "688", + "467", + "469", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15471,12 +15457,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", - "468", - "688", + "467", + "469", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15498,12 +15484,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", - "468", - "688", + "467", + "469", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15525,8 +15511,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", - "688" + "466", + "689" ], "location": { "end": { @@ -15548,14 +15534,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "689" + "690" ], "coveredBy": [ - "466", - "468", - "688", + "467", + "469", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15577,14 +15563,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "689" + "690" ], "coveredBy": [ - "466", - "468", - "688", + "467", + "469", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15606,14 +15592,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ - "466", - "468", - "688", + "467", + "469", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15635,12 +15621,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", - "468", - "688", + "467", + "469", "689", - "693" + "690", + "694" ], "location": { "end": { @@ -15662,14 +15648,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", "467", "468", - "690", + "469", "691", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -15691,14 +15677,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", "467", "468", - "690", + "469", "691", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -15720,14 +15706,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", "467", "468", - "690", + "469", "691", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -15749,14 +15735,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", "467", "468", - "690", + "469", "691", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -15778,11 +15764,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", "467", "468", - "690" + "469", + "691" ], "location": { "end": { @@ -15804,12 +15790,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "692" + "693" ], "coveredBy": [ - "691", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -15831,9 +15817,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "691", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -15855,12 +15841,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "691" + "692" ], "coveredBy": [ - "691", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -15882,10 +15868,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "691" + "692" ], "coveredBy": [ - "691" + "692" ], "location": { "end": { @@ -15907,11 +15893,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "465", "466", "467", "468", - "693" + "469", + "694" ], "location": { "end": { @@ -15933,13 +15919,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "693" + "694" ], "coveredBy": [ - "466", "467", "468", - "693" + "469", + "694" ], "location": { "end": { @@ -15961,13 +15947,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "693" + "694" ], "coveredBy": [ - "466", "467", "468", - "693" + "469", + "694" ], "location": { "end": { @@ -15995,25 +15981,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "528", + "469", "529", "530", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16035,28 +16021,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "467", "468", - "528", + "469", "529", "530", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16078,28 +16064,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "634" + "635" ], "coveredBy": [ - "467", "468", - "528", + "469", "529", "530", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16121,28 +16107,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "467", "468", - "528", + "469", "529", "530", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16164,28 +16150,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "528" + "529" ], "coveredBy": [ - "467", "468", - "528", + "469", "529", "530", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16207,28 +16193,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "528" + "529" ], "coveredBy": [ - "467", "468", - "528", + "469", "529", "530", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16250,28 +16236,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "528" + "529" ], "coveredBy": [ - "467", "468", - "528", + "469", "529", "530", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16293,26 +16279,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "634" + "635" ], "coveredBy": [ - "467", "468", - "530", + "469", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16334,26 +16320,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "467", "468", - "530", + "469", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16375,26 +16361,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "530" + "531" ], "coveredBy": [ - "467", "468", - "530", + "469", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16416,26 +16402,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "531" + "532" ], "coveredBy": [ - "467", "468", - "530", + "469", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16457,26 +16443,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "530" + "531" ], "coveredBy": [ - "467", "468", - "530", + "469", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16498,26 +16484,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "634" + "635" ], "coveredBy": [ - "467", "468", - "530", + "469", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16539,26 +16525,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "531" + "532" ], "coveredBy": [ - "467", "468", - "530", + "469", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16580,26 +16566,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "531" + "532" ], "coveredBy": [ - "467", "468", - "530", + "469", "531", - "566", + "532", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -16621,20 +16607,20 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "532", + "469", "533", "534", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -16656,23 +16642,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "532" + "533" ], "coveredBy": [ - "467", "468", - "532", + "469", "533", "534", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -16694,23 +16680,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "535" + "536" ], "coveredBy": [ - "467", "468", - "532", + "469", "533", "534", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -16732,23 +16718,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "467", "468", - "532", + "469", "533", "534", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -16770,23 +16756,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "532" + "533" ], "coveredBy": [ - "467", "468", - "532", + "469", "533", "534", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -16808,23 +16794,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "532" + "533" ], "coveredBy": [ - "467", "468", - "532", + "469", "533", "534", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -16846,23 +16832,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "532" + "533" ], "coveredBy": [ - "467", "468", - "532", + "469", "533", "534", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -16884,21 +16870,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "534" + "535" ], "coveredBy": [ - "467", "468", - "534", + "469", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -16920,21 +16906,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "467", "468", - "534", + "469", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -16956,21 +16942,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "534" + "535" ], "coveredBy": [ - "467", "468", - "534", + "469", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -16992,21 +16978,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "535" + "536" ], "coveredBy": [ - "467", "468", - "534", + "469", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17028,21 +17014,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "534" + "535" ], "coveredBy": [ - "467", "468", - "534", + "469", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17064,21 +17050,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "535" + "536" ], "coveredBy": [ - "467", "468", - "534", + "469", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17100,21 +17086,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "535" + "536" ], "coveredBy": [ - "467", "468", - "534", + "469", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17136,21 +17122,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "535" + "536" ], "coveredBy": [ - "467", "468", - "534", + "469", "535", - "567", - "570", + "536", + "568", "571", - "578", + "572", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17172,24 +17158,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "536", + "469", "537", "538", "539", "540", - "570", + "541", "571", - "574", + "572", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17210,24 +17196,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "536", + "469", "537", "538", "539", "540", - "570", + "541", "571", - "574", + "572", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17249,27 +17235,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "540" + "541" ], "coveredBy": [ - "467", "468", - "536", + "469", "537", "538", "539", "540", - "570", + "541", "571", - "574", + "572", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17291,27 +17277,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "536" + "537" ], "coveredBy": [ - "467", "468", - "536", + "469", "537", "538", "539", "540", - "570", + "541", "571", - "574", + "572", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17333,27 +17319,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "536" + "537" ], "coveredBy": [ - "467", "468", - "536", + "469", "537", "538", "539", "540", - "570", + "541", "571", - "574", + "572", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17375,27 +17361,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "536" + "537" ], "coveredBy": [ - "467", "468", - "536", + "469", "537", "538", "539", "540", - "570", + "541", "571", - "574", + "572", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17417,27 +17403,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "536" + "537" ], "coveredBy": [ - "467", "468", - "536", + "469", "537", "538", "539", "540", - "570", + "541", "571", - "574", + "572", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17459,13 +17445,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "538" + "539" ], "coveredBy": [ - "538", "539", "540", - "574" + "541", + "575" ], "location": { "end": { @@ -17486,10 +17472,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "538", "539", "540", - "574" + "541", + "575" ], "location": { "end": { @@ -17510,10 +17496,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "538", "539", "540", - "574" + "541", + "575" ], "location": { "end": { @@ -17535,13 +17521,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "540" + "541" ], "coveredBy": [ - "538", "539", "540", - "574" + "541", + "575" ], "location": { "end": { @@ -17563,13 +17549,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "540" + "541" ], "coveredBy": [ - "538", "539", "540", - "574" + "541", + "575" ], "location": { "end": { @@ -17591,13 +17577,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "540" + "541" ], "coveredBy": [ - "538", "539", "540", - "574" + "541", + "575" ], "location": { "end": { @@ -17619,13 +17605,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "538" + "539" ], "coveredBy": [ - "538", "539", "540", - "574" + "541", + "575" ], "location": { "end": { @@ -17647,13 +17633,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "540" + "541" ], "coveredBy": [ - "538", "539", "540", - "574" + "541", + "575" ], "location": { "end": { @@ -17675,13 +17661,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "538" + "539" ], "coveredBy": [ - "538", "539", "540", - "574" + "541", + "575" ], "location": { "end": { @@ -17703,13 +17689,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "540" + "541" ], "coveredBy": [ - "538", "539", "540", - "574" + "541", + "575" ], "location": { "end": { @@ -17731,13 +17717,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "540" + "541" ], "coveredBy": [ - "538", "539", "540", - "574" + "541", + "575" ], "location": { "end": { @@ -17759,22 +17745,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "541", + "469", "542", "543", "544", "545", - "570", + "546", "571", - "576", + "572", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17796,25 +17782,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "541" + "542" ], "coveredBy": [ - "467", "468", - "541", + "469", "542", "543", "544", "545", - "570", + "546", "571", - "576", + "572", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17836,25 +17822,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "545" + "546" ], "coveredBy": [ - "467", "468", - "541", + "469", "542", "543", "544", "545", - "570", + "546", "571", - "576", + "572", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17876,25 +17862,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "541" + "542" ], "coveredBy": [ - "467", "468", - "541", + "469", "542", "543", "544", "545", - "570", + "546", "571", - "576", + "572", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17916,25 +17902,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "541" + "542" ], "coveredBy": [ - "467", "468", - "541", + "469", "542", "543", "544", "545", - "570", + "546", "571", - "576", + "572", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17956,25 +17942,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "541" + "542" ], "coveredBy": [ - "467", "468", - "541", + "469", "542", "543", "544", "545", - "570", + "546", "571", - "576", + "572", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -17996,13 +17982,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "543" + "544" ], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18024,13 +18010,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "545" + "546" ], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18052,13 +18038,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "543" + "544" ], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18079,10 +18065,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18104,13 +18090,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "545" + "546" ], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18132,13 +18118,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "545" + "546" ], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18160,10 +18146,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18185,13 +18171,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "543" + "544" ], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18213,13 +18199,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "545" + "546" ], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18240,10 +18226,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18265,13 +18251,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "543" + "544" ], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18293,13 +18279,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "544" + "545" ], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18320,10 +18306,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18345,13 +18331,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "545" + "546" ], "coveredBy": [ - "543", "544", "545", - "576" + "546", + "577" ], "location": { "end": { @@ -18373,9 +18359,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "546", + "469", "547", "548", "549", @@ -18383,16 +18368,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -18414,12 +18400,11 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "546" + "547" ], "coveredBy": [ - "467", "468", - "546", + "469", "547", "548", "549", @@ -18427,16 +18412,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -18458,12 +18444,11 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "552" + "553" ], "coveredBy": [ - "467", "468", - "546", + "469", "547", "548", "549", @@ -18471,16 +18456,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -18502,9 +18488,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "546", + "469", "547", "548", "549", @@ -18512,16 +18497,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -18543,9 +18529,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "546", + "469", "547", "548", "549", @@ -18553,16 +18538,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -18584,9 +18570,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "546", + "469", "547", "548", "549", @@ -18594,16 +18579,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -18625,9 +18611,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "546", + "469", "547", "548", "549", @@ -18635,16 +18620,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -18666,9 +18652,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "546", + "469", "547", "548", "549", @@ -18676,16 +18661,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -18707,9 +18693,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "546", + "469", "547", "548", "549", @@ -18717,16 +18702,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -18748,9 +18734,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "546", + "469", "547", "548", "549", @@ -18758,16 +18743,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -18789,11 +18775,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "551", "552", "553", - "570", - "575" + "554", + "571", + "576" ], "location": { "end": { @@ -18815,14 +18801,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "551" + "552" ], "coveredBy": [ - "551", "552", "553", - "570", - "575" + "554", + "571", + "576" ], "location": { "end": { @@ -18844,14 +18830,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "552" + "553" ], "coveredBy": [ - "551", "552", "553", - "570", - "575" + "554", + "571", + "576" ], "location": { "end": { @@ -18873,14 +18859,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "551" + "552" ], "coveredBy": [ - "551", "552", "553", - "570", - "575" + "554", + "571", + "576" ], "location": { "end": { @@ -18902,11 +18888,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "553" + "554" ], "coveredBy": [ - "551", - "553" + "552", + "554" ], "location": { "end": { @@ -18927,8 +18913,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "551", - "553" + "552", + "554" ], "location": { "end": { @@ -18950,9 +18936,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", @@ -18961,17 +18946,18 @@ "560", "561", "562", - "571", - "573", + "563", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -18993,9 +18979,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", @@ -19004,17 +18989,18 @@ "560", "561", "562", - "571", - "573", + "563", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -19036,9 +19022,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", @@ -19047,17 +19032,18 @@ "560", "561", "562", - "571", - "573", + "563", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -19079,9 +19065,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", @@ -19090,17 +19075,18 @@ "560", "561", "562", - "571", - "573", + "563", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -19122,9 +19108,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", @@ -19133,17 +19118,18 @@ "560", "561", "562", - "571", - "573", + "563", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -19165,9 +19151,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", @@ -19176,17 +19161,18 @@ "560", "561", "562", - "571", - "573", + "563", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -19208,9 +19194,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", @@ -19219,17 +19204,18 @@ "560", "561", "562", - "571", - "573", + "563", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -19251,9 +19237,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", @@ -19262,17 +19247,18 @@ "560", "561", "562", - "571", - "573", + "563", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -19294,9 +19280,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", @@ -19305,17 +19290,18 @@ "560", "561", "562", - "571", - "573", + "563", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -19337,9 +19323,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", @@ -19348,17 +19333,18 @@ "560", "561", "562", - "571", - "573", + "563", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -19380,15 +19366,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "559" + "560" ], "coveredBy": [ - "559", "560", "561", "562", - "571", - "573" + "563", + "572", + "574" ], "location": { "end": { @@ -19410,15 +19396,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "561" + "562" ], "coveredBy": [ - "559", "560", "561", "562", - "571", - "573" + "563", + "572", + "574" ], "location": { "end": { @@ -19440,15 +19426,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "559" + "560" ], "coveredBy": [ - "559", "560", "561", "562", - "571", - "573" + "563", + "572", + "574" ], "location": { "end": { @@ -19470,23 +19456,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", "558", "559", - "574", + "560", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -19508,26 +19494,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "554" + "555" ], "coveredBy": [ - "467", "468", - "554", + "469", "555", "556", "557", "558", "559", - "574", + "560", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -19549,11 +19535,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "560", "561", "562", - "571", - "573" + "563", + "572", + "574" ], "location": { "end": { @@ -19575,9 +19561,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "563", + "469", "564", "565", "566", @@ -19586,10 +19571,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -19611,12 +19597,11 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "634" + "635" ], "coveredBy": [ - "467", "468", - "563", + "469", "564", "565", "566", @@ -19625,10 +19610,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -19650,12 +19636,11 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "634" + "635" ], "coveredBy": [ - "467", "468", - "563", + "469", "564", "565", "566", @@ -19664,10 +19649,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -19689,12 +19675,11 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "467", "468", - "563", + "469", "564", "565", "566", @@ -19703,10 +19688,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -19727,8 +19713,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", - "563", + "468", "564", "565", "566", @@ -19736,7 +19721,8 @@ "568", "569", "570", - "571" + "571", + "572" ], "location": { "end": { @@ -19758,11 +19744,10 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "467", - "563", + "468", "564", "565", "566", @@ -19770,7 +19755,8 @@ "568", "569", "570", - "571" + "571", + "572" ], "location": { "end": { @@ -19792,11 +19778,10 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "566" + "567" ], "coveredBy": [ - "467", - "563", + "468", "564", "565", "566", @@ -19804,7 +19789,8 @@ "568", "569", "570", - "571" + "571", + "572" ], "location": { "end": { @@ -19826,11 +19812,10 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "566" + "567" ], "coveredBy": [ - "467", - "563", + "468", "564", "565", "566", @@ -19838,7 +19823,8 @@ "568", "569", "570", - "571" + "571", + "572" ], "location": { "end": { @@ -19860,11 +19846,10 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "467", - "563", + "468", "564", "565", "566", @@ -19872,7 +19857,8 @@ "568", "569", "570", - "571" + "571", + "572" ], "location": { "end": { @@ -19893,8 +19879,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "563", - "564" + "564", + "565" ], "location": { "end": { @@ -19916,11 +19902,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "563", - "564" + "564", + "565" ], "location": { "end": { @@ -19942,12 +19928,11 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "467", "468", - "563", + "469", "564", "565", "566", @@ -19956,10 +19941,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -19980,9 +19966,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "563", + "469", "564", "565", "566", @@ -19991,10 +19976,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20016,12 +20002,11 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "566" + "567" ], "coveredBy": [ - "467", "468", - "563", + "469", "564", "565", "566", @@ -20030,10 +20015,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20055,12 +20041,11 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "566" + "567" ], "coveredBy": [ - "467", "468", - "564", + "469", "565", "566", "567", @@ -20068,10 +20053,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20093,12 +20079,11 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "467", "468", - "564", + "469", "565", "566", "567", @@ -20106,10 +20091,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20131,12 +20117,11 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "467", "468", - "564", + "469", "565", "566", "567", @@ -20144,10 +20129,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20169,12 +20155,11 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "467", "468", - "564", + "469", "565", "566", "567", @@ -20182,10 +20167,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20207,12 +20193,11 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "565" + "566" ], "coveredBy": [ - "467", "468", - "564", + "469", "565", "566", "567", @@ -20220,10 +20205,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20245,12 +20231,11 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "565" + "566" ], "coveredBy": [ - "467", "468", - "564", + "469", "565", "566", "567", @@ -20258,10 +20243,11 @@ "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20283,22 +20269,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "634" + "635" ], "coveredBy": [ - "467", "468", - "564", - "566", + "469", + "565", "567", "568", "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20320,21 +20306,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "467", "468", - "566", + "469", "567", "568", "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20355,18 +20341,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "566", + "469", "567", "568", "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20387,18 +20373,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "566", + "469", "567", "568", "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20420,21 +20406,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "566" + "567" ], "coveredBy": [ - "467", "468", - "566", + "469", "567", "568", "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20456,21 +20442,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "566" + "567" ], "coveredBy": [ - "467", "468", - "566", + "469", "567", "568", "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20492,21 +20478,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "467", "468", - "566", + "469", "567", "568", "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20528,21 +20514,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "566" + "567" ], "coveredBy": [ - "467", "468", - "566", + "469", "567", "568", "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20563,18 +20549,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "566", + "469", "567", "568", "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20596,21 +20582,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "634" + "635" ], "coveredBy": [ - "467", "468", - "566", + "469", "567", "568", "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20632,21 +20618,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "566" + "567" ], "coveredBy": [ - "467", "468", - "566", + "469", "567", "568", "569", "570", "571", - "631", + "572", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -20668,14 +20654,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "572", "573", "574", "575", "576", "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -20697,17 +20683,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "573" + "574" ], "coveredBy": [ - "572", "573", "574", "575", "576", "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -20729,17 +20715,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "572" + "573" ], "coveredBy": [ - "572", "573", "574", "575", "576", "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -20761,10 +20747,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "572" + "573" ], "coveredBy": [ - "572" + "573" ], "location": { "end": { @@ -20786,10 +20772,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "572" + "573" ], "coveredBy": [ - "572" + "573" ], "location": { "end": { @@ -20811,16 +20797,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "574" + "575" ], "coveredBy": [ - "573", "574", "575", "576", "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -20841,13 +20827,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "573", "574", "575", "576", "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -20869,10 +20855,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "573" + "574" ], "coveredBy": [ - "573" + "574" ], "location": { "end": { @@ -20893,7 +20879,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "573" + "574" ], "location": { "end": { @@ -20915,10 +20901,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "573" + "574" ], "coveredBy": [ - "573" + "574" ], "location": { "end": { @@ -20940,15 +20926,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "575" + "576" ], "coveredBy": [ - "574", "575", "576", "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -20970,15 +20956,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "574" + "575" ], "coveredBy": [ - "574", "575", "576", "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -21000,10 +20986,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "574" + "575" ], "coveredBy": [ - "574" + "575" ], "location": { "end": { @@ -21024,7 +21010,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "574" + "575" ], "location": { "end": { @@ -21046,14 +21032,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "576" + "577" ], "coveredBy": [ - "575", "576", "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -21075,14 +21061,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "575" + "576" ], "coveredBy": [ - "575", "576", "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -21104,10 +21090,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "575" + "576" ], "coveredBy": [ - "575" + "576" ], "location": { "end": { @@ -21129,10 +21115,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "575" + "576" ], "coveredBy": [ - "575" + "576" ], "location": { "end": { @@ -21154,10 +21140,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "575" + "576" ], "coveredBy": [ - "575" + "576" ], "location": { "end": { @@ -21179,13 +21165,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "577" + "578" ], "coveredBy": [ - "576", "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -21206,10 +21192,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "576", "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -21231,10 +21217,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "576" + "577" ], "coveredBy": [ - "576" + "577" ], "location": { "end": { @@ -21255,7 +21241,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "576" + "577" ], "location": { "end": { @@ -21277,10 +21263,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "576" + "577" ], "coveredBy": [ - "576" + "577" ], "location": { "end": { @@ -21302,12 +21288,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "578" + "579" ], "coveredBy": [ - "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -21328,9 +21314,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "577", "578", - "579" + "579", + "580" ], "location": { "end": { @@ -21352,10 +21338,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "577" + "578" ], "coveredBy": [ - "577" + "578" ], "location": { "end": { @@ -21377,10 +21363,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "577" + "578" ], "coveredBy": [ - "577" + "578" ], "location": { "end": { @@ -21401,8 +21387,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "578", - "579" + "579", + "580" ], "location": { "end": { @@ -21424,11 +21410,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "578" + "579" ], "coveredBy": [ - "578", - "579" + "579", + "580" ], "location": { "end": { @@ -21450,10 +21436,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "578" + "579" ], "coveredBy": [ - "578" + "579" ], "location": { "end": { @@ -21475,10 +21461,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "578" + "579" ], "coveredBy": [ - "578" + "579" ], "location": { "end": { @@ -21506,27 +21492,27 @@ "static": false, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", - "340", - "346", + "327", + "339", + "341", "347", - "351", + "348", "352", - "358", - "360", - "367", - "369", - "381", - "384", - "387", - "455", + "353", + "359", + "361", + "368", + "370", + "382", + "385", + "388", "456", - "469", - "470" + "457", + "470", + "471" ], "location": { "end": { @@ -21547,27 +21533,27 @@ "static": false, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", - "340", - "346", + "327", + "339", + "341", "347", - "351", + "348", "352", - "358", - "360", - "367", - "369", - "381", - "384", - "387", - "455", + "353", + "359", + "361", + "368", + "370", + "382", + "385", + "388", "456", - "469", - "470" + "457", + "470", + "471" ], "location": { "end": { @@ -21588,27 +21574,27 @@ "static": false, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", - "340", - "346", + "327", + "339", + "341", "347", - "351", + "348", "352", - "358", - "360", - "367", - "369", - "381", - "384", - "387", - "455", + "353", + "359", + "361", + "368", + "370", + "382", + "385", + "388", "456", - "469", - "470" + "457", + "470", + "471" ], "location": { "end": { @@ -21630,30 +21616,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "316" + "317" ], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", - "340", - "346", + "327", + "339", + "341", "347", - "351", + "348", "352", - "358", - "360", - "367", - "369", - "381", - "384", - "387", - "455", + "353", + "359", + "361", + "368", + "370", + "382", + "385", + "388", "456", - "469", - "470" + "457", + "470", + "471" ], "location": { "end": { @@ -21674,27 +21660,27 @@ "static": false, "killedBy": [], "coveredBy": [ - "315", "316", - "325", + "317", "326", - "338", - "340", - "346", + "327", + "339", + "341", "347", - "351", + "348", "352", - "358", - "360", - "367", - "369", - "381", - "384", - "387", - "455", + "353", + "359", + "361", + "368", + "370", + "382", + "385", + "388", "456", - "469", - "470" + "457", + "470", + "471" ], "location": { "end": { @@ -21770,65 +21756,64 @@ "199", "200", "201", - "261", "262", "263", "264", "265", - "287", + "266", "288", "289", "290", "291", - "304", + "292", "305", - "308", + "306", "309", "310", - "317", + "311", "318", "319", "320", "321", "322", - "327", + "323", "328", "329", "330", - "332", + "331", "333", - "341", + "334", "342", "343", "344", "345", - "348", + "346", "349", "350", - "353", + "351", "354", "355", "356", "357", - "375", + "358", "376", "377", "378", "379", "380", - "382", + "381", "383", - "385", + "384", "386", - "388", + "387", "389", "390", - "396", - "467", + "391", + "397", "468", - "471", + "469", "472", - "541", + "473", "542", "543", "544", @@ -21850,18 +21835,19 @@ "560", "561", "562", - "570", + "563", "571", - "573", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -21936,65 +21922,64 @@ "199", "200", "201", - "261", "262", "263", "264", "265", - "287", + "266", "288", "289", "290", "291", - "304", + "292", "305", - "308", + "306", "309", "310", - "317", + "311", "318", "319", "320", "321", "322", - "327", + "323", "328", "329", "330", - "332", + "331", "333", - "341", + "334", "342", "343", "344", "345", - "348", + "346", "349", "350", - "353", + "351", "354", "355", "356", "357", - "375", + "358", "376", "377", "378", "379", "380", - "382", + "381", "383", - "385", + "384", "386", - "388", + "387", "389", "390", - "396", - "467", + "391", + "397", "468", - "471", + "469", "472", - "541", + "473", "542", "543", "544", @@ -22016,18 +22001,19 @@ "560", "561", "562", - "570", + "563", "571", - "573", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -22044,9 +22030,13 @@ "id": "575", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"`doesJudgeRequestAnotherVote` can't be set on this current game's state\"\n\nNumber of calls: 0\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1433:43)", + "status": "Killed", + "testsCompleted": 130, "static": false, - "killedBy": [], + "killedBy": [ + "121" + ], "coveredBy": [ "25", "26", @@ -22092,73 +22082,72 @@ "199", "200", "201", - "261", "262", "263", "264", "265", - "287", + "266", "288", "289", "290", "291", - "304", + "292", "305", - "308", + "306", "309", "310", - "317", + "311", "318", "319", "320", "321", "322", - "327", + "323", "328", "329", "330", - "341", + "331", "342", "343", "344", "345", - "348", + "346", "349", "350", - "353", + "351", "354", "355", "356", "357", - "375", + "358", "376", "377", "378", "379", "380", - "382", + "381", "383", - "385", + "384", "386", - "388", + "387", "389", "390", - "467", + "391", "468", - "471", + "469", "472", - "542", + "473", "543", "544", "545", - "547", + "546", "548", "549", "550", "551", "552", "553", - "555", + "554", "556", "557", "558", @@ -22166,18 +22155,19 @@ "560", "561", "562", - "570", + "563", "571", - "573", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -22246,73 +22236,72 @@ "199", "200", "201", - "261", "262", "263", "264", "265", - "287", + "266", "288", "289", "290", "291", - "304", + "292", "305", - "308", + "306", "309", "310", - "317", + "311", "318", "319", "320", "321", "322", - "327", + "323", "328", "329", "330", - "341", + "331", "342", "343", "344", "345", - "348", + "346", "349", "350", - "353", + "351", "354", "355", "356", "357", - "375", + "358", "376", "377", "378", "379", "380", - "382", + "381", "383", - "385", + "384", "386", - "388", + "387", "389", "390", - "467", + "391", "468", - "471", + "469", "472", - "542", + "473", "543", "544", "545", - "547", + "546", "548", "549", "550", "551", "552", "553", - "555", + "554", "556", "557", "558", @@ -22320,18 +22309,19 @@ "560", "561", "562", - "570", + "563", "571", - "573", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -22353,7 +22343,7 @@ "testsCompleted": 122, "static": false, "killedBy": [ - "553" + "554" ], "coveredBy": [ "25", @@ -22400,73 +22390,72 @@ "199", "200", "201", - "261", "262", "263", "264", "265", - "287", + "266", "288", "289", "290", "291", - "304", + "292", "305", - "308", + "306", "309", "310", - "317", + "311", "318", "319", "320", "321", "322", - "327", + "323", "328", "329", "330", - "341", + "331", "342", "343", "344", "345", - "348", + "346", "349", "350", - "353", + "351", "354", "355", "356", "357", - "375", + "358", "376", "377", "378", "379", "380", - "382", + "381", "383", - "385", + "384", "386", - "388", + "387", "389", "390", - "467", + "391", "468", - "471", + "469", "472", - "542", + "473", "543", "544", "545", - "547", + "546", "548", "549", "550", "551", "552", "553", - "555", + "554", "556", "557", "558", @@ -22474,18 +22463,19 @@ "560", "561", "562", - "570", + "563", "571", - "573", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -22507,22 +22497,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "361", + "310", "362", "363", "364", "365", "366", - "370", + "367", "371", "372", "373", "374", - "376", + "375", "377", - "473", - "474" + "378", + "474", + "475" ], "location": { "end": { @@ -22543,22 +22533,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "361", + "310", "362", "363", "364", "365", "366", - "370", + "367", "371", "372", "373", "374", - "376", + "375", "377", - "473", - "474" + "378", + "474", + "475" ], "location": { "end": { @@ -22579,22 +22569,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "361", + "310", "362", "363", "364", "365", "366", - "370", + "367", "371", "372", "373", "374", - "376", + "375", "377", - "473", - "474" + "378", + "474", + "475" ], "location": { "end": { @@ -22616,25 +22606,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "361" + "362" ], "coveredBy": [ - "309", - "361", + "310", "362", "363", "364", "365", "366", - "370", + "367", "371", "372", "373", "374", - "376", + "375", "377", - "473", - "474" + "378", + "474", + "475" ], "location": { "end": { @@ -22655,22 +22645,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "361", + "310", "362", "363", "364", "365", "366", - "370", + "367", "371", "372", "373", "374", - "376", + "375", "377", - "473", - "474" + "378", + "474", + "475" ], "location": { "end": { @@ -22692,25 +22682,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "473" + "474" ], "coveredBy": [ - "309", - "361", + "310", "362", "363", "364", "365", "366", - "370", + "367", "371", "372", "373", "374", - "376", + "375", "377", - "473", - "474" + "378", + "474", + "475" ], "location": { "end": { @@ -22732,27 +22722,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "378", - "467", + "338", "468", - "475", + "469", "476", - "484", + "477", "485", "486", "487", "488", "489", - "506", + "490", "507", - "528", + "508", "529", "530", "531", @@ -22760,19 +22748,20 @@ "533", "534", "535", - "566", + "536", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -22794,30 +22783,28 @@ "testsCompleted": 41, "static": false, "killedBy": [ - "336" + "337" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "378", - "467", + "338", "468", - "475", + "469", "476", - "484", + "477", "485", "486", "487", "488", "489", - "506", + "490", "507", - "528", + "508", "529", "530", "531", @@ -22825,19 +22812,20 @@ "533", "534", "535", - "566", + "536", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -22859,30 +22847,28 @@ "testsCompleted": 41, "static": false, "killedBy": [ - "634" + "635" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "378", - "467", + "338", "468", - "475", + "469", "476", - "484", + "477", "485", "486", "487", "488", "489", - "506", + "490", "507", - "528", + "508", "529", "530", "531", @@ -22890,19 +22876,20 @@ "533", "534", "535", - "566", + "536", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -22923,43 +22910,42 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "378", - "467", + "338", "468", - "475", + "469", "476", - "485", + "477", "486", - "488", + "487", "489", - "506", + "490", "507", - "529", + "508", "530", "531", - "533", + "532", "534", "535", - "566", + "536", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -22981,46 +22967,45 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "304" + "305" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "378", - "467", + "338", "468", - "475", + "469", "476", - "485", + "477", "486", - "488", + "487", "489", - "506", + "490", "507", - "529", + "508", "530", "531", - "533", + "532", "534", "535", - "566", + "536", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -23042,46 +23027,45 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "305" + "306" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "378", - "467", + "338", "468", - "475", + "469", "476", - "485", + "477", "486", - "488", + "487", "489", - "506", + "490", "507", - "529", + "508", "530", "531", - "533", + "532", "534", "535", - "566", + "536", "567", "568", "569", "570", "571", - "577", + "572", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -23123,22 +23107,21 @@ "229", "235", "236", - "276", "277", "278", "279", "280", - "302", + "281", "303", - "465", + "304", "466", "467", "468", - "477", + "469", "478", "479", "480", - "512", + "481", "513", "514", "515", @@ -23154,26 +23137,27 @@ "525", "526", "527", - "615", + "528", "616", "617", "618", "619", "620", - "622", + "621", "623", - "684", + "624", "685", "686", - "688", + "687", "689", - "693", - "697", + "690", + "694", "698", "699", - "703", + "700", "704", - "705" + "705", + "706" ], "location": { "end": { @@ -23218,22 +23202,21 @@ "229", "235", "236", - "276", "277", "278", "279", "280", - "302", + "281", "303", - "465", + "304", "466", "467", "468", - "477", + "469", "478", "479", "480", - "512", + "481", "513", "514", "515", @@ -23249,26 +23232,27 @@ "525", "526", "527", - "615", + "528", "616", "617", "618", "619", "620", - "622", + "621", "623", - "684", + "624", "685", "686", - "688", + "687", "689", - "693", - "697", + "690", + "694", "698", "699", - "703", + "700", "704", - "705" + "705", + "706" ], "location": { "end": { @@ -23309,22 +23293,21 @@ "229", "235", "236", - "276", "277", "278", "279", "280", - "302", + "281", "303", - "465", + "304", "466", "467", "468", - "477", + "469", "478", "479", "480", - "512", + "481", "513", "514", "515", @@ -23340,23 +23323,24 @@ "525", "526", "527", - "615", + "528", "616", "617", "618", "619", "620", - "684", + "621", "685", "686", - "688", + "687", "689", - "693", - "697", + "690", + "694", "698", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -23373,9 +23357,13 @@ "id": "593", "mutatorName": "ConditionalExpression", "replacement": "false", - "status": "Timeout", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 10\n\n@@ -80,11 +80,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"0e64f2bd1758a1cd6bd636e2\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"sheriff\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"all\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": false,\n \"name\": \"Samson\",\n \"position\": 6386391562846208,\n \"role\": PlayerRole {\n@@ -97,19 +105,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"feb80104fe90e1c3dc550f3d\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": undefined,\n- \"source\": \"sheriff\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Vladimir\",\n \"position\": 2014510825078784,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:317:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "148" + ], "coveredBy": [ "148", "182", @@ -23397,22 +23385,21 @@ "229", "235", "236", - "276", "277", "278", "279", "280", - "302", + "281", "303", - "465", + "304", "466", "467", "468", - "477", + "469", "478", "479", "480", - "512", + "481", "513", "514", "515", @@ -23428,23 +23415,24 @@ "525", "526", "527", - "615", + "528", "616", "617", "618", "619", "620", - "684", + "621", "685", "686", - "688", + "687", "689", - "693", - "697", + "690", + "694", "698", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -23485,22 +23473,21 @@ "229", "235", "236", - "276", "277", "278", "279", "280", - "302", + "281", "303", - "465", + "304", "466", "467", "468", - "477", + "469", "478", "479", "480", - "512", + "481", "513", "514", "515", @@ -23516,23 +23503,24 @@ "525", "526", "527", - "615", + "528", "616", "617", "618", "619", "620", - "684", + "621", "685", "686", - "688", + "687", "689", - "693", - "697", + "690", + "694", "698", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -23561,16 +23549,15 @@ "228", "235", "236", - "276", "277", "278", "279", "280", - "302", + "281", "303", - "479", + "304", "480", - "516", + "481", "517", "518", "519", @@ -23581,7 +23568,8 @@ "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -23610,16 +23598,15 @@ "228", "235", "236", - "276", "277", "278", "279", "280", - "302", + "281", "303", - "479", + "304", "480", - "516", + "481", "517", "518", "519", @@ -23630,7 +23617,8 @@ "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -23659,16 +23647,15 @@ "228", "235", "236", - "276", "277", "278", "279", "280", - "302", + "281", "303", - "479", + "304", "480", - "516", + "481", "517", "518", "519", @@ -23679,7 +23666,8 @@ "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -23708,16 +23696,15 @@ "228", "235", "236", - "276", "277", "278", "279", "280", - "302", + "281", "303", - "479", + "304", "480", - "516", + "481", "517", "518", "519", @@ -23728,7 +23715,8 @@ "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -23751,9 +23739,9 @@ "killedBy": [], "coveredBy": [ "235", - "480", - "520", - "521" + "481", + "521", + "522" ], "location": { "end": { @@ -23775,14 +23763,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "481", "482", "483", - "619", + "484", "620", - "691", + "621", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -23804,14 +23792,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "481", "482", "483", - "619", + "484", "620", - "691", + "621", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -23832,13 +23820,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "481", - "483", - "619", + "482", + "484", "620", - "691", + "621", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -23860,16 +23848,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "691" + "692" ], "coveredBy": [ - "481", - "483", - "619", + "482", + "484", "620", - "691", + "621", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -23890,13 +23878,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "481", - "483", - "619", + "482", + "484", "620", - "691", + "621", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -23918,16 +23906,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "481" + "482" ], "coveredBy": [ - "481", - "483", - "619", + "482", + "484", "620", - "691", + "621", "692", - "693" + "693", + "694" ], "location": { "end": { @@ -23949,11 +23937,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "378", - "484", + "310", "485", - "486" + "486", + "487" ], "location": { "end": { @@ -23974,11 +23961,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "378", - "484", + "310", "485", - "486" + "486", + "487" ], "location": { "end": { @@ -23999,11 +23985,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "378", - "484", + "310", "485", - "486" + "486", + "487" ], "location": { "end": { @@ -24025,14 +24010,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "484" + "485" ], "coveredBy": [ - "309", - "378", - "484", + "310", "485", - "486" + "486", + "487" ], "location": { "end": { @@ -24054,14 +24038,13 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "484" + "485" ], "coveredBy": [ - "309", - "378", - "484", + "310", "485", - "486" + "486", + "487" ], "location": { "end": { @@ -24083,14 +24066,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "484" + "485" ], "coveredBy": [ - "309", - "378", - "484", + "310", "485", - "486" + "486", + "487" ], "location": { "end": { @@ -24112,14 +24094,13 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "484" + "485" ], "coveredBy": [ - "309", - "378", - "484", + "310", "485", - "486" + "486", + "487" ], "location": { "end": { @@ -24140,10 +24121,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "378", - "485", - "486" + "310", + "486", + "487" ], "location": { "end": { @@ -24164,10 +24144,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "378", - "485", - "486" + "310", + "486", + "487" ], "location": { "end": { @@ -24189,9 +24168,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "487", "488", - "489" + "489", + "490" ], "location": { "end": { @@ -24213,12 +24192,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "487" + "488" ], "coveredBy": [ - "487", "488", - "489" + "489", + "490" ], "location": { "end": { @@ -24240,12 +24219,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "488" + "489" ], "coveredBy": [ - "487", "488", - "489" + "489", + "490" ], "location": { "end": { @@ -24266,9 +24245,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "487", "488", - "489" + "489", + "490" ], "location": { "end": { @@ -24289,9 +24268,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "487", "488", - "489" + "489", + "490" ], "location": { "end": { @@ -24312,9 +24291,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "487", "488", - "489" + "489", + "490" ], "location": { "end": { @@ -24335,9 +24314,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "487", "488", - "489" + "489", + "490" ], "location": { "end": { @@ -24358,8 +24337,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "488", - "489" + "489", + "490" ], "location": { "end": { @@ -24381,11 +24360,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "488" + "489" ], "coveredBy": [ - "488", - "489" + "489", + "490" ], "location": { "end": { @@ -24407,12 +24386,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "490", + "469", "491", "492", - "563", + "493", "564", "565", "566", @@ -24429,10 +24407,11 @@ "577", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -24453,12 +24432,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "490", + "469", "491", "492", - "563", + "493", "564", "565", "566", @@ -24475,10 +24453,11 @@ "577", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -24500,15 +24479,14 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "572" + "573" ], "coveredBy": [ - "467", "468", - "490", + "469", "491", "492", - "563", + "493", "564", "565", "566", @@ -24525,10 +24503,11 @@ "577", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -24550,15 +24529,14 @@ "testsCompleted": 24, "static": false, "killedBy": [ - "573" + "574" ], "coveredBy": [ - "467", "468", - "490", + "469", "491", "492", - "563", + "493", "564", "565", "566", @@ -24575,10 +24553,11 @@ "577", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -24600,15 +24579,14 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "490" + "491" ], "coveredBy": [ - "467", "468", - "490", + "469", "491", "492", - "563", + "493", "564", "565", "566", @@ -24625,10 +24603,11 @@ "577", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -24650,15 +24629,14 @@ "testsCompleted": 24, "static": false, "killedBy": [ - "490" + "491" ], "coveredBy": [ - "467", "468", - "490", + "469", "491", "492", - "563", + "493", "564", "565", "566", @@ -24675,10 +24653,11 @@ "577", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -24700,15 +24679,14 @@ "testsCompleted": 24, "static": false, "killedBy": [ - "490" + "491" ], "coveredBy": [ - "467", "468", - "490", + "469", "491", "492", - "563", + "493", "564", "565", "566", @@ -24725,10 +24703,11 @@ "577", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -24750,14 +24729,13 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "491" + "492" ], "coveredBy": [ - "467", "468", - "491", + "469", "492", - "563", + "493", "564", "565", "566", @@ -24774,10 +24752,11 @@ "577", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -24799,14 +24778,13 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "572" + "573" ], "coveredBy": [ - "467", "468", - "491", + "469", "492", - "563", + "493", "564", "565", "566", @@ -24823,10 +24801,11 @@ "577", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -24848,14 +24827,13 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "492" + "493" ], "coveredBy": [ - "467", "468", - "491", + "469", "492", - "563", + "493", "564", "565", "566", @@ -24872,10 +24850,11 @@ "577", "578", "579", - "631", + "580", "632", "633", - "634" + "634", + "635" ], "location": { "end": { @@ -24888,6 +24867,55 @@ } } }, + { + "id": "634", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(59,88): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "148", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "169", + "170", + "171", + "172", + "173", + "174", + "394", + "395", + "468", + "494", + "495" + ], + "location": { + "end": { + "column": 2, + "line": 61 + }, + "start": { + "column": 107, + "line": 59 + } + } + }, { "id": "635", "mutatorName": "ArrowFunction", @@ -24923,12 +24951,11 @@ "172", "173", "174", - "393", "394", "395", - "467", - "493", - "494" + "468", + "494", + "495" ], "location": { "end": { @@ -24950,34 +24977,34 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "318", + "310", "319", "320", "321", "322", - "467", + "323", "468", - "495", + "469", "496", - "504", + "497", "505", - "536", + "506", "537", "538", "539", "540", - "570", + "541", "571", - "574", + "572", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -24999,37 +25026,37 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "574" + "575" ], "coveredBy": [ - "309", - "318", + "310", "319", "320", "321", "322", - "467", + "323", "468", - "495", + "469", "496", - "504", + "497", "505", - "536", + "506", "537", "538", "539", "540", - "570", + "541", "571", - "574", + "572", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -25051,37 +25078,37 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "322" + "323" ], "coveredBy": [ - "309", - "318", + "310", "319", "320", "321", "322", - "467", + "323", "468", - "495", + "469", "496", - "504", + "497", "505", - "536", + "506", "537", "538", "539", "540", - "570", + "541", "571", - "574", + "572", "575", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -25106,23 +25133,23 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "497", - "516", + "281", + "498", "517", "518", "519", - "521", + "520", "522", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -25146,23 +25173,23 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "497", - "516", + "281", + "498", "517", "518", "519", - "521", + "520", "522", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -25184,29 +25211,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "280" + "281" ], "coveredBy": [ "199", "200", "201", - "276", "277", "278", "279", "280", - "497", - "516", + "281", + "498", "517", "518", "519", - "521", + "520", "522", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -25228,8 +25255,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "289", - "498" + "290", + "499" ], "location": { "end": { @@ -25251,11 +25278,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "289" + "290" ], "coveredBy": [ - "289", - "498" + "290", + "499" ], "location": { "end": { @@ -25277,11 +25304,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "289" + "290" ], "coveredBy": [ - "289", - "498" + "290", + "499" ], "location": { "end": { @@ -25302,8 +25329,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "289", - "498" + "290", + "499" ], "location": { "end": { @@ -25324,8 +25351,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "289", - "498" + "290", + "499" ], "location": { "end": { @@ -25347,11 +25374,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "289" + "290" ], "coveredBy": [ - "289", - "498" + "290", + "499" ], "location": { "end": { @@ -25372,8 +25399,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "289", - "498" + "290", + "499" ], "location": { "end": { @@ -25394,8 +25421,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "289", - "498" + "290", + "499" ], "location": { "end": { @@ -25417,7 +25444,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "499" + "500" ], "location": { "end": { @@ -25438,7 +25465,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "499" + "500" ], "location": { "end": { @@ -25459,7 +25486,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "499" + "500" ], "location": { "end": { @@ -25481,10 +25508,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "499" + "500" ], "coveredBy": [ - "499" + "500" ], "location": { "end": { @@ -25506,10 +25533,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "499" + "500" ], "coveredBy": [ - "499" + "500" ], "location": { "end": { @@ -25531,10 +25558,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "499" + "500" ], "coveredBy": [ - "499" + "500" ], "location": { "end": { @@ -25556,10 +25583,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "499" + "500" ], "coveredBy": [ - "499" + "500" ], "location": { "end": { @@ -25581,10 +25608,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "499" + "500" ], "coveredBy": [ - "499" + "500" ], "location": { "end": { @@ -25606,10 +25633,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "500", - "546", + "469", + "501", "547", "548", "549", @@ -25617,16 +25643,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -25647,10 +25674,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "500", - "546", + "469", + "501", "547", "548", "549", @@ -25658,16 +25684,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -25689,13 +25716,12 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "500" + "501" ], "coveredBy": [ - "467", "468", - "500", - "546", + "469", + "501", "547", "548", "549", @@ -25703,16 +25729,17 @@ "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -25733,26 +25760,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "500", - "547", + "469", + "501", "548", "549", "550", "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -25773,26 +25800,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "500", - "547", + "469", + "501", "548", "549", "550", "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -25813,26 +25840,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "500", - "547", + "469", + "501", "548", "549", "550", "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -25853,26 +25880,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", "468", - "500", - "547", + "469", + "501", "548", "549", "550", "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -25894,29 +25921,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "500" + "501" ], "coveredBy": [ - "467", "468", - "500", - "547", + "469", + "501", "548", "549", "550", "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -25938,29 +25965,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "552" + "553" ], "coveredBy": [ - "467", "468", - "500", - "547", + "469", + "501", "548", "549", "550", "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -25982,28 +26009,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "552" + "553" ], "coveredBy": [ - "467", "468", - "500", - "547", - "549", + "469", + "501", + "548", "550", "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -26025,28 +26052,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "552" + "553" ], "coveredBy": [ - "467", "468", - "500", - "547", - "549", + "469", + "501", + "548", "550", "551", "552", "553", - "570", + "554", "571", - "575", + "572", "576", "577", "578", "579", - "631", + "580", "632", - "633" + "633", + "634" ], "location": { "end": { @@ -26068,7 +26095,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "501" + "502" ], "location": { "end": { @@ -26089,7 +26116,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "501" + "502" ], "location": { "end": { @@ -26110,7 +26137,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "501" + "502" ], "location": { "end": { @@ -26132,10 +26159,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "501" + "502" ], "coveredBy": [ - "501" + "502" ], "location": { "end": { @@ -26156,7 +26183,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "501" + "502" ], "location": { "end": { @@ -26178,10 +26205,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "501" + "502" ], "coveredBy": [ - "501" + "502" ], "location": { "end": { @@ -26202,7 +26229,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "501" + "502" ], "location": { "end": { @@ -26223,7 +26250,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "501" + "502" ], "location": { "end": { @@ -26245,10 +26272,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "501" + "502" ], "coveredBy": [ - "501" + "502" ], "location": { "end": { @@ -26269,7 +26296,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "501" + "502" ], "location": { "end": { @@ -26291,10 +26318,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "501" + "502" ], "coveredBy": [ - "501" + "502" ], "location": { "end": { @@ -26316,7 +26343,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26337,7 +26364,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26358,7 +26385,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26380,10 +26407,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "502" + "503" ], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26404,7 +26431,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26426,10 +26453,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "502" + "503" ], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26451,10 +26478,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "502" + "503" ], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26475,7 +26502,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26496,7 +26523,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26518,10 +26545,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "502" + "503" ], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26543,10 +26570,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "502" + "503" ], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26567,7 +26594,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "502" + "503" ], "location": { "end": { @@ -26589,19 +26616,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "503", + "338", + "469", "504", "505", "506", - "507" + "507", + "508" ], "location": { "end": { @@ -26623,22 +26650,22 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "504" + "505" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "503", + "338", + "469", "504", "505", "506", - "507" + "507", + "508" ], "location": { "end": { @@ -26660,22 +26687,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "503" + "504" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "503", + "338", + "469", "504", "505", "506", - "507" + "507", + "508" ], "location": { "end": { @@ -26697,19 +26724,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "503", + "338", + "469", "504", "505", "506", - "507" + "507", + "508" ], "location": { "end": { @@ -26730,7 +26757,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "503" + "504" ], "location": { "end": { @@ -26751,18 +26778,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "504", + "338", + "469", "505", "506", - "507" + "507", + "508" ], "location": { "end": { @@ -26783,18 +26810,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "504", + "338", + "469", "505", "506", - "507" + "507", + "508" ], "location": { "end": { @@ -26816,18 +26843,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "504", + "338", + "469", "505", "506", - "507" + "507", + "508" ], "location": { "end": { @@ -26848,7 +26875,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "504" + "505" ], "location": { "end": { @@ -26869,17 +26896,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "505", + "338", + "469", "506", - "507" + "507", + "508" ], "location": { "end": { @@ -26900,17 +26927,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "505", + "338", + "469", "506", - "507" + "507", + "508" ], "location": { "end": { @@ -26932,17 +26959,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "505", + "338", + "469", "506", - "507" + "507", + "508" ], "location": { "end": { @@ -26964,10 +26991,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "505" + "506" ], "coveredBy": [ - "505" + "506" ], "location": { "end": { @@ -26989,19 +27016,19 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "507" + "508" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "506", - "507" + "338", + "469", + "507", + "508" ], "location": { "end": { @@ -27023,19 +27050,19 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "506" + "507" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "506", - "507" + "338", + "469", + "507", + "508" ], "location": { "end": { @@ -27057,19 +27084,19 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "506" + "507" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468", - "506", - "507" + "338", + "469", + "507", + "508" ], "location": { "end": { @@ -27090,7 +27117,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "506" + "507" ], "location": { "end": { @@ -27112,20 +27139,20 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "395", + "311", "396", "397", - "455", + "398", "456", - "467", + "457", "468", - "508", - "509" + "469", + "509", + "510" ], "location": { "end": { @@ -27147,19 +27174,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "395", - "397", - "455", + "311", + "396", + "398", "456", - "467", + "457", "468", - "510", - "511" + "469", + "511", + "512" ], "location": { "end": { @@ -27181,8 +27208,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", - "513" + "513", + "514" ], "location": { "end": { @@ -27204,8 +27231,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", - "513" + "513", + "514" ], "location": { "end": { @@ -27227,11 +27254,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "513" + "514" ], "coveredBy": [ - "512", - "513" + "513", + "514" ], "location": { "end": { @@ -27252,8 +27279,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", - "513" + "513", + "514" ], "location": { "end": { @@ -27275,17 +27302,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "514", "515", - "615", + "516", "616", "617", "618", "619", "620", - "622", + "621", "623", - "624" + "624", + "625" ], "location": { "end": { @@ -27307,17 +27334,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "514", "515", - "615", + "516", "616", "617", "618", "619", "620", - "622", + "621", "623", - "624" + "624", + "625" ], "location": { "end": { @@ -27338,17 +27365,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "514", "515", - "615", + "516", "616", "617", "618", "619", "620", - "622", + "621", "623", - "624" + "624", + "625" ], "location": { "end": { @@ -27369,16 +27396,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "514", "515", - "615", + "516", "616", "617", "618", "619", "620", - "622", - "623" + "621", + "623", + "624" ], "location": { "end": { @@ -27395,7 +27422,7 @@ "id": "719", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(115,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(123,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -27403,11 +27430,11 @@ "199", "200", "201", - "516", "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -27431,11 +27458,11 @@ "199", "200", "201", - "516", "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -27452,7 +27479,7 @@ "id": "721", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(116,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", + "statusReason": "src/modules/game/helpers/game.helper.ts(124,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", "status": "CompileError", "static": false, "killedBy": [], @@ -27460,11 +27487,11 @@ "199", "200", "201", - "516", "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -27481,7 +27508,7 @@ "id": "722", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(118,78): 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", + "statusReason": "src/modules/game/helpers/game.helper.ts(126,78): 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", "status": "CompileError", "static": false, "killedBy": [], @@ -27489,10 +27516,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27509,7 +27536,7 @@ "id": "723", "mutatorName": "StringLiteral", "replacement": "\"\"", - "statusReason": "src/modules/game/helpers/game.helper.ts(118,80): error TS2322: Type '\"\"' is not assignable to type '\"left\" | \"right\"'.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(126,80): error TS2322: Type '\"\"' is not assignable to type '\"left\" | \"right\"'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -27517,10 +27544,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27537,7 +27564,7 @@ "id": "724", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(119,79): 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", + "statusReason": "src/modules/game/helpers/game.helper.ts(127,79): 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", "status": "CompileError", "static": false, "killedBy": [], @@ -27545,10 +27572,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27565,7 +27592,7 @@ "id": "725", "mutatorName": "StringLiteral", "replacement": "\"\"", - "statusReason": "src/modules/game/helpers/game.helper.ts(119,81): error TS2322: Type '\"\"' is not assignable to type '\"left\" | \"right\"'.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(127,81): error TS2322: Type '\"\"' is not assignable to type '\"left\" | \"right\"'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -27573,10 +27600,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27593,7 +27620,7 @@ "id": "726", "mutatorName": "MethodExpression", "replacement": "[leftAliveNeighbor, sniffedTarget, rightAliveNeighbor]", - "statusReason": "src/modules/game/helpers/game.helper.ts(121,3): error TS2322: Type 'Player | undefined' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player[]'.\nsrc/modules/game/helpers/game.helper.ts(121,42): error TS2345: Argument of type '(acc: Player[], target: Player | undefined) => (Player | undefined)[]' is not assignable to parameter of type '(previousValue: Player[], currentValue: Player | undefined, currentIndex: number, array: (Player | undefined)[]) => Player[]'.\n Type '(Player | undefined)[]' is not assignable to type 'Player[]'.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/helpers/game.helper.ts(122,67): error TS18048: 'target' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(129,3): error TS2322: Type 'Player | undefined' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player[]'.\nsrc/modules/game/helpers/game.helper.ts(129,42): error TS2345: Argument of type '(acc: Player[], target: Player | undefined) => (Player | undefined)[]' is not assignable to parameter of type '(previousValue: Player[], currentValue: Player | undefined, currentIndex: number, array: (Player | undefined)[]) => Player[]'.\n Type '(Player | undefined)[]' is not assignable to type 'Player[]'.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/helpers/game.helper.ts(130,67): error TS18048: 'target' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -27601,10 +27628,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27621,7 +27648,7 @@ "id": "727", "mutatorName": "ArrayDeclaration", "replacement": "[]", - "statusReason": "src/modules/game/helpers/game.helper.ts(120,56): error TS2677: A type predicate's type must be assignable to its parameter's type.\n Type 'Player' is not assignable to type 'never'.\nsrc/modules/game/helpers/game.helper.ts(122,74): error TS2339: Property '_id' does not exist on type 'never'.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(128,56): error TS2677: A type predicate's type must be assignable to its parameter's type.\n Type 'Player' is not assignable to type 'never'.\nsrc/modules/game/helpers/game.helper.ts(130,74): error TS2339: Property '_id' does not exist on type 'never'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -27629,10 +27656,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27649,7 +27676,7 @@ "id": "728", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/helpers/game.helper.ts(121,3): error TS2322: Type 'Player | undefined' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player[]'.\nsrc/modules/game/helpers/game.helper.ts(121,42): error TS2345: Argument of type '(acc: Player[], target: Player | undefined) => (Player | undefined)[]' is not assignable to parameter of type '(previousValue: Player[], currentValue: Player | undefined, currentIndex: number, array: (Player | undefined)[]) => Player[]'.\n Type '(Player | undefined)[]' is not assignable to type 'Player[]'.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/helpers/game.helper.ts(122,67): error TS18048: 'target' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(129,3): error TS2322: Type 'Player | undefined' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player[]'.\nsrc/modules/game/helpers/game.helper.ts(129,42): error TS2345: Argument of type '(acc: Player[], target: Player | undefined) => (Player | undefined)[]' is not assignable to parameter of type '(previousValue: Player[], currentValue: Player | undefined, currentIndex: number, array: (Player | undefined)[]) => Player[]'.\n Type '(Player | undefined)[]' is not assignable to type 'Player[]'.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/helpers/game.helper.ts(130,67): error TS18048: 'target' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -27657,10 +27684,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27688,10 +27715,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27719,10 +27746,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27739,7 +27766,7 @@ "id": "731", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(121,3): error TS2740: Type 'Player' is missing the following properties from type 'Player[]': length, pop, push, concat, and 31 more.\nsrc/modules/game/helpers/game.helper.ts(121,42): error TS2345: Argument of type '(acc: Player[], target: Player) => void' is not assignable to parameter of type '(previousValue: Player[], currentValue: Player, currentIndex: number, array: Player[]) => Player[]'.\n Type 'void' is not assignable to type 'Player[]'.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(129,3): error TS2740: Type 'Player' is missing the following properties from type 'Player[]': length, pop, push, concat, and 31 more.\nsrc/modules/game/helpers/game.helper.ts(129,42): error TS2345: Argument of type '(acc: Player[], target: Player) => void' is not assignable to parameter of type '(previousValue: Player[], currentValue: Player, currentIndex: number, array: Player[]) => Player[]'.\n Type 'void' is not assignable to type 'Player[]'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -27747,10 +27774,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27778,10 +27805,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27805,10 +27832,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27825,17 +27852,21 @@ "id": "734", "mutatorName": "ConditionalExpression", "replacement": "false", - "status": "Timeout", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -80,11 +80,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"e733d822acb587f1eb8df8ae\",\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\": \"Brad\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1256:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "200" + ], "coveredBy": [ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27863,10 +27894,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27890,10 +27921,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -27910,16 +27941,20 @@ "id": "737", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -80,11 +80,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"787ad7be6ca48b51eef914d3\",\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\": \"Bettie\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1256:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "200" + ], "coveredBy": [ "199", "200", "201", - "516", "517", - "518" + "518", + "519" ], "location": { "end": { @@ -27943,9 +27978,9 @@ "199", "200", "201", - "516", "517", - "518" + "518", + "519" ], "location": { "end": { @@ -27969,9 +28004,9 @@ "199", "200", "201", - "516", "517", - "518" + "518", + "519" ], "location": { "end": { @@ -27999,10 +28034,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -28030,10 +28065,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -28050,7 +28085,7 @@ "id": "742", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", - "statusReason": "src/modules/game/helpers/game.helper.ts(121,3): error TS2740: Type 'Player' is missing the following properties from type 'Player[]': length, pop, push, concat, and 31 more.\nsrc/modules/game/helpers/game.helper.ts(126,7): error TS2322: Type 'string' is not assignable to type 'Player'.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(129,3): error TS2740: Type 'Player' is missing the following properties from type 'Player[]': length, pop, push, concat, and 31 more.\nsrc/modules/game/helpers/game.helper.ts(134,7): error TS2322: Type 'string' is not assignable to type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -28058,10 +28093,10 @@ "199", "200", "201", - "516", "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -28078,7 +28113,7 @@ "id": "743", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(129,107): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(137,107): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -28086,22 +28121,22 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "521", + "520", "522", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28125,22 +28160,22 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "521", + "520", "522", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28157,7 +28192,7 @@ "id": "745", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/helpers/game.helper.ts(131,21): error TS2345: Argument of type '() => undefined' is not assignable to parameter of type '(a: Player, b: Player) => number'.\n Type 'undefined' is not assignable to type 'number'.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(139,21): error TS2345: Argument of type '() => undefined' is not assignable to parameter of type '(a: Player, b: Player) => number'.\n Type 'undefined' is not assignable to type 'number'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -28165,22 +28200,22 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "521", + "520", "522", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28202,26 +28237,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "522" + "523" ], "coveredBy": [ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", - "521", + "519", "522", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -28245,22 +28280,22 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "521", + "520", "522", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28277,7 +28312,7 @@ "id": "748", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(132,102): 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", + "statusReason": "src/modules/game/helpers/game.helper.ts(140,102): 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", "status": "CompileError", "static": false, "killedBy": [], @@ -28285,22 +28320,22 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "521", + "520", "522", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28324,21 +28359,21 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28362,21 +28397,21 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28398,27 +28433,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "516" + "517" ], "coveredBy": [ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28435,7 +28470,7 @@ "id": "752", "mutatorName": "StringLiteral", "replacement": "\"\"", - "statusReason": "src/modules/game/helpers/game.helper.ts(134,24): error TS2367: This comparison appears to be unintentional because the types '\"left\" | \"right\"' and '\"\"' have no overlap.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(142,24): error TS2367: This comparison appears to be unintentional because the types '\"left\" | \"right\"' and '\"\"' have no overlap.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -28443,21 +28478,21 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28481,20 +28516,20 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "523", + "520", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28516,27 +28551,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "516" + "517" ], "coveredBy": [ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28553,7 +28588,7 @@ "id": "755", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/helpers/game.helper.ts(129,107): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(137,107): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -28561,21 +28596,21 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28597,27 +28632,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "527" + "528" ], "coveredBy": [ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28641,21 +28676,21 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", "526", - "527" + "527", + "528" ], "location": { "end": { @@ -28672,7 +28707,7 @@ "id": "758", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(129,107): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(137,107): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -28680,20 +28715,20 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -28710,27 +28745,31 @@ "id": "759", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 34\n+ Received + 0\n\n@@ -1,24 +1,7 @@\n Array [\n Player {\n- \"_id\": \"fffb36b74f3450ce6fc8e813\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Brooks\",\n- \"position\": 2,\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\": \"ba3b88a77ddaa12671fd937c\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Gage\",\n@@ -29,25 +12,8 @@\n \"original\": \"villager\",\n },\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n- },\n- },\n- Player {\n- \"_id\": \"9c6fa86bc6e30faaa9e0db19\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Therese\",\n- \"position\": 0,\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 at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:439:58)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 17, "static": false, - "killedBy": [], + "killedBy": [ + "517" + ], "coveredBy": [ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -28754,20 +28793,20 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -28784,27 +28823,31 @@ "id": "761", "mutatorName": "EqualityOperator", "replacement": "currentIndex <= 0", - "status": "Timeout", + "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\": \"3ab6a4e466ea0afa9ac8ca54\",\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\": \"Jazmin\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1284:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 17, "static": false, - "killedBy": [], + "killedBy": [ + "201" + ], "coveredBy": [ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -28828,20 +28871,20 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -28863,16 +28906,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "523" + "524" ], "coveredBy": [ - "276", "277", + "278", "279", "280", - "523", + "281", "524", - "526" + "525", + "527" ], "location": { "end": { @@ -28894,16 +28938,17 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "279" + "280" ], "coveredBy": [ - "276", "277", + "278", "279", "280", - "523", + "281", "524", - "526" + "525", + "527" ], "location": { "end": { @@ -28925,26 +28970,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "516" + "517" ], "coveredBy": [ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -28968,20 +29013,20 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29005,20 +29050,20 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29042,20 +29087,20 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29076,16 +29121,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "276", "277", "278", "279", - "516", + "280", "517", "518", "519", - "522", - "526" + "520", + "523", + "527" ], "location": { "end": { @@ -29109,20 +29154,20 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29139,7 +29184,7 @@ "id": "771", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/helpers/game.helper.ts(129,107): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(137,107): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -29147,20 +29192,20 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29182,26 +29227,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "279" + "280" ], "coveredBy": [ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29225,20 +29270,20 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29260,26 +29305,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "516" + "517" ], "coveredBy": [ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", "519", - "522", + "520", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29301,25 +29346,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "524" + "525" ], "coveredBy": [ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", - "522", + "519", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29343,19 +29388,19 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", - "522", + "519", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29379,19 +29424,19 @@ "199", "200", "201", - "276", "277", "278", "279", "280", - "516", + "281", "517", "518", - "522", + "519", "523", "524", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29412,14 +29457,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "276", "277", "278", "279", "280", - "524", + "281", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29441,17 +29486,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "279" + "280" ], "coveredBy": [ - "276", "277", "278", "279", "280", - "524", + "281", "525", - "526" + "526", + "527" ], "location": { "end": { @@ -29468,7 +29513,7 @@ "id": "780", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(129,107): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/game.helper.ts(137,107): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -29476,17 +29521,17 @@ "199", "200", "201", - "276", "277", "278", - "280", - "516", + "279", + "281", "517", "518", - "522", + "519", "523", "524", - "525" + "525", + "526" ], "location": { "end": { @@ -29508,18 +29553,19 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "280" + "281" ], "coveredBy": [ - "276", "277", + "278", "279", "280", - "517", - "519", - "523", + "281", + "518", + "520", "524", - "526" + "525", + "527" ], "location": { "end": { @@ -29532,72 +29578,24 @@ } } }, - { - "id": "634", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(59,88): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "148", - "152", - "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", - "161", - "162", - "163", - "164", - "165", - "166", - "167", - "169", - "170", - "171", - "172", - "173", - "174", - "393", - "394", - "395", - "467", - "493", - "494" - ], - "location": { - "end": { - "column": 2, - "line": 61 - }, - "start": { - "column": 107, - "line": 59 - } - } - }, { "id": "782", "mutatorName": "UpdateOperator", "replacement": "count--", - "statusReason": "Hit limit reached (1607/1600)", + "statusReason": "Hit limit reached (1707/1700)", "status": "Timeout", "static": false, "coveredBy": [ - "276", "277", + "278", "279", "280", - "517", - "519", - "523", + "281", + "518", + "520", "524", - "526" + "525", + "527" ], "location": { "end": { @@ -29647,16 +29645,16 @@ "229", "235", "236", - "265", - "280", - "468", - "694", + "266", + "281", + "469", "695", "696", - "698", + "697", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -29678,7 +29676,7 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ "148", @@ -29703,16 +29701,16 @@ "229", "235", "236", - "265", - "280", - "468", - "694", + "266", + "281", + "469", "695", "696", - "698", + "697", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -29759,16 +29757,16 @@ "229", "235", "236", - "265", - "280", - "468", - "694", + "266", + "281", + "469", "695", "696", - "698", + "697", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -29815,16 +29813,16 @@ "229", "235", "236", - "265", - "280", - "468", - "694", + "266", + "281", + "469", "695", "696", - "698", + "697", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -29841,9 +29839,13 @@ "id": "787", "mutatorName": "EqualityOperator", "replacement": "player._id.toString() !== playerId.toString()", - "status": "Timeout", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 15\n+ Received + 15\n\n@@ -78,17 +78,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Object {\n \"_id\": \"e9b7cf75b65afb24cf68f2bd\",\n- \"attributes\": Array [\n- Object {\n- \"name\": \"seen\",\n- \"remainingPhases\": 1,\n- \"source\": \"seer\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Eunice\",\n \"position\": 4596217445089280,\n \"role\": Object {\n \"current\": \"werewolf\",\n@@ -99,23 +93,29 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": \"09f3de81a337da564a24d3fc\",\n- \"attributes\": Array [],\n+ \"_id\": \"e9b7cf75b65afb24cf68f2bd\",\n+ \"attributes\": Array [\n+ Object {\n+ \"name\": \"seen\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"seer\",\n+ },\n+ ],\n \"isAlive\": true,\n- \"name\": \"Clifton\",\n- \"position\": 8425035616223232,\n+ \"name\": \"Eunice\",\n+ \"position\": 4596217445089280,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"werewolf\",\n },\n \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n Object {\n \"_id\": \"15e74aadcb13f643db9fd8ad\",\n \"attributes\": Array [],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:722:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 32, "static": false, - "killedBy": [], + "killedBy": [ + "469" + ], "coveredBy": [ "148", "182", @@ -29867,16 +29869,16 @@ "229", "235", "236", - "265", - "280", - "468", - "694", + "266", + "281", + "469", "695", "696", - "698", + "697", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -29898,7 +29900,7 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "694" + "695" ], "coveredBy": [ "148", @@ -29923,16 +29925,16 @@ "229", "235", "236", - "265", - "280", - "468", - "694", + "266", + "281", + "469", "695", "696", - "698", + "697", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -29954,7 +29956,7 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ "148", @@ -29979,16 +29981,16 @@ "229", "235", "236", - "265", - "280", - "468", - "694", + "266", + "281", + "469", "695", "696", - "698", + "697", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -30010,7 +30012,7 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ "148", @@ -30035,16 +30037,16 @@ "229", "235", "236", - "265", - "280", - "468", - "694", + "266", + "281", + "469", "695", "696", - "698", + "697", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -30091,16 +30093,16 @@ "229", "235", "236", - "265", - "280", - "468", - "694", + "266", + "281", + "469", "695", "696", - "698", + "697", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -30122,7 +30124,7 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ "148", @@ -30146,15 +30148,15 @@ "228", "229", "236", - "265", - "280", - "468", - "695", + "266", + "281", + "469", "696", - "698", + "697", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -30190,11 +30192,11 @@ "222", "223", "229", - "280", - "468", - "697", + "281", + "469", "698", - "699" + "699", + "700" ], "location": { "end": { @@ -30230,11 +30232,11 @@ "222", "223", "229", - "280", - "468", - "697", + "281", + "469", "698", - "699" + "699", + "700" ], "location": { "end": { @@ -30270,11 +30272,11 @@ "222", "223", "229", - "280", - "468", - "697", + "281", + "469", "698", - "699" + "699", + "700" ], "location": { "end": { @@ -30310,11 +30312,11 @@ "222", "223", "229", - "280", - "468", - "697", + "281", + "469", "698", - "699" + "699", + "700" ], "location": { "end": { @@ -30336,7 +30338,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "697" + "698" ], "location": { "end": { @@ -30361,10 +30363,10 @@ "191", "212", "214", - "289", - "700", + "290", "701", - "702" + "702", + "703" ], "location": { "end": { @@ -30389,10 +30391,10 @@ "191", "212", "214", - "289", - "700", + "290", "701", - "702" + "702", + "703" ], "location": { "end": { @@ -30420,10 +30422,10 @@ "191", "212", "214", - "289", - "700", + "290", "701", - "702" + "702", + "703" ], "location": { "end": { @@ -30447,10 +30449,10 @@ "191", "212", "214", - "289", - "700", + "290", "701", - "702" + "702", + "703" ], "location": { "end": { @@ -30472,15 +30474,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "289" + "290" ], "coveredBy": [ "191", "212", "214", - "289", - "701", - "702" + "290", + "702", + "703" ], "location": { "end": { @@ -30503,9 +30505,9 @@ "killedBy": [], "coveredBy": [ "148", - "703", "704", - "705" + "705", + "706" ], "location": { "end": { @@ -30528,9 +30530,9 @@ "killedBy": [], "coveredBy": [ "148", - "703", "704", - "705" + "705", + "706" ], "location": { "end": { @@ -30553,9 +30555,9 @@ "killedBy": [], "coveredBy": [ "148", - "703", "704", - "705" + "705", + "706" ], "location": { "end": { @@ -30578,9 +30580,9 @@ "killedBy": [], "coveredBy": [ "148", - "703", "704", - "705" + "705", + "706" ], "location": { "end": { @@ -30602,7 +30604,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "703" + "704" ], "location": { "end": { @@ -30628,8 +30630,8 @@ ], "coveredBy": [ "148", - "704", - "705" + "705", + "706" ], "location": { "end": { @@ -30651,12 +30653,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "704" + "705" ], "coveredBy": [ "148", - "704", - "705" + "705", + "706" ], "location": { "end": { @@ -30678,8 +30680,8 @@ "killedBy": [], "coveredBy": [ "148", - "704", - "705" + "705", + "706" ], "location": { "end": { @@ -30701,8 +30703,8 @@ "killedBy": [], "coveredBy": [ "148", - "704", - "705" + "705", + "706" ], "location": { "end": { @@ -30728,8 +30730,8 @@ ], "coveredBy": [ "148", - "704", - "705" + "705", + "706" ], "location": { "end": { @@ -30759,13 +30761,13 @@ "171", "172", "173", - "272", "273", - "284", - "294", - "467", - "706", - "707" + "274", + "285", + "295", + "468", + "707", + "708" ], "location": { "end": { @@ -30788,8 +30790,8 @@ "killedBy": [], "coveredBy": [ "178", - "708", - "709" + "709", + "710" ], "location": { "end": { @@ -30817,8 +30819,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "280", - "663" + "281", + "664" ], "location": { "end": { @@ -30840,8 +30842,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "280", - "663" + "281", + "664" ], "location": { "end": { @@ -30863,7 +30865,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "664" + "665" ], "location": { "end": { @@ -30885,7 +30887,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "664" + "665" ], "location": { "end": { @@ -30908,7 +30910,7 @@ "killedBy": [], "coveredBy": [ "212", - "665" + "666" ], "location": { "end": { @@ -30931,7 +30933,7 @@ "killedBy": [], "coveredBy": [ "212", - "665" + "666" ], "location": { "end": { @@ -30954,7 +30956,7 @@ "killedBy": [], "coveredBy": [ "229", - "666" + "667" ], "location": { "end": { @@ -30977,7 +30979,7 @@ "killedBy": [], "coveredBy": [ "229", - "666" + "667" ], "location": { "end": { @@ -31000,7 +31002,7 @@ "killedBy": [], "coveredBy": [ "191", - "667" + "668" ], "location": { "end": { @@ -31023,7 +31025,7 @@ "killedBy": [], "coveredBy": [ "191", - "667" + "668" ], "location": { "end": { @@ -31046,7 +31048,7 @@ "killedBy": [], "coveredBy": [ "191", - "667" + "668" ], "location": { "end": { @@ -31072,7 +31074,7 @@ ], "coveredBy": [ "191", - "667" + "668" ], "location": { "end": { @@ -31095,12 +31097,12 @@ "killedBy": [], "coveredBy": [ "201", - "668" + "669" ], "location": { "end": { "column": 2, - "line": 62 + "line": 63 }, "start": { "column": 111, @@ -31118,12 +31120,12 @@ "killedBy": [], "coveredBy": [ "201", - "668" + "669" ], "location": { "end": { "column": 4, - "line": 61 + "line": 62 }, "start": { "column": 32, @@ -31133,56 +31135,110 @@ }, { "id": "829", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -83,11 +83,11 @@\n Player {\n \"_id\": \"caae3745e0ca153a29f43f5b\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n+ \"doesRemainAfterDeath\": false,\n \"name\": \"powerless\",\n \"remainingPhases\": undefined,\n \"source\": \"fox\",\n },\n ],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1284:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "201" + ], + "coveredBy": [ + "201", + "669" + ], + "location": { + "end": { + "column": 31, + "line": 60 + }, + "start": { + "column": 27, + "line": 60 + } + } + }, + { + "id": "830", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(64,99): 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.factory.ts(65,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": [ "239", - "264", - "289", - "669" + "265", + "290", + "670" ], "location": { "end": { "column": 2, - "line": 70 + "line": 72 }, "start": { "column": 115, - "line": 64 + "line": 65 } } }, { - "id": "830", + "id": "831", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(65,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(66,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "239", - "264", - "289", - "669" + "265", + "290", + "670" ], "location": { "end": { "column": 4, - "line": 69 + "line": 71 }, "start": { "column": 32, - "line": 65 + "line": 66 } } }, { - "id": "831", + "id": "832", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -100,11 +100,11 @@\n Player {\n \"_id\": \"73d00acf80afa8b7c93a6a23\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n+ \"doesRemainAfterDeath\": false,\n \"name\": \"powerless\",\n \"remainingPhases\": undefined,\n \"source\": \"ancient\",\n },\n ],\n@@ -142,11 +142,11 @@\n Player {\n \"_id\": \"2e1f72e0fe1646badb0ceebb\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n+ \"doesRemainAfterDeath\": false,\n \"name\": \"powerless\",\n \"remainingPhases\": undefined,\n \"source\": \"ancient\",\n },\n ],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:981:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "290" + ], + "coveredBy": [ + "239", + "265", + "290", + "670" + ], + "location": { + "end": { + "column": 31, + "line": 69 + }, + "start": { + "column": 27, + "line": 69 + } + } + }, + { + "id": "833", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(72,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -31191,26 +31247,26 @@ "killedBy": [], "coveredBy": [ "196", - "261", "262", "263", "264", "265", - "670" + "266", + "671" ], "location": { "end": { "column": 2, - "line": 78 + "line": 80 }, "start": { "column": 117, - "line": 72 + "line": 74 } } }, { - "id": "832", + "id": "834", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(73,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", @@ -31219,26 +31275,26 @@ "killedBy": [], "coveredBy": [ "196", - "261", "262", "263", "264", "265", - "670" + "266", + "671" ], "location": { "end": { "column": 4, - "line": 77 + "line": 79 }, "start": { "column": 32, - "line": 73 + "line": 75 } } }, { - "id": "833", + "id": "835", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(80,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -31247,21 +31303,21 @@ "killedBy": [], "coveredBy": [ "214", - "671" + "672" ], "location": { "end": { "column": 2, - "line": 86 + "line": 88 }, "start": { "column": 110, - "line": 80 + "line": 82 } } }, { - "id": "834", + "id": "836", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(81,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", @@ -31270,21 +31326,21 @@ "killedBy": [], "coveredBy": [ "214", - "671" + "672" ], "location": { "end": { "column": 4, - "line": 85 + "line": 87 }, "start": { "column": 32, - "line": 81 + "line": 83 } } }, { - "id": "835", + "id": "837", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(88,97): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -31293,21 +31349,21 @@ "killedBy": [], "coveredBy": [ "203", - "672" + "673" ], "location": { "end": { "column": 2, - "line": 95 + "line": 97 }, "start": { "column": 113, - "line": 88 + "line": 90 } } }, { - "id": "836", + "id": "838", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(89,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", @@ -31316,21 +31372,21 @@ "killedBy": [], "coveredBy": [ "203", - "672" + "673" ], "location": { "end": { "column": 4, - "line": 94 + "line": 96 }, "start": { "column": 32, - "line": 89 + "line": 91 } } }, { - "id": "837", + "id": "839", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(97,97): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -31339,21 +31395,21 @@ "killedBy": [], "coveredBy": [ "205", - "673" + "674" ], "location": { "end": { "column": 2, - "line": 104 + "line": 106 }, "start": { "column": 113, - "line": 97 + "line": 99 } } }, { - "id": "838", + "id": "840", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(98,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", @@ -31362,21 +31418,21 @@ "killedBy": [], "coveredBy": [ "205", - "673" + "674" ], "location": { "end": { "column": 4, - "line": 103 + "line": 105 }, "start": { "column": 32, - "line": 98 + "line": 100 } } }, { - "id": "839", + "id": "841", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(106,104): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -31386,21 +31442,21 @@ "coveredBy": [ "209", "210", - "674" + "675" ], "location": { "end": { "column": 2, - "line": 113 + "line": 115 }, "start": { "column": 120, - "line": 106 + "line": 108 } } }, { - "id": "840", + "id": "842", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(107,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", @@ -31410,21 +31466,21 @@ "coveredBy": [ "209", "210", - "674" + "675" ], "location": { "end": { "column": 4, - "line": 112 + "line": 114 }, "start": { "column": 32, - "line": 107 + "line": 109 } } }, { - "id": "841", + "id": "843", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(115,103): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -31434,21 +31490,21 @@ "coveredBy": [ "209", "210", - "675" + "676" ], "location": { "end": { "column": 2, - "line": 122 + "line": 124 }, "start": { "column": 119, - "line": 115 + "line": 117 } } }, { - "id": "842", + "id": "844", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(116,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", @@ -31458,21 +31514,21 @@ "coveredBy": [ "209", "210", - "675" + "676" ], "location": { "end": { "column": 4, - "line": 121 + "line": 123 }, "start": { "column": 32, - "line": 116 + "line": 118 } } }, { - "id": "843", + "id": "845", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(124,98): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -31481,21 +31537,21 @@ "killedBy": [], "coveredBy": [ "220", - "676" + "677" ], "location": { "end": { "column": 2, - "line": 131 + "line": 133 }, "start": { "column": 114, - "line": 124 + "line": 126 } } }, { - "id": "844", + "id": "846", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(125,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", @@ -31504,21 +31560,21 @@ "killedBy": [], "coveredBy": [ "220", - "676" + "677" ], "location": { "end": { "column": 4, - "line": 130 + "line": 132 }, "start": { "column": 32, - "line": 125 + "line": 127 } } }, { - "id": "845", + "id": "847", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(133,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -31527,21 +31583,21 @@ "killedBy": [], "coveredBy": [ "218", - "677" + "678" ], "location": { "end": { "column": 2, - "line": 140 + "line": 142 }, "start": { "column": 117, - "line": 133 + "line": 135 } } }, { - "id": "846", + "id": "848", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(134,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", @@ -31550,21 +31606,21 @@ "killedBy": [], "coveredBy": [ "218", - "677" + "678" ], "location": { "end": { "column": 4, - "line": 139 + "line": 141 }, "start": { "column": 32, - "line": 134 + "line": 136 } } }, { - "id": "847", + "id": "849", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(142,98): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -31576,21 +31632,21 @@ "223", "224", "225", - "678" + "679" ], "location": { "end": { "column": 2, - "line": 149 + "line": 151 }, "start": { "column": 114, - "line": 142 + "line": 144 } } }, { - "id": "848", + "id": "850", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(143,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", @@ -31602,21 +31658,21 @@ "223", "224", "225", - "678" + "679" ], "location": { "end": { "column": 4, - "line": 148 + "line": 150 }, "start": { "column": 32, - "line": 143 + "line": 145 } } }, { - "id": "849", + "id": "851", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(151,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -31625,22 +31681,22 @@ "killedBy": [], "coveredBy": [ "216", - "468", - "679" + "469", + "680" ], "location": { "end": { "column": 2, - "line": 158 + "line": 160 }, "start": { "column": 107, - "line": 151 + "line": 153 } } }, { - "id": "850", + "id": "852", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(152,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", @@ -31649,117 +31705,161 @@ "killedBy": [], "coveredBy": [ "216", - "468", - "679" + "469", + "680" ], "location": { "end": { "column": 4, - "line": 157 + "line": 159 }, "start": { "column": 32, - "line": 152 + "line": 154 } } }, { - "id": "851", + "id": "853", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(160,97): 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.factory.ts(162,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": [ "148", - "680" + "681" ], "location": { "end": { "column": 2, - "line": 166 + "line": 169 }, "start": { "column": 113, - "line": 160 + "line": 162 } } }, { - "id": "852", + "id": "854", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(161,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(163,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "148", - "680" + "681" ], "location": { "end": { "column": 4, - "line": 165 + "line": 168 }, "start": { "column": 32, - "line": 161 + "line": 163 } } }, { - "id": "853", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(168,93): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "855", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "182", + "148", "681" ], "location": { "end": { - "column": 2, - "line": 174 + "column": 31, + "line": 166 }, "start": { - "column": 109, - "line": 168 + "column": 27, + "line": 166 } } }, { - "id": "854", + "id": "856", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(171,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": [ + "182", + "682" + ], + "location": { + "end": { + "column": 2, + "line": 178 + }, + "start": { + "column": 109, + "line": 171 + } + } + }, + { + "id": "857", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(169,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(172,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerAttribute'.\n Type '{}' is missing the following properties from type 'PlayerAttribute': name, source\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "182", - "681" + "682" ], "location": { "end": { "column": 4, - "line": 173 + "line": 177 }, "start": { "column": 32, - "line": 169 + "line": 172 } } }, { - "id": "855", + "id": "858", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "182", + "682" + ], + "location": { + "end": { + "column": 31, + "line": 175 + }, + "start": { + "column": 27, + "line": 175 + } + } + }, + { + "id": "859", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.factory.ts(176,67): 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.factory.ts(180,67): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -31784,15 +31884,14 @@ "225", "229", "239", - "261", "262", "263", "264", "265", - "280", - "289", - "468", - "663", + "266", + "281", + "290", + "469", "664", "665", "666", @@ -31812,416 +31911,984 @@ "680", "681", "682", - "698", + "683", "699", - "701", - "702" + "700", + "702", + "703" ], "location": { "end": { "column": 2, - "line": 178 + "line": 182 }, "start": { "column": 83, - "line": 176 + "line": 180 } } } ], - "source": "import { plainToInstance } from \"class-transformer\";\nimport { plainToInstanceDefaultOptions } from \"../../../../../shared/validation/constants/validation.constant\";\nimport { ROLE_NAMES } from \"../../../../role/enums/role.enum\";\nimport { GAME_PHASES } from \"../../../enums/game.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../../../enums/player.enum\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport { PlayerAttribute } from \"../../../schemas/player/player-attribute/player-attribute.schema\";\n\nfunction createContaminatedByRustySwordKnightPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CONTAMINATED,\n source: ROLE_NAMES.RUSTY_SWORD_KNIGHT,\n remainingPhases: 2,\n ...playerAttribute,\n });\n}\n\nfunction createGrowledByBearTamerPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.GROWLED,\n source: ROLE_NAMES.BEAR_TAMER,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createCharmedByPiedPiperPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CHARMED,\n source: ROLE_NAMES.PIED_PIPER,\n ...playerAttribute,\n });\n}\n\nfunction createCantVoteByAllPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CANT_VOTE,\n source: PLAYER_GROUPS.ALL,\n ...playerAttribute,\n });\n}\n\nfunction createCantVoteByScapegoatPlayerAttribute(game: Game, playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CANT_VOTE,\n source: ROLE_NAMES.SCAPEGOAT,\n remainingPhases: 2,\n activeAt: {\n turn: game.turn + 1,\n phase: GAME_PHASES.DAY,\n },\n ...playerAttribute,\n });\n}\n\nfunction createPowerlessByFoxPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.POWERLESS,\n source: ROLE_NAMES.FOX,\n ...playerAttribute,\n });\n}\n\nfunction createPowerlessByAncientPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.POWERLESS,\n source: ROLE_NAMES.ANCIENT,\n ...playerAttribute,\n });\n}\n\nfunction createWorshipedByWildChildPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.WORSHIPED,\n source: ROLE_NAMES.WILD_CHILD,\n ...playerAttribute,\n });\n}\n\nfunction createInLoveByCupidPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.IN_LOVE,\n source: ROLE_NAMES.CUPID,\n ...playerAttribute,\n });\n}\n\nfunction createRavenMarkByRavenPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.RAVEN_MARKED,\n source: ROLE_NAMES.RAVEN,\n remainingPhases: 2,\n ...playerAttribute,\n });\n}\n\nfunction createProtectedByGuardPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.PROTECTED,\n source: ROLE_NAMES.GUARD,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createDrankDeathPotionByWitchPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.DRANK_DEATH_POTION,\n source: ROLE_NAMES.WITCH,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createDrankLifePotionByWitchPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.DRANK_LIFE_POTION,\n source: ROLE_NAMES.WITCH,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createEatenByBigBadWolfPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: ROLE_NAMES.BIG_BAD_WOLF,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createEatenByWhiteWerewolfPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: ROLE_NAMES.WHITE_WEREWOLF,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createEatenByWerewolvesPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: PLAYER_GROUPS.WEREWOLVES,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createSeenBySeerPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SEEN,\n source: ROLE_NAMES.SEER,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createSheriffBySheriffPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n source: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n ...playerAttribute,\n });\n}\n\nfunction createSheriffByAllPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n source: PLAYER_GROUPS.ALL,\n ...playerAttribute,\n });\n}\n\nfunction createPlayerAttribute(playerAttribute: PlayerAttribute): PlayerAttribute {\n return plainToInstance(PlayerAttribute, playerAttribute, plainToInstanceDefaultOptions);\n}\n\nexport {\n createContaminatedByRustySwordKnightPlayerAttribute,\n createGrowledByBearTamerPlayerAttribute,\n createCharmedByPiedPiperPlayerAttribute,\n createCantVoteByAllPlayerAttribute,\n createCantVoteByScapegoatPlayerAttribute,\n createPowerlessByFoxPlayerAttribute,\n createPowerlessByAncientPlayerAttribute,\n createWorshipedByWildChildPlayerAttribute,\n createInLoveByCupidPlayerAttribute,\n createRavenMarkByRavenPlayerAttribute,\n createProtectedByGuardPlayerAttribute,\n createDrankDeathPotionByWitchPlayerAttribute,\n createDrankLifePotionByWitchPlayerAttribute,\n createEatenByBigBadWolfPlayerAttribute,\n createEatenByWhiteWerewolfPlayerAttribute,\n createEatenByWerewolvesPlayerAttribute,\n createSeenBySeerPlayerAttribute,\n createSheriffBySheriffPlayerAttribute,\n createSheriffByAllPlayerAttribute,\n createPlayerAttribute,\n};" + "source": "import { plainToInstance } from \"class-transformer\";\nimport { plainToInstanceDefaultOptions } from \"../../../../../shared/validation/constants/validation.constant\";\nimport { ROLE_NAMES } from \"../../../../role/enums/role.enum\";\nimport { GAME_PHASES } from \"../../../enums/game.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../../../enums/player.enum\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport { PlayerAttribute } from \"../../../schemas/player/player-attribute/player-attribute.schema\";\n\nfunction createContaminatedByRustySwordKnightPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CONTAMINATED,\n source: ROLE_NAMES.RUSTY_SWORD_KNIGHT,\n remainingPhases: 2,\n ...playerAttribute,\n });\n}\n\nfunction createGrowledByBearTamerPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.GROWLED,\n source: ROLE_NAMES.BEAR_TAMER,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createCharmedByPiedPiperPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CHARMED,\n source: ROLE_NAMES.PIED_PIPER,\n ...playerAttribute,\n });\n}\n\nfunction createCantVoteByAllPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CANT_VOTE,\n source: PLAYER_GROUPS.ALL,\n ...playerAttribute,\n });\n}\n\nfunction createCantVoteByScapegoatPlayerAttribute(game: Game, playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CANT_VOTE,\n source: ROLE_NAMES.SCAPEGOAT,\n remainingPhases: 2,\n activeAt: {\n turn: game.turn + 1,\n phase: GAME_PHASES.DAY,\n },\n ...playerAttribute,\n });\n}\n\nfunction createPowerlessByFoxPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.POWERLESS,\n source: ROLE_NAMES.FOX,\n doesRemainAfterDeath: true,\n ...playerAttribute,\n });\n}\n\nfunction createPowerlessByAncientPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.POWERLESS,\n source: ROLE_NAMES.ANCIENT,\n doesRemainAfterDeath: true,\n ...playerAttribute,\n });\n}\n\nfunction createWorshipedByWildChildPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.WORSHIPED,\n source: ROLE_NAMES.WILD_CHILD,\n ...playerAttribute,\n });\n}\n\nfunction createInLoveByCupidPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.IN_LOVE,\n source: ROLE_NAMES.CUPID,\n ...playerAttribute,\n });\n}\n\nfunction createRavenMarkByRavenPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.RAVEN_MARKED,\n source: ROLE_NAMES.RAVEN,\n remainingPhases: 2,\n ...playerAttribute,\n });\n}\n\nfunction createProtectedByGuardPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.PROTECTED,\n source: ROLE_NAMES.GUARD,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createDrankDeathPotionByWitchPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.DRANK_DEATH_POTION,\n source: ROLE_NAMES.WITCH,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createDrankLifePotionByWitchPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.DRANK_LIFE_POTION,\n source: ROLE_NAMES.WITCH,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createEatenByBigBadWolfPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: ROLE_NAMES.BIG_BAD_WOLF,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createEatenByWhiteWerewolfPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: ROLE_NAMES.WHITE_WEREWOLF,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createEatenByWerewolvesPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: PLAYER_GROUPS.WEREWOLVES,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createSeenBySeerPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SEEN,\n source: ROLE_NAMES.SEER,\n remainingPhases: 1,\n ...playerAttribute,\n });\n}\n\nfunction createSheriffBySheriffPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n source: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n doesRemainAfterDeath: true,\n ...playerAttribute,\n });\n}\n\nfunction createSheriffByAllPlayerAttribute(playerAttribute: Partial = {}): PlayerAttribute {\n return createPlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n source: PLAYER_GROUPS.ALL,\n doesRemainAfterDeath: true,\n ...playerAttribute,\n });\n}\n\nfunction createPlayerAttribute(playerAttribute: PlayerAttribute): PlayerAttribute {\n return plainToInstance(PlayerAttribute, playerAttribute, plainToInstanceDefaultOptions);\n}\n\nexport {\n createContaminatedByRustySwordKnightPlayerAttribute,\n createGrowledByBearTamerPlayerAttribute,\n createCharmedByPiedPiperPlayerAttribute,\n createCantVoteByAllPlayerAttribute,\n createCantVoteByScapegoatPlayerAttribute,\n createPowerlessByFoxPlayerAttribute,\n createPowerlessByAncientPlayerAttribute,\n createWorshipedByWildChildPlayerAttribute,\n createInLoveByCupidPlayerAttribute,\n createRavenMarkByRavenPlayerAttribute,\n createProtectedByGuardPlayerAttribute,\n createDrankDeathPotionByWitchPlayerAttribute,\n createDrankLifePotionByWitchPlayerAttribute,\n createEatenByBigBadWolfPlayerAttribute,\n createEatenByWhiteWerewolfPlayerAttribute,\n createEatenByWerewolvesPlayerAttribute,\n createSeenBySeerPlayerAttribute,\n createSheriffBySheriffPlayerAttribute,\n createSheriffByAllPlayerAttribute,\n createPlayerAttribute,\n};" }, - "src/modules/game/helpers/player/player-death/player-death.factory.ts": { + "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts": { "language": "typescript", "mutants": [ { - "id": "856", + "id": "860", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(7,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-attribute/player-attribute.helper.ts(5,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": [ - "710" + "716", + "718", + "719", + "798", + "799", + "800", + "801", + "802", + "803" ], "location": { "end": { "column": 2, - "line": 13 + "line": 8 }, "start": { - "column": 106, - "line": 7 + "column": 86, + "line": 5 } } }, { - "id": "857", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(8,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", + "id": "861", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:19:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "799" + ], "coveredBy": [ - "710" + "716", + "718", + "719", + "798", + "799", + "800", + "801", + "802", + "803" ], "location": { "end": { - "column": 4, - "line": 12 + "column": 101, + "line": 7 }, "start": { - "column": 28, - "line": 8 + "column": 10, + "line": 6 } } }, { - "id": "858", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(15,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "862", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n PlayerAttribute {\n \"activeAt\": undefined,\n \"name\": \"powerless\",\n- \"remainingPhases\": 2,\n+ \"remainingPhases\": 3,\n \"source\": \"ancient\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:44:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "716" + ], "coveredBy": [ - "269", - "711" + "716", + "718", + "719", + "798", + "799", + "800", + "801", + "802", + "803" ], "location": { "end": { - "column": 2, - "line": 21 + "column": 101, + "line": 7 }, "start": { - "column": 99, - "line": 15 + "column": 10, + "line": 6 } } }, { - "id": "859", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(16,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", + "id": "863", + "mutatorName": "LogicalOperator", + "replacement": "(activeAt === undefined || activeAt.turn < game.turn) && activeAt.turn === game.turn && (activeAt.phase === game.phase || game.phase === GAME_PHASES.DAY)", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(6,67): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(6,99): error TS18048: 'activeAt' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "269", - "711" + "716", + "718", + "719", + "798", + "799", + "800", + "801", + "802", + "803" ], "location": { "end": { - "column": 4, - "line": 20 + "column": 101, + "line": 7 }, "start": { - "column": 28, - "line": 16 + "column": 10, + "line": 6 } } }, { - "id": "860", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(23,90): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "864", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(7,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(7,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "291", - "712" + "716", + "718", + "719", + "798", + "799", + "800", + "801", + "802", + "803" ], "location": { "end": { - "column": 2, - "line": 29 + "column": 61, + "line": 6 }, "start": { - "column": 102, - "line": 23 + "column": 10, + "line": 6 } } }, { - "id": "861", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(24,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", + "id": "865", + "mutatorName": "LogicalOperator", + "replacement": "activeAt === undefined && activeAt.turn < game.turn", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(6,36): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(7,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(7,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "291", - "712" + "716", + "718", + "719", + "798", + "799", + "800", + "801", + "802", + "803" ], "location": { "end": { - "column": 4, - "line": 28 + "column": 61, + "line": 6 }, "start": { - "column": 28, - "line": 24 + "column": 10, + "line": 6 } } }, { - "id": "862", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(31,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "866", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(6,19): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(7,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(7,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "168", - "713" + "716", + "718", + "719", + "798", + "799", + "800", + "801", + "802", + "803" ], "location": { "end": { - "column": 2, - "line": 37 + "column": 32, + "line": 6 }, "start": { - "column": 101, - "line": 31 + "column": 10, + "line": 6 } } }, { - "id": "863", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(32,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", + "id": "867", + "mutatorName": "EqualityOperator", + "replacement": "activeAt !== undefined", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(6,36): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(7,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(7,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "168", - "713" + "716", + "718", + "719", + "798", + "799", + "800", + "801", + "802", + "803" ], "location": { "end": { - "column": 4, - "line": 36 + "column": 32, + "line": 6 }, "start": { - "column": 28, - "line": 32 + "column": 10, + "line": 6 } } }, { - "id": "864", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(39,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "868", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:26:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "800" + ], "coveredBy": [ - "146", - "714" + "799", + "800", + "801", + "802", + "803" ], "location": { "end": { - "column": 2, - "line": 45 + "column": 61, + "line": 6 }, "start": { - "column": 94, - "line": 39 + "column": 36, + "line": 6 } } }, { - "id": "865", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(40,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", + "id": "869", + "mutatorName": "EqualityOperator", + "replacement": "activeAt.turn <= game.turn", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:33:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "801" + ], "coveredBy": [ - "146", - "714" + "799", + "800", + "801", + "802", + "803" ], "location": { "end": { - "column": 4, - "line": 44 + "column": 61, + "line": 6 }, "start": { - "column": 28, - "line": 40 + "column": 36, + "line": 6 } } }, { - "id": "866", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(47,78): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "870", + "mutatorName": "EqualityOperator", + "replacement": "activeAt.turn >= game.turn", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:19:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "799" + ], "coveredBy": [ - "179", - "715" + "799", + "800", + "801", + "802", + "803" ], "location": { "end": { - "column": 2, - "line": 53 + "column": 61, + "line": 6 }, "start": { - "column": 90, - "line": 47 + "column": 36, + "line": 6 } } }, { - "id": "867", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(48,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", + "id": "871", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:40:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "802" + ], "coveredBy": [ - "179", - "715" + "799", + "801", + "802", + "803" ], "location": { "end": { - "column": 4, - "line": 52 + "column": 101, + "line": 7 }, "start": { - "column": 28, - "line": 48 + "column": 5, + "line": 7 } } }, { - "id": "868", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(55,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "872", + "mutatorName": "LogicalOperator", + "replacement": "activeAt.turn === game.turn || activeAt.phase === game.phase || game.phase === GAME_PHASES.DAY", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:19:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "799" + ], "coveredBy": [ - "207", - "716" + "799", + "801", + "802", + "803" ], "location": { "end": { - "column": 2, - "line": 61 + "column": 101, + "line": 7 }, "start": { - "column": 93, - "line": 55 + "column": 5, + "line": 7 } } }, { - "id": "869", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(56,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", + "id": "873", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:19:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "799" + ], "coveredBy": [ - "207", - "716" + "799", + "801", + "802", + "803" ], "location": { "end": { - "column": 4, - "line": 60 + "column": 32, + "line": 7 }, "start": { - "column": 28, - "line": 56 + "column": 5, + "line": 7 } } }, { - "id": "870", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(63,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "874", + "mutatorName": "EqualityOperator", + "replacement": "activeAt.turn !== game.turn", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:19:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "799" + ], "coveredBy": [ - "717" + "799", + "801", + "802", + "803" ], "location": { "end": { - "column": 2, - "line": 69 + "column": 32, + "line": 7 }, "start": { - "column": 101, - "line": 63 + "column": 5, + "line": 7 } } }, { - "id": "871", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(64,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", + "id": "875", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:33:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "801" + ], "coveredBy": [ - "717" + "801", + "802", + "803" ], "location": { "end": { - "column": 4, - "line": 68 + "column": 100, + "line": 7 }, "start": { - "column": 28, - "line": 64 + "column": 37, + "line": 7 } } }, { - "id": "872", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(71,86): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "876", + "mutatorName": "LogicalOperator", + "replacement": "activeAt.phase === game.phase && game.phase === GAME_PHASES.DAY", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:40:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "802" + ], "coveredBy": [ - "718" + "801", + "802", + "803" ], "location": { "end": { - "column": 2, - "line": 77 + "column": 100, + "line": 7 }, "start": { - "column": 98, + "column": 37, + "line": 7 + } + } + }, + { + "id": "877", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:40:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "802" + ], + "coveredBy": [ + "801", + "802", + "803" + ], + "location": { + "end": { + "column": 66, + "line": 7 + }, + "start": { + "column": 37, + "line": 7 + } + } + }, + { + "id": "878", + "mutatorName": "EqualityOperator", + "replacement": "activeAt.phase !== game.phase", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:33:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "801" + ], + "coveredBy": [ + "801", + "802", + "803" + ], + "location": { + "end": { + "column": 66, + "line": 7 + }, + "start": { + "column": 37, + "line": 7 + } + } + }, + { + "id": "879", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:47:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "803" + ], + "coveredBy": [ + "801", + "803" + ], + "location": { + "end": { + "column": 100, + "line": 7 + }, + "start": { + "column": 70, + "line": 7 + } + } + }, + { + "id": "880", + "mutatorName": "EqualityOperator", + "replacement": "game.phase !== GAME_PHASES.DAY", + "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/sandbox8549388/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts:33:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "801" + ], + "coveredBy": [ + "801", + "803" + ], + "location": { + "end": { + "column": 100, + "line": 7 + }, + "start": { + "column": 70, + "line": 7 + } + } + } + ], + "source": "import { GAME_PHASES } from \"../../../enums/game.enum\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { PlayerAttribute } from \"../../../schemas/player/player-attribute/player-attribute.schema\";\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 === GAME_PHASES.DAY);\n}\n\nexport { isPlayerAttributeActive };" + }, + "src/modules/game/helpers/player/player-death/player-death.factory.ts": { + "language": "typescript", + "mutants": [ + { + "id": "883", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(15,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": [ + "270", + "721" + ], + "location": { + "end": { + "column": 2, + "line": 21 + }, + "start": { + "column": 99, + "line": 15 + } + } + }, + { + "id": "884", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(16,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": [ + "270", + "721" + ], + "location": { + "end": { + "column": 4, + "line": 20 + }, + "start": { + "column": 28, + "line": 16 + } + } + }, + { + "id": "885", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(23,90): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "292", + "722" + ], + "location": { + "end": { + "column": 2, + "line": 29 + }, + "start": { + "column": 102, + "line": 23 + } + } + }, + { + "id": "886", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(24,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": [ + "292", + "722" + ], + "location": { + "end": { + "column": 4, + "line": 28 + }, + "start": { + "column": 28, + "line": 24 + } + } + }, + { + "id": "887", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(31,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": [ + "168", + "723" + ], + "location": { + "end": { + "column": 2, + "line": 37 + }, + "start": { + "column": 101, + "line": 31 + } + } + }, + { + "id": "888", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(32,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": [ + "168", + "723" + ], + "location": { + "end": { + "column": 4, + "line": 36 + }, + "start": { + "column": 28, + "line": 32 + } + } + }, + { + "id": "889", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(39,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": [ + "146", + "724" + ], + "location": { + "end": { + "column": 2, + "line": 45 + }, + "start": { + "column": 94, + "line": 39 + } + } + }, + { + "id": "890", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(40,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": [ + "146", + "724" + ], + "location": { + "end": { + "column": 4, + "line": 44 + }, + "start": { + "column": 28, + "line": 40 + } + } + }, + { + "id": "891", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(47,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": [ + "179", + "725" + ], + "location": { + "end": { + "column": 2, + "line": 53 + }, + "start": { + "column": 90, + "line": 47 + } + } + }, + { + "id": "892", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(48,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": [ + "179", + "725" + ], + "location": { + "end": { + "column": 4, + "line": 52 + }, + "start": { + "column": 28, + "line": 48 + } + } + }, + { + "id": "893", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(55,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": [ + "207", + "726" + ], + "location": { + "end": { + "column": 2, + "line": 61 + }, + "start": { + "column": 93, + "line": 55 + } + } + }, + { + "id": "894", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(56,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": [ + "207", + "726" + ], + "location": { + "end": { + "column": 4, + "line": 60 + }, + "start": { + "column": 28, + "line": 56 + } + } + }, + { + "id": "895", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(63,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": [ + "727" + ], + "location": { + "end": { + "column": 2, + "line": 69 + }, + "start": { + "column": 101, + "line": 63 + } + } + }, + { + "id": "896", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(64,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": [ + "727" + ], + "location": { + "end": { + "column": 4, + "line": 68 + }, + "start": { + "column": 28, + "line": 64 + } + } + }, + { + "id": "897", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(71,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": [ + "728" + ], + "location": { + "end": { + "column": 2, + "line": 77 + }, + "start": { + "column": 98, "line": 71 } } }, { - "id": "873", + "id": "898", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(72,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", @@ -32229,7 +32896,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "718" + "728" ], "location": { "end": { @@ -32243,15 +32910,37 @@ } }, { - "id": "874", + "id": "882", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(8,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, + "coveredBy": [ + "713", + "720" + ], + "location": { + "end": { + "column": 4, + "line": 12 + }, + "start": { + "column": 28, + "line": 8 + } + } + }, + { + "id": "899", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(79,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": [ - "719" + "711", + "729" ], "location": { "end": { @@ -32265,15 +32954,15 @@ } }, { - "id": "875", + "id": "900", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(80,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": [ - "719" + "711", + "729" ], "location": { "end": { @@ -32287,37 +32976,37 @@ } }, { - "id": "876", + "id": "881", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(87,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-death/player-death.factory.ts(7,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": [ + "713", "720" ], "location": { "end": { "column": 2, - "line": 93 + "line": 13 }, "start": { - "column": 99, - "line": 87 + "column": 106, + "line": 7 } } }, { - "id": "877", + "id": "902", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(88,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": [ - "720" + "712", + "730" ], "location": { "end": { @@ -32331,34 +33020,36 @@ } }, { - "id": "878", + "id": "903", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(95,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": [ "146", "168", "179", "207", "227", - "269", - "291", - "301", - "710", + "270", + "292", + "302", "711", "712", "713", - "714", - "715", - "716", - "717", - "718", - "719", "720", - "721" + "721", + "722", + "723", + "724", + "725", + "726", + "727", + "728", + "729", + "730", + "731" ], "location": { "end": { @@ -32370,6 +33061,28 @@ "line": 95 } } + }, + { + "id": "901", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(87,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "712", + "730" + ], + "location": { + "end": { + "column": 2, + "line": 93 + }, + "start": { + "column": 99, + "line": 87 + } + } } ], "source": "import { plainToInstance } from \"class-transformer\";\nimport { plainToInstanceDefaultOptions } from \"../../../../../shared/validation/constants/validation.constant\";\nimport { ROLE_NAMES } from \"../../../../role/enums/role.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_DEATH_CAUSES, PLAYER_GROUPS } from \"../../../enums/player.enum\";\nimport { PlayerDeath } from \"../../../schemas/player/player-death.schema\";\n\nfunction createPlayerDiseaseByRustySwordKnightDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PLAYER_DEATH_CAUSES.DISEASE,\n source: ROLE_NAMES.RUSTY_SWORD_KNIGHT,\n ...playerDeath,\n });\n}\n\nfunction createPlayerBrokenHeartByCupidDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PLAYER_DEATH_CAUSES.BROKEN_HEART,\n source: ROLE_NAMES.CUPID,\n ...playerDeath,\n });\n}\n\nfunction createPlayerReconsiderPardonByAllDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PLAYER_DEATH_CAUSES.RECONSIDER_PARDON,\n source: PLAYER_GROUPS.ALL,\n ...playerDeath,\n });\n}\n\nfunction createPlayerVoteScapegoatedByAllDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED,\n source: PLAYER_GROUPS.ALL,\n ...playerDeath,\n });\n}\n\nfunction createPlayerVoteBySheriffDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PLAYER_DEATH_CAUSES.VOTE,\n source: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n ...playerDeath,\n });\n}\n\nfunction createPlayerVoteByAllDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PLAYER_DEATH_CAUSES.VOTE,\n source: PLAYER_GROUPS.ALL,\n ...playerDeath,\n });\n}\n\nfunction createPlayerShotByHunterDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PLAYER_DEATH_CAUSES.SHOT,\n source: ROLE_NAMES.HUNTER,\n ...playerDeath,\n });\n}\n\nfunction createPlayerEatenByWhiteWerewolfDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PLAYER_DEATH_CAUSES.EATEN,\n source: ROLE_NAMES.WHITE_WEREWOLF,\n ...playerDeath,\n });\n}\n\nfunction createPlayerEatenByBigBadWolfDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PLAYER_DEATH_CAUSES.EATEN,\n source: ROLE_NAMES.BIG_BAD_WOLF,\n ...playerDeath,\n });\n}\n\nfunction createPlayerEatenByWerewolvesDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PLAYER_DEATH_CAUSES.EATEN,\n source: PLAYER_GROUPS.WEREWOLVES,\n ...playerDeath,\n });\n}\n\nfunction createPlayerDeathPotionByWitchDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PLAYER_DEATH_CAUSES.DEATH_POTION,\n source: ROLE_NAMES.WITCH,\n ...playerDeath,\n });\n}\n\nfunction createPlayerDeath(playerDeath: PlayerDeath): PlayerDeath {\n return plainToInstance(PlayerDeath, playerDeath, plainToInstanceDefaultOptions);\n}\n\nexport {\n createPlayerDiseaseByRustySwordKnightDeath,\n createPlayerBrokenHeartByCupidDeath,\n createPlayerReconsiderPardonByAllDeath,\n createPlayerVoteScapegoatedByAllDeath,\n createPlayerVoteBySheriffDeath,\n createPlayerVoteByAllDeath,\n createPlayerShotByHunterDeath,\n createPlayerEatenByWhiteWerewolfDeath,\n createPlayerEatenByBigBadWolfDeath,\n createPlayerEatenByWerewolvesDeath,\n createPlayerDeathPotionByWitchDeath,\n createPlayerDeath,\n};" @@ -32378,7 +33091,7 @@ "language": "typescript", "mutants": [ { - "id": "879", + "id": "904", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player.factory.ts(5,40): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -32407,15 +33120,15 @@ "228", "229", "236", - "265", - "280", - "468", - "695", + "266", + "281", + "469", "696", - "698", + "697", "699", - "704", - "705" + "700", + "705", + "706" ], "location": { "end": { @@ -32435,7 +33148,7 @@ "language": "typescript", "mutants": [ { - "id": "880", + "id": "905", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player.helper.ts(5,98): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -32480,7 +33193,6 @@ "239", "240", "241", - "245", "246", "247", "248", @@ -32489,7 +33201,7 @@ "251", "252", "253", - "261", + "254", "262", "263", "264", @@ -32504,97 +33216,98 @@ "273", "274", "275", - "277", + "276", "278", "279", "280", - "282", + "281", "283", "284", - "286", + "285", "287", "288", "289", "290", "291", - "293", + "292", "294", - "304", + "295", "305", - "308", + "306", "309", "310", - "318", + "311", "319", "320", "321", "322", - "329", + "323", "330", - "336", + "331", "337", - "344", + "338", "345", - "355", + "346", "356", "357", - "378", - "380", - "382", + "358", + "379", + "381", "383", - "385", + "384", "386", - "389", + "387", "390", - "393", + "391", "394", - "467", + "395", "468", - "493", + "469", "494", "495", "496", - "500", + "497", "501", - "504", + "502", "505", - "537", + "506", "538", "539", "540", - "547", + "541", "548", "549", "550", "551", "552", "553", - "558", + "554", "559", "560", "561", "562", - "570", + "563", "571", - "573", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", "633", - "722", - "723", - "724", - "725", - "727", - "728", - "729", - "731", - "732" + "634", + "732", + "733", + "734", + "735", + "737", + "738", + "739", + "741", + "742" ], "location": { "end": { @@ -32608,7 +33321,7 @@ } }, { - "id": "881", + "id": "906", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9325675/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:176:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -32656,7 +33369,6 @@ "239", "240", "241", - "245", "246", "247", "248", @@ -32665,7 +33377,7 @@ "251", "252", "253", - "261", + "254", "262", "263", "264", @@ -32680,97 +33392,98 @@ "273", "274", "275", - "277", + "276", "278", "279", "280", - "282", + "281", "283", "284", - "286", + "285", "287", "288", "289", "290", "291", - "293", + "292", "294", - "304", + "295", "305", - "308", + "306", "309", "310", - "318", + "311", "319", "320", "321", "322", - "329", + "323", "330", - "336", + "331", "337", - "344", + "338", "345", - "355", + "346", "356", "357", - "378", - "380", - "382", + "358", + "379", + "381", "383", - "385", + "384", "386", - "389", + "387", "390", - "393", + "391", "394", - "467", + "395", "468", - "493", + "469", "494", "495", "496", - "500", + "497", "501", - "504", + "502", "505", - "537", + "506", "538", "539", "540", - "547", + "541", "548", "549", "550", "551", "552", "553", - "558", + "554", "559", "560", "561", "562", - "570", + "563", "571", - "573", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", "633", - "722", - "723", - "724", - "725", - "727", - "728", - "729", - "731", - "732" + "634", + "732", + "733", + "734", + "735", + "737", + "738", + "739", + "741", + "742" ], "location": { "end": { @@ -32784,7 +33497,7 @@ } }, { - "id": "882", + "id": "907", "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/sandbox8606425/tests/unit/specs/modules/game/helpers/game-victory/game-victory.helper.spec.ts:137:36)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -32792,7 +33505,7 @@ "testsCompleted": 150, "static": false, "killedBy": [ - "540" + "541" ], "coveredBy": [ "6", @@ -32832,7 +33545,6 @@ "239", "240", "241", - "245", "246", "247", "248", @@ -32841,7 +33553,7 @@ "251", "252", "253", - "261", + "254", "262", "263", "264", @@ -32856,97 +33568,98 @@ "273", "274", "275", - "277", + "276", "278", "279", "280", - "282", + "281", "283", "284", - "286", + "285", "287", "288", "289", "290", "291", - "293", + "292", "294", - "304", + "295", "305", - "308", + "306", "309", "310", - "318", + "311", "319", "320", "321", "322", - "329", + "323", "330", - "336", + "331", "337", - "344", + "338", "345", - "355", + "346", "356", "357", - "378", - "380", - "382", + "358", + "379", + "381", "383", - "385", + "384", "386", - "389", + "387", "390", - "393", + "391", "394", - "467", + "395", "468", - "493", + "469", "494", "495", "496", - "500", + "497", "501", - "504", + "502", "505", - "537", + "506", "538", "539", "540", - "547", + "541", "548", "549", "550", "551", "552", "553", - "558", + "554", "559", "560", "561", "562", - "570", + "563", "571", - "573", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", "633", - "722", - "723", - "724", - "725", - "727", - "728", - "729", - "731", - "732" + "634", + "732", + "733", + "734", + "735", + "737", + "738", + "739", + "741", + "742" ], "location": { "end": { @@ -32960,7 +33673,7 @@ } }, { - "id": "883", + "id": "908", "mutatorName": "EqualityOperator", "replacement": "attributes.findIndex(({\n name\n}) => name === attributeName) === -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/sandbox250045/tests/unit/specs/modules/game/helpers/game-victory/game-victory.helper.spec.ts:104:36)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -32968,7 +33681,7 @@ "testsCompleted": 141, "static": false, "killedBy": [ - "537" + "538" ], "coveredBy": [ "6", @@ -33008,7 +33721,6 @@ "239", "240", "241", - "245", "246", "247", "248", @@ -33017,7 +33729,7 @@ "251", "252", "253", - "261", + "254", "262", "263", "264", @@ -33032,97 +33744,98 @@ "273", "274", "275", - "277", + "276", "278", "279", "280", - "282", + "281", "283", "284", - "286", + "285", "287", "288", "289", "290", "291", - "293", + "292", "294", - "304", + "295", "305", - "308", + "306", "309", "310", - "318", + "311", "319", "320", "321", "322", - "329", + "323", "330", - "336", + "331", "337", - "344", + "338", "345", - "355", + "346", "356", "357", - "378", - "380", - "382", + "358", + "379", + "381", "383", - "385", + "384", "386", - "389", + "387", "390", - "393", + "391", "394", - "467", + "395", "468", - "493", + "469", "494", "495", "496", - "500", + "497", "501", - "504", + "502", "505", - "537", + "506", "538", "539", "540", - "547", + "541", "548", "549", "550", "551", "552", "553", - "558", + "554", "559", "560", "561", "562", - "570", + "563", "571", - "573", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", "633", - "722", - "723", - "724", - "725", - "727", - "728", - "729", - "731", - "732" + "634", + "732", + "733", + "734", + "735", + "737", + "738", + "739", + "741", + "742" ], "location": { "end": { @@ -33136,7 +33849,7 @@ } }, { - "id": "884", + "id": "909", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "status": "Timeout", @@ -33180,7 +33893,6 @@ "239", "240", "241", - "245", "246", "247", "248", @@ -33189,7 +33901,7 @@ "251", "252", "253", - "261", + "254", "262", "263", "264", @@ -33204,97 +33916,98 @@ "273", "274", "275", - "277", + "276", "278", "279", "280", - "282", + "281", "283", "284", - "286", + "285", "287", "288", "289", "290", "291", - "293", + "292", "294", - "304", + "295", "305", - "308", + "306", "309", "310", - "318", + "311", "319", "320", "321", "322", - "329", + "323", "330", - "336", + "331", "337", - "344", + "338", "345", - "355", + "346", "356", "357", - "378", - "380", - "382", + "358", + "379", + "381", "383", - "385", + "384", "386", - "389", + "387", "390", - "393", + "391", "394", - "467", + "395", "468", - "493", + "469", "494", "495", "496", - "500", + "497", "501", - "504", + "502", "505", - "537", + "506", "538", "539", "540", - "547", + "541", "548", "549", "550", "551", "552", "553", - "558", + "554", "559", "560", "561", "562", - "570", + "563", "571", - "573", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", "633", - "722", - "723", - "724", - "725", - "727", - "728", - "729", - "731", - "732" + "634", + "732", + "733", + "734", + "735", + "737", + "738", + "739", + "741", + "742" ], "location": { "end": { @@ -33308,7 +34021,7 @@ } }, { - "id": "885", + "id": "910", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -33334,16 +34047,15 @@ "170", "171", "239", - "247", - "249", + "248", "250", "251", "252", - "262", + "253", "263", "264", "265", - "267", + "266", "268", "269", "270", @@ -33352,48 +34064,49 @@ "273", "274", "275", - "277", - "282", - "286", - "293", - "305", - "310", - "319", - "321", + "276", + "278", + "283", + "287", + "294", + "306", + "311", + "320", "322", - "329", - "336", - "344", - "383", - "386", - "389", - "394", - "468", - "493", + "323", + "330", + "337", + "345", + "384", + "387", + "390", + "395", + "469", "494", "495", "496", - "500", + "497", "501", - "504", + "502", "505", - "538", + "506", "539", "540", - "548", + "541", "549", "550", "551", "552", "553", - "558", - "570", - "574", + "554", + "559", + "571", "575", - "723", - "724", - "725", - "731" + "576", + "733", + "734", + "735", + "741" ], "location": { "end": { @@ -33407,7 +34120,7 @@ } }, { - "id": "886", + "id": "911", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"1bd742a1a301eab6d6de8b81\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"charmed\", \"remainingPhases\": undefined, \"source\": \"pied-piper\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Nora\", \"position\": 6405792919977984, \"role\": {\"current\": \"angel\", \"isRevealed\": false, \"original\": \"witch\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2074014/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:230:79)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -33415,7 +34128,7 @@ "testsCompleted": 73, "static": false, "killedBy": [ - "493" + "494" ], "coveredBy": [ "6", @@ -33437,16 +34150,15 @@ "170", "171", "239", - "247", - "249", + "248", "250", "251", "252", - "262", + "253", "263", "264", "265", - "267", + "266", "268", "269", "270", @@ -33455,48 +34167,49 @@ "273", "274", "275", - "277", - "282", - "286", - "293", - "305", - "310", - "319", - "321", + "276", + "278", + "283", + "287", + "294", + "306", + "311", + "320", "322", - "329", - "336", - "344", - "383", - "386", - "389", - "394", - "468", - "493", + "323", + "330", + "337", + "345", + "384", + "387", + "390", + "395", + "469", "494", "495", "496", - "500", + "497", "501", - "504", + "502", "505", - "538", + "506", "539", "540", - "548", + "541", "549", "550", "551", "552", "553", - "558", - "570", - "574", + "554", + "559", + "571", "575", - "723", - "724", - "725", - "731" + "576", + "733", + "734", + "735", + "741" ], "location": { "end": { @@ -33510,7 +34223,7 @@ } }, { - "id": "887", + "id": "912", "mutatorName": "EqualityOperator", "replacement": "name !== attributeName", "status": "Timeout", @@ -33536,16 +34249,15 @@ "170", "171", "239", - "247", - "249", + "248", "250", "251", "252", - "262", + "253", "263", "264", "265", - "267", + "266", "268", "269", "270", @@ -33554,48 +34266,49 @@ "273", "274", "275", - "277", - "282", - "286", - "293", - "305", - "310", - "319", - "321", + "276", + "278", + "283", + "287", + "294", + "306", + "311", + "320", "322", - "329", - "336", - "344", - "383", - "386", - "389", - "394", - "468", - "493", + "323", + "330", + "337", + "345", + "384", + "387", + "390", + "395", + "469", "494", "495", "496", - "500", + "497", "501", - "504", + "502", "505", - "538", + "506", "539", "540", - "548", + "541", "549", "550", "551", "552", "553", - "558", - "570", - "574", + "554", + "559", + "571", "575", - "723", - "724", - "725", - "731" + "576", + "733", + "734", + "735", + "741" ], "location": { "end": { @@ -33609,7 +34322,7 @@ } }, { - "id": "888", + "id": "913", "mutatorName": "UnaryOperator", "replacement": "+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/sandbox250045/tests/unit/specs/modules/game/helpers/game-victory/game-victory.helper.spec.ts:104:36)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -33617,7 +34330,7 @@ "testsCompleted": 141, "static": false, "killedBy": [ - "537" + "538" ], "coveredBy": [ "6", @@ -33657,7 +34370,6 @@ "239", "240", "241", - "245", "246", "247", "248", @@ -33666,7 +34378,7 @@ "251", "252", "253", - "261", + "254", "262", "263", "264", @@ -33681,97 +34393,98 @@ "273", "274", "275", - "277", + "276", "278", "279", "280", - "282", + "281", "283", "284", - "286", + "285", "287", "288", "289", "290", "291", - "293", + "292", "294", - "304", + "295", "305", - "308", + "306", "309", "310", - "318", + "311", "319", "320", "321", "322", - "329", + "323", "330", - "336", + "331", "337", - "344", + "338", "345", - "355", + "346", "356", "357", - "378", - "380", - "382", + "358", + "379", + "381", "383", - "385", + "384", "386", - "389", + "387", "390", - "393", + "391", "394", - "467", + "395", "468", - "493", + "469", "494", "495", "496", - "500", + "497", "501", - "504", + "502", "505", - "537", + "506", "538", "539", "540", - "547", + "541", "548", "549", "550", "551", "552", "553", - "558", + "554", "559", "560", "561", "562", - "570", + "563", "571", - "573", + "572", "574", "575", "576", "577", "578", "579", - "631", + "580", "632", "633", - "722", - "723", - "724", - "725", - "727", - "728", - "729", - "731", - "732" + "634", + "732", + "733", + "734", + "735", + "737", + "738", + "739", + "741", + "742" ], "location": { "end": { @@ -33785,7 +34498,7 @@ } }, { - "id": "889", + "id": "914", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player.helper.ts(9,86): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -33793,12 +34506,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "725", - "726", - "727", - "728", - "729" + "310", + "735", + "736", + "737", + "738", + "739" ], "location": { "end": { @@ -33812,7 +34525,7 @@ } }, { - "id": "890", + "id": "915", "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/sandbox7729612/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:33:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -33820,15 +34533,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "725" + "735" ], "coveredBy": [ - "309", - "725", - "726", - "727", - "728", - "729" + "310", + "735", + "736", + "737", + "738", + "739" ], "location": { "end": { @@ -33842,19 +34555,19 @@ } }, { - "id": "891", + "id": "916", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "309", - "725", - "726", - "727", - "728", - "729" + "310", + "735", + "736", + "737", + "738", + "739" ], "location": { "end": { @@ -33868,7 +34581,7 @@ } }, { - "id": "892", + "id": "917", "mutatorName": "LogicalOperator", "replacement": "isPlayerAliveAndPowerful(piedPiperPlayer) || !isPowerlessIfInfected || piedPiperPlayer.side.current === ROLE_SIDES.VILLAGERS", "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/sandbox7729612/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:33:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -33876,15 +34589,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "725" + "735" ], "coveredBy": [ - "309", - "725", - "726", - "727", - "728", - "729" + "310", + "735", + "736", + "737", + "738", + "739" ], "location": { "end": { @@ -33898,17 +34611,17 @@ } }, { - "id": "893", + "id": "918", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "309", - "727", - "728", - "729" + "310", + "737", + "738", + "739" ], "location": { "end": { @@ -33922,17 +34635,17 @@ } }, { - "id": "894", + "id": "919", "mutatorName": "LogicalOperator", "replacement": "!isPowerlessIfInfected && piedPiperPlayer.side.current === ROLE_SIDES.VILLAGERS", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "309", - "727", - "728", - "729" + "310", + "737", + "738", + "739" ], "location": { "end": { @@ -33946,17 +34659,17 @@ } }, { - "id": "895", + "id": "920", "mutatorName": "BooleanLiteral", "replacement": "isPowerlessIfInfected", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "309", - "727", - "728", - "729" + "310", + "737", + "738", + "739" ], "location": { "end": { @@ -33970,7 +34683,7 @@ } }, { - "id": "896", + "id": "921", "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/sandbox7729612/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:57:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -33978,12 +34691,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "729" + "739" ], "coveredBy": [ - "309", - "727", - "729" + "310", + "737", + "739" ], "location": { "end": { @@ -33997,16 +34710,16 @@ } }, { - "id": "897", + "id": "922", "mutatorName": "EqualityOperator", "replacement": "piedPiperPlayer.side.current !== ROLE_SIDES.VILLAGERS", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "309", - "727", - "729" + "310", + "737", + "739" ], "location": { "end": { @@ -34020,7 +34733,7 @@ } }, { - "id": "898", + "id": "923", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player.helper.ts(13,44): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -34034,45 +34747,45 @@ "124", "167", "168", - "304", "305", - "308", + "306", "309", "310", - "319", + "311", "320", - "329", + "321", "330", - "336", + "331", "337", - "344", + "338", "345", - "355", + "346", "356", "357", - "378", - "380", - "382", + "358", + "379", + "381", "383", - "385", + "384", "386", - "389", + "387", "390", - "467", + "391", "468", - "549", + "469", "550", "551", "552", "553", - "570", - "575", - "725", - "727", - "728", - "729", - "731", - "732" + "554", + "571", + "576", + "735", + "737", + "738", + "739", + "741", + "742" ], "location": { "end": { @@ -34086,7 +34799,7 @@ } }, { - "id": "899", + "id": "924", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "status": "Timeout", @@ -34099,45 +34812,45 @@ "124", "167", "168", - "304", "305", - "308", + "306", "309", "310", - "319", + "311", "320", - "329", + "321", "330", - "336", + "331", "337", - "344", + "338", "345", - "355", + "346", "356", "357", - "378", - "380", - "382", + "358", + "379", + "381", "383", - "385", + "384", "386", - "389", + "387", "390", - "467", + "391", "468", - "549", + "469", "550", "551", "552", "553", - "570", - "575", - "725", - "727", - "728", - "729", - "731", - "732" + "554", + "571", + "576", + "735", + "737", + "738", + "739", + "741", + "742" ], "location": { "end": { @@ -34151,7 +34864,7 @@ } }, { - "id": "900", + "id": "925", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player.helper.ts(17,52): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -34168,49 +34881,49 @@ "166", "167", "168", - "304", "305", - "308", + "306", "309", "310", - "318", + "311", "319", "320", - "328", + "321", "329", "330", - "336", + "331", "337", - "343", + "338", "344", "345", - "354", + "346", "355", "356", "357", - "378", - "380", - "388", + "358", + "379", + "381", "389", "390", - "467", + "391", "468", - "548", + "469", "549", "550", "551", "552", "553", - "570", - "575", - "725", - "726", - "727", - "728", - "729", - "730", - "731", - "732" + "554", + "571", + "576", + "735", + "736", + "737", + "738", + "739", + "740", + "741", + "742" ], "location": { "end": { @@ -34224,7 +34937,7 @@ } }, { - "id": "901", + "id": "926", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -34240,49 +34953,49 @@ "166", "167", "168", - "304", "305", - "308", + "306", "309", "310", - "318", + "311", "319", "320", - "328", + "321", "329", "330", - "336", + "331", "337", - "343", + "338", "344", "345", - "354", + "346", "355", "356", "357", - "378", - "380", - "388", + "358", + "379", + "381", "389", "390", - "467", + "391", "468", - "548", + "469", "549", "550", "551", "552", "553", - "570", - "575", - "725", - "726", - "727", - "728", - "729", - "730", - "731", - "732" + "554", + "571", + "576", + "735", + "736", + "737", + "738", + "739", + "740", + "741", + "742" ], "location": { "end": { @@ -34296,7 +35009,7 @@ } }, { - "id": "902", + "id": "927", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -34312,49 +35025,49 @@ "166", "167", "168", - "304", "305", - "308", + "306", "309", "310", - "318", + "311", "319", "320", - "328", + "321", "329", "330", - "336", + "331", "337", - "343", + "338", "344", "345", - "354", + "346", "355", "356", "357", - "378", - "380", - "388", + "358", + "379", + "381", "389", "390", - "467", + "391", "468", - "548", + "469", "549", "550", "551", "552", "553", - "570", - "575", - "725", - "726", - "727", - "728", - "729", - "730", - "731", - "732" + "554", + "571", + "576", + "735", + "736", + "737", + "738", + "739", + "740", + "741", + "742" ], "location": { "end": { @@ -34368,7 +35081,7 @@ } }, { - "id": "903", + "id": "928", "mutatorName": "LogicalOperator", "replacement": "player.isAlive || isPlayerPowerful(player)", "status": "Timeout", @@ -34384,49 +35097,49 @@ "166", "167", "168", - "304", "305", - "308", + "306", "309", "310", - "318", + "311", "319", "320", - "328", + "321", "329", "330", - "336", + "331", "337", - "343", + "338", "344", "345", - "354", + "346", "355", "356", "357", - "378", - "380", - "388", + "358", + "379", + "381", "389", "390", - "467", + "391", "468", - "548", + "469", "549", "550", "551", "552", "553", - "570", - "575", - "725", - "726", - "727", - "728", - "729", - "730", - "731", - "732" + "554", + "571", + "576", + "735", + "736", + "737", + "738", + "739", + "740", + "741", + "742" ], "location": { "end": { @@ -34440,7 +35153,7 @@ } }, { - "id": "904", + "id": "929", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player.helper.ts(21,52): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -34451,8 +35164,8 @@ "46", "47", "48", - "733", - "734" + "743", + "744" ], "location": { "end": { @@ -34466,7 +35179,7 @@ } }, { - "id": "905", + "id": "930", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -34476,8 +35189,8 @@ "46", "47", "48", - "733", - "734" + "743", + "744" ], "location": { "end": { @@ -34491,7 +35204,7 @@ } }, { - "id": "906", + "id": "931", "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/sandbox7729612/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:87:78)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -34499,14 +35212,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "734" + "744" ], "coveredBy": [ "46", "47", "48", - "733", - "734" + "743", + "744" ], "location": { "end": { @@ -34520,7 +35233,7 @@ } }, { - "id": "907", + "id": "932", "mutatorName": "EqualityOperator", "replacement": "player.side.current !== ROLE_SIDES.WEREWOLVES", "status": "Timeout", @@ -34530,8 +35243,8 @@ "46", "47", "48", - "733", - "734" + "743", + "744" ], "location": { "end": { @@ -34545,7 +35258,7 @@ } }, { - "id": "908", + "id": "933", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/helpers/player/player.helper.ts(25,51): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -34558,8 +35271,8 @@ "44", "49", "50", - "735", - "736" + "745", + "746" ], "location": { "end": { @@ -34573,7 +35286,7 @@ } }, { - "id": "909", + "id": "934", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -34585,8 +35298,8 @@ "44", "49", "50", - "735", - "736" + "745", + "746" ], "location": { "end": { @@ -34600,7 +35313,7 @@ } }, { - "id": "910", + "id": "935", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -34612,8 +35325,8 @@ "44", "49", "50", - "735", - "736" + "745", + "746" ], "location": { "end": { @@ -34627,7 +35340,7 @@ } }, { - "id": "911", + "id": "936", "mutatorName": "EqualityOperator", "replacement": "player.side.current !== ROLE_SIDES.VILLAGERS", "status": "Timeout", @@ -34639,8 +35352,8 @@ "44", "49", "50", - "735", - "736" + "745", + "746" ], "location": { "end": { @@ -34660,7 +35373,7 @@ "language": "typescript", "mutants": [ { - "id": "912", + "id": "937", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(17,70): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -34668,7 +35381,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "398", "399", "400", "401", @@ -34676,7 +35388,8 @@ "403", "404", "405", - "406" + "406", + "407" ], "location": { "end": { @@ -34690,7 +35403,7 @@ } }, { - "id": "913", + "id": "938", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(20,79): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -34698,9 +35411,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "407", "408", - "409" + "409", + "410" ], "location": { "end": { @@ -34714,7 +35427,7 @@ } }, { - "id": "914", + "id": "939", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).resolves.toBeNull()\n\nReceived: {\"_id\": \"ba0fbcef7cffe646effa4feb\", \"createdAt\": 2023-06-22T00:20:53.020Z, \"gameId\": \"f874ae883ccfd1d8a8e94dce\", \"phase\": \"day\", \"play\": {\"action\": \"eat\", \"source\": {\"name\": \"werewolves\", \"players\": [{\"_id\": \"ebd7df81d8498e6d6e1a80ee\", \"attributes\": [], \"isAlive\": true, \"name\": \"Ocie\", \"position\": 4787738438008832, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]}}, \"tick\": 1502123734859776, \"turn\": 3097795825238016, \"updatedAt\": 2023-06-21T13:34:19.701Z}\n at Object.toBeNull (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:121:107)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -34722,12 +35435,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "407" + "408" ], "coveredBy": [ - "407", "408", - "409" + "409", + "410" ], "location": { "end": { @@ -34741,7 +35454,7 @@ } }, { - "id": "915", + "id": "940", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 8\n\n@@ -1,21 +1,21 @@\n Object {\n- \"_id\": \"58da29afdcc4d1f21fc4d2ea\",\n- \"createdAt\": \"2022-01-01T00:00:00.000Z\",\n+ \"_id\": \"2cbb48e2e5effd8eb26afbb2\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"1cb0ae2eda10e69e106add59\",\n \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"protect\",\n \"source\": Object {\n \"name\": \"guard\",\n \"players\": Array [\n Object {\n- \"_id\": \"4bcc26b42c8dc5bd2abfc94c\",\n+ \"_id\": \"ade08cf0abcfb56c05fd93ad\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Marcia\",\n- \"position\": 5653291081924608,\n+ \"name\": \"Johnpaul\",\n+ \"position\": 6276308264812544,\n \"role\": Object {\n \"current\": \"guard\",\n \"isRevealed\": false,\n \"original\": \"guard\",\n },\n@@ -25,9 +25,9 @@\n },\n },\n ],\n },\n },\n- \"tick\": 3922204945285120,\n- \"turn\": 8936056183324672,\n- \"updatedAt\": \"2023-06-21T11:12:11.585Z\",\n+ \"tick\": 5602536348188672,\n+ \"turn\": 1888000927596544,\n+ \"updatedAt\": \"2023-06-20T22:20:55.029Z\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:145:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -34749,12 +35462,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "409" + "410" ], "coveredBy": [ - "407", "408", - "409" + "409", + "410" ], "location": { "end": { @@ -34768,16 +35481,16 @@ } }, { - "id": "916", + "id": "941", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "407", "408", - "409" + "409", + "410" ], "location": { "end": { @@ -34791,7 +35504,7 @@ } }, { - "id": "917", + "id": "942", "mutatorName": "UnaryOperator", "replacement": "+1", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 9\n\n@@ -1,21 +1,21 @@\n Object {\n- \"_id\": \"9f88d49dcf067a4003c613be\",\n- \"createdAt\": \"2022-01-01T00:00:00.000Z\",\n+ \"_id\": \"3f0cf2c3c7a2a760b8df4bce\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"c9631b2ebf0b5edbc38b32c1\",\n- \"phase\": \"night\",\n+ \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"protect\",\n \"source\": Object {\n \"name\": \"guard\",\n \"players\": Array [\n Object {\n- \"_id\": \"2a75bf2ca8d6caeb054fde63\",\n+ \"_id\": \"8fb894efcf115a2dfc26cae5\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Lily\",\n- \"position\": 1367800396382208,\n+ \"name\": \"Fae\",\n+ \"position\": 3195699831242752,\n \"role\": Object {\n \"current\": \"guard\",\n \"isRevealed\": false,\n \"original\": \"guard\",\n },\n@@ -25,9 +25,9 @@\n },\n },\n ],\n },\n },\n- \"tick\": 963625009283072,\n- \"turn\": 7967236427874304,\n- \"updatedAt\": \"2023-06-21T05:36:56.001Z\",\n+ \"tick\": 4821677703692288,\n+ \"turn\": 367093100838912,\n+ \"updatedAt\": \"2023-06-20T18:58:18.467Z\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:145:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -34799,12 +35512,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "409" + "410" ], "coveredBy": [ - "407", "408", - "409" + "409", + "410" ], "location": { "end": { @@ -34818,7 +35531,7 @@ } }, { - "id": "918", + "id": "943", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(29,76): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -34826,10 +35539,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "410", "411", "412", - "413" + "413", + "414" ], "location": { "end": { @@ -34843,17 +35556,17 @@ } }, { - "id": "919", + "id": "944", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "410", "411", "412", - "413" + "413", + "414" ], "location": { "end": { @@ -34867,7 +35580,7 @@ } }, { - "id": "920", + "id": "945", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 13\n+ Received + 13\n\n Object {\n- \"_id\": \"c0d5fc208cfabffbdd2ab0bc\",\n- \"createdAt\": \"2024-01-01T00:00:00.000Z\",\n+ \"_id\": \"fcde44cafbeafbfd3eef68b3\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"cda3e9f6cdabc247beecaf8f\",\n- \"phase\": \"night\",\n+ \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"all\",\n \"players\": Array [\n Object {\n- \"_id\": \"aaaddeac4ad837f37fba3cef\",\n+ \"_id\": \"41ddbb4aedb9a46dfdaa80c0\",\n \"attributes\": Array [],\n \"isAlive\": false,\n- \"name\": \"Annabel\",\n- \"position\": 6968655006924800,\n+ \"name\": \"Riley\",\n+ \"position\": 4858219543396352,\n \"role\": Object {\n- \"current\": \"stuttering-judge\",\n- \"isRevealed\": false,\n- \"original\": \"vile-father-of-wolves\",\n+ \"current\": \"scapegoat\",\n+ \"isRevealed\": true,\n+ \"original\": \"bear-tamer\",\n },\n \"side\": Object {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n ],\n },\n \"votingResult\": \"tie\",\n },\n- \"tick\": 4751434497130496,\n- \"turn\": 7732709023547392,\n- \"updatedAt\": \"2023-06-21T01:53:23.290Z\",\n+ \"tick\": 8159212452446208,\n+ \"turn\": 5866173562355712,\n+ \"updatedAt\": \"2023-06-20T13:58:09.834Z\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:192:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -34875,13 +35588,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "413" + "414" ], "coveredBy": [ - "410", "411", "412", - "413" + "413", + "414" ], "location": { "end": { @@ -34895,7 +35608,7 @@ } }, { - "id": "921", + "id": "946", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 12\n+ Received + 12\n\n Object {\n- \"_id\": \"e95b3f68a178e015dc1e4eae\",\n- \"createdAt\": \"2024-01-01T00:00:00.000Z\",\n+ \"_id\": \"f49a5059cb8eebfdb268c7cf\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"eefeaeb5f6cffc72ccc9bdfd\",\n \"phase\": \"night\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"all\",\n \"players\": Array [\n Object {\n- \"_id\": \"7d5e0ccb7a9d1b618dcec5b6\",\n+ \"_id\": \"fe190c8db5868c1e4adf2696\",\n \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Marquise\",\n- \"position\": 1817930578788352,\n+ \"isAlive\": false,\n+ \"name\": \"Jazmyn\",\n+ \"position\": 5269034889117696,\n \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n+ \"current\": \"hunter\",\n+ \"isRevealed\": true,\n \"original\": \"guard\",\n },\n \"side\": Object {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"werewolves\",\n },\n },\n ],\n },\n \"votingResult\": \"tie\",\n },\n- \"tick\": 1595835062157312,\n- \"turn\": 5044514743910400,\n- \"updatedAt\": \"2023-06-21T05:10:22.781Z\",\n+ \"tick\": 2506530647703552,\n+ \"turn\": 1760918773956608,\n+ \"updatedAt\": \"2023-06-21T05:47:24.900Z\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:192:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -34903,13 +35616,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "413" + "414" ], "coveredBy": [ - "410", "411", "412", - "413" + "413", + "414" ], "location": { "end": { @@ -34923,17 +35636,17 @@ } }, { - "id": "922", + "id": "947", "mutatorName": "UnaryOperator", "replacement": "+1", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "410", "411", "412", - "413" + "413", + "414" ], "location": { "end": { @@ -34947,7 +35660,7 @@ } }, { - "id": "923", + "id": "948", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(38,109): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -34955,12 +35668,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "414", "415", "416", "417", "418", - "468" + "419", + "469" ], "location": { "end": { @@ -34974,7 +35687,7 @@ } }, { - "id": "924", + "id": "949", "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\": \"0d2ce4dd76f5af2fcb02eaa0\",\n+ \"createdAt\": \"2023-06-22T09:27:24.378Z\",\n+ \"gameId\": \"7cd2f4dcf39feeb507ee4fca\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"all\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"1ddb8fa7cbb76bdec0dffa06\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Macey\",\n+ \"position\": 2619390832934912,\n+ \"role\": Object {\n+ \"current\": \"hunter\",\n+ \"isRevealed\": true,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ \"votingResult\": \"tie\",\n+ },\n+ \"tick\": 300612323377152,\n+ \"turn\": 5222369413038080,\n+ \"updatedAt\": \"2023-06-22T06:36:26.279Z\",\n+ },\n+ Object {\n+ \"_id\": \"4c0bd4c346ffcfd17eaad981\",\n+ \"createdAt\": \"2023-06-21T13:12:25.000Z\",\n+ \"gameId\": \"7cd2f4dcf39feeb507ee4fca\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"eat\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"8bf937acbca56d1abec0685e\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Ramiro\",\n+ \"position\": 3508153197002752,\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\": 8785966053457920,\n+ \"turn\": 6589114505756672,\n+ \"updatedAt\": \"2023-06-21T22:10:24.580Z\",\n+ },\n+ Object {\n+ \"_id\": \"4488bbcfddf2455db5ce829b\",\n+ \"createdAt\": \"2023-06-22T00:48:24.411Z\",\n+ \"gameId\": \"7cd2f4dcf39feeb507ee4fca\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"guard\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"ca56ac67d6b1b736446b7104\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Zetta\",\n+ \"position\": 6372413000384512,\n+ \"role\": Object {\n+ \"current\": \"guard\",\n+ \"isRevealed\": false,\n+ \"original\": \"guard\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 8169103250423808,\n+ \"turn\": 1873046967156736,\n+ \"updatedAt\": \"2023-06-22T01:00:33.705Z\",\n+ },\n+ Object {\n+ \"_id\": \"2763b87eb6b9d561c085cdc4\",\n+ \"createdAt\": \"2023-06-22T05:18:51.452Z\",\n+ \"gameId\": \"7cd2f4dcf39feeb507ee4fca\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"all\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"afa4330cac56d6fc1d0f831d\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Immanuel\",\n+ \"position\": 1090521478987776,\n+ \"role\": Object {\n+ \"current\": \"stuttering-judge\",\n+ \"isRevealed\": false,\n+ \"original\": \"three-brothers\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ \"votingResult\": \"tie\",\n+ },\n+ \"tick\": 5918257332617216,\n+ \"turn\": 4415838188732416,\n+ \"updatedAt\": \"2023-06-21T17:46:17.270Z\",\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:209:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -34982,15 +35695,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "414" + "415" ], "coveredBy": [ - "414", "415", "416", "417", "418", - "468" + "419", + "469" ], "location": { "end": { @@ -35004,7 +35717,7 @@ } }, { - "id": "925", + "id": "950", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(48,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35012,8 +35725,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "419", - "420" + "420", + "421" ], "location": { "end": { @@ -35027,7 +35740,7 @@ } }, { - "id": "926", + "id": "951", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 134\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"a0f50bb26aeeda5d1e64aacb\",\n+ \"createdAt\": \"2023-06-21T12:16:36.511Z\",\n+ \"gameId\": \"e4ad645adcf62e30ad98eadf\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"all\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"da7debccbfde7ac4c1e5e9ed\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Rafaela\",\n+ \"position\": 3662855274496000,\n+ \"role\": Object {\n+ \"current\": \"three-brothers\",\n+ \"isRevealed\": false,\n+ \"original\": \"vile-father-of-wolves\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 2189157625495552,\n+ \"turn\": 4409649981816832,\n+ \"updatedAt\": \"2023-06-21T13:51:50.692Z\",\n+ },\n+ Object {\n+ \"_id\": \"41fe32ffddcf2d03fbfc733f\",\n+ \"createdAt\": \"2023-06-21T18:46:17.196Z\",\n+ \"gameId\": \"e4ad645adcf62e30ad98eadf\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"72bc924caa3053df18a4a76c\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Gloria\",\n+ \"position\": 5117692505751552,\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\": 7989880487411712,\n+ \"turn\": 778493667311616,\n+ \"updatedAt\": \"2023-06-22T08:39:02.328Z\",\n+ },\n+ Object {\n+ \"_id\": \"18cdb27a92eba81eae2fb6fc\",\n+ \"createdAt\": \"2023-06-22T01:48:40.334Z\",\n+ \"gameId\": \"e4ad645adcf62e30ad98eadf\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"guard\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"9b9aa8d5b5ad9daeb66c7240\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Otto\",\n+ \"position\": 1097654310273024,\n+ \"role\": Object {\n+ \"current\": \"guard\",\n+ \"isRevealed\": false,\n+ \"original\": \"guard\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 8814935719018496,\n+ \"turn\": 699328163217408,\n+ \"updatedAt\": \"2023-06-21T12:42:44.997Z\",\n+ },\n+ Object {\n+ \"_id\": \"acfecddd341d603b9ffb5f9d\",\n+ \"createdAt\": \"2023-06-21T20:22:44.999Z\",\n+ \"gameId\": \"e4ad645adcf62e30ad98eadf\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"all\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"abfc1e01cc964bea100fc859\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Baby\",\n+ \"position\": 6390765710213120,\n+ \"role\": Object {\n+ \"current\": \"villager-villager\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager-villager\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 6215496881930240,\n+ \"turn\": 2404438440411136,\n+ \"updatedAt\": \"2023-06-21T09:54:32.535Z\",\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:303:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -35035,11 +35748,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "419" + "420" ], "coveredBy": [ - "419", - "420" + "420", + "421" ], "location": { "end": { @@ -35053,7 +35766,7 @@ } }, { - "id": "927", + "id": "952", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 17\n+ Received + 17\n\n@@ -1,22 +1,22 @@\n Array [\n Object {\n- \"_id\": \"98681aaf71d78ddc2179c9a1\",\n- \"createdAt\": \"2023-06-20T22:53:25.902Z\",\n+ \"_id\": \"d0fad0b0ad2b36ebcf37678e\",\n+ \"createdAt\": \"2023-06-20T13:19:24.603Z\",\n \"gameId\": \"2eba0a9aa15adb4e8cf75c22\",\n- \"phase\": \"day\",\n+ \"phase\": \"night\",\n \"play\": Object {\n \"action\": \"eat\",\n \"source\": Object {\n \"name\": \"werewolves\",\n \"players\": Array [\n Object {\n- \"_id\": \"b28e36bc60eead9a0798e0d9\",\n+ \"_id\": \"45b0ace90fc2d6faf70bad3a\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Carmen\",\n- \"position\": 8777217567883264,\n+ \"name\": \"Kayley\",\n+ \"position\": 2932049520361472,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n@@ -27,30 +27,30 @@\n },\n ],\n },\n \"targets\": Array [\n Object {\n- \"isInfected\": true,\n+ \"isInfected\": false,\n \"player\": Object {\n- \"_id\": \"f52a5de7754dbba1a5d7af71\",\n+ \"_id\": \"9c7540586afafb4caccc622a\",\n \"attributes\": Array [],\n \"isAlive\": false,\n- \"name\": \"Fausto\",\n- \"position\": 4393386343661568,\n+ \"name\": \"Kaleigh\",\n+ \"position\": 1237242011975680,\n \"role\": Object {\n \"current\": \"angel\",\n- \"isRevealed\": false,\n- \"original\": \"cupid\",\n+ \"isRevealed\": true,\n+ \"original\": \"stuttering-judge\",\n },\n \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"werewolves\",\n+ \"current\": \"werewolves\",\n+ \"original\": \"villagers\",\n },\n },\n },\n ],\n },\n- \"tick\": 2072636202942464,\n- \"turn\": 4553608800501760,\n- \"updatedAt\": \"2023-06-21T09:59:36.751Z\",\n+ \"tick\": 2603718524534784,\n+ \"turn\": 8233116556591104,\n+ \"updatedAt\": \"2023-06-20T12:20:36.838Z\",\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:320:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -35061,11 +35774,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "420" + "421" ], "coveredBy": [ - "419", - "420" + "420", + "421" ], "location": { "end": { @@ -35079,7 +35792,7 @@ } }, { - "id": "928", + "id": "953", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(57,75): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35087,8 +35800,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "421", - "422" + "422", + "423" ], "location": { "end": { @@ -35102,15 +35815,15 @@ } }, { - "id": "929", + "id": "954", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "421", - "422" + "422", + "423" ], "location": { "end": { @@ -35124,7 +35837,7 @@ } }, { - "id": "930", + "id": "955", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 36\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"cd2bdad0492ef6a5edbdbbef\",\n+ \"createdAt\": \"2023-06-20T18:44:36.455Z\",\n+ \"gameId\": \"8d92bbf2eb41dbcd607f3c91\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"didJudgeRequestAnotherVote\": false,\n+ \"source\": Object {\n+ \"name\": \"all\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"cbebe9ff4c1efec01d1f10f8\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Letha\",\n+ \"position\": 5986418207752192,\n+ \"role\": Object {\n+ \"current\": \"fox\",\n+ \"isRevealed\": false,\n+ \"original\": \"vile-father-of-wolves\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 5568586363961344,\n+ \"turn\": 8553640918777856,\n+ \"updatedAt\": \"2023-06-21T09:55:40.320Z\",\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:336:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -35132,11 +35845,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "421" + "422" ], "coveredBy": [ - "421", - "422" + "422", + "423" ], "location": { "end": { @@ -35150,7 +35863,7 @@ } }, { - "id": "931", + "id": "956", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(65,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35158,8 +35871,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "423", - "424" + "424", + "425" ], "location": { "end": { @@ -35173,7 +35886,7 @@ } }, { - "id": "932", + "id": "957", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 135\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"c64cd0c1da5bc7a44eadc4c4\",\n+ \"createdAt\": \"2023-06-22T06:44:06.571Z\",\n+ \"gameId\": \"e3b38e44b677a3dfbcb82db6\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"didJudgeRequestAnotherVote\": false,\n+ \"source\": Object {\n+ \"name\": \"all\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"bb69ffdd2504da43f482ba9b\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Louvenia\",\n+ \"position\": 8072044451201024,\n+ \"role\": Object {\n+ \"current\": \"villager-villager\",\n+ \"isRevealed\": false,\n+ \"original\": \"stuttering-judge\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 8852200883224576,\n+ \"turn\": 4854329756352512,\n+ \"updatedAt\": \"2023-06-22T08:07:20.139Z\",\n+ },\n+ Object {\n+ \"_id\": \"c5fcf85de5ee735fc29f7b29\",\n+ \"createdAt\": \"2023-06-21T20:27:23.083Z\",\n+ \"gameId\": \"e3b38e44b677a3dfbcb82db6\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"cbfcfa7fb291b0025b2937ef\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Amelia\",\n+ \"position\": 3277743546433536,\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\": 2824070435438592,\n+ \"turn\": 1004066985476096,\n+ \"updatedAt\": \"2023-06-21T18:55:28.881Z\",\n+ },\n+ Object {\n+ \"_id\": \"a1eefe60953ee04bbfeefa65\",\n+ \"createdAt\": \"2023-06-21T11:28:53.890Z\",\n+ \"gameId\": \"e3b38e44b677a3dfbcb82db6\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"guard\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"f0e2ea81a2b0b94eebe92a61\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Leon\",\n+ \"position\": 4868585178529792,\n+ \"role\": Object {\n+ \"current\": \"guard\",\n+ \"isRevealed\": false,\n+ \"original\": \"guard\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 8835055879192576,\n+ \"turn\": 643403926732800,\n+ \"updatedAt\": \"2023-06-22T00:37:17.941Z\",\n+ },\n+ Object {\n+ \"_id\": \"a9465ae3b87c5fcf3707fdcc\",\n+ \"createdAt\": \"2023-06-21T23:43:12.367Z\",\n+ \"gameId\": \"e3b38e44b677a3dfbcb82db6\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"all\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"9de5dac8c4ebdf33f24fb3b5\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Cristopher\",\n+ \"position\": 7144010332241920,\n+ \"role\": Object {\n+ \"current\": \"fox\",\n+ \"isRevealed\": false,\n+ \"original\": \"fox\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 6705203636076544,\n+ \"turn\": 5784372498137088,\n+ \"updatedAt\": \"2023-06-21T19:05:14.451Z\",\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/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)", @@ -35181,11 +35894,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "423" + "424" ], "coveredBy": [ - "423", - "424" + "424", + "425" ], "location": { "end": { @@ -35199,7 +35912,7 @@ } }, { - "id": "933", + "id": "958", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(74,93): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35207,7 +35920,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "425" + "426" ], "location": { "end": { @@ -35221,14 +35934,14 @@ } }, { - "id": "934", + "id": "959", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "425" + "426" ], "location": { "end": { @@ -35242,7 +35955,7 @@ } }, { - "id": "935", + "id": "960", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "MongoServerError: $and/$or/$nor must be a nonempty array\n at Connection.onMessage (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/mongodb/src/cmap/connection.ts:413:18)\n at MessageStream. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/mongodb/src/cmap/connection.ts:243:56)\n at MessageStream.emit (node:events:511:28)\n at MessageStream.emit (node:domain:489:12)\n at processIncomingData (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/mongodb/src/cmap/message_stream.ts:187:12)\n at MessageStream._write (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/mongodb/src/cmap/message_stream.ts:68:5)\n at writeOrBuffer (node:internal/streams/writable:399:12)\n at _write (node:internal/streams/writable:340:10)\n at MessageStream.Writable.write (node:internal/streams/writable:344:10)\n at Socket.ondata (node:internal/streams/readable:774:22)\n at Socket.emit (node:events:511:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:332:12)\n at readableAddChunk (node:internal/streams/readable:305:9)\n at Socket.Readable.push (node:internal/streams/readable:242:10)\n at TCP.onStreamRead (node:internal/stream_base_commons:190:23)", @@ -35250,10 +35963,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "425" + "426" ], "coveredBy": [ - "425" + "426" ], "location": { "end": { @@ -35267,14 +35980,14 @@ } }, { - "id": "936", + "id": "961", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "425" + "426" ], "location": { "end": { @@ -35288,7 +36001,7 @@ } }, { - "id": "937", + "id": "962", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 160\n\n@@ -1,7 +1,41 @@\n Array [\n Object {\n+ \"_id\": \"b9e0731a6d787dafabe3e2bd\",\n+ \"createdAt\": \"2023-06-21T15:16:56.974Z\",\n+ \"gameId\": \"bdcc8ac94a9bee90cc06a7dc\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"didJudgeRequestAnotherVote\": false,\n+ \"source\": Object {\n+ \"name\": \"all\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"321ffceb4aeac3c90a35d26d\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Valentine\",\n+ \"position\": 1330026444226560,\n+ \"role\": Object {\n+ \"current\": \"villager-villager\",\n+ \"isRevealed\": true,\n+ \"original\": \"villager\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 2513181331161088,\n+ \"turn\": 6989658808385536,\n+ \"updatedAt\": \"2023-06-21T21:54:13.832Z\",\n+ },\n+ Object {\n \"_id\": \"8006ab25a1acee03fe01f13b\",\n \"createdAt\": \"2023-06-21T14:25:04.727Z\",\n \"gameId\": \"bdcc8ac94a9bee90cc06a7dc\",\n \"phase\": \"night\",\n \"play\": Object {\n@@ -67,10 +101,136 @@\n ],\n },\n \"tick\": 3949165486800896,\n \"turn\": 5002354294259712,\n \"updatedAt\": \"2023-06-22T00:18:28.879Z\",\n+ },\n+ Object {\n+ \"_id\": \"edadddf5da8b6c4cfd5bbda8\",\n+ \"createdAt\": \"2023-06-21T12:28:32.593Z\",\n+ \"gameId\": \"bdcc8ac94a9bee90cc06a7dc\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"guard\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"fae8ad0669baeb24e4ac031d\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Kade\",\n+ \"position\": 5523044816650240,\n+ \"role\": Object {\n+ \"current\": \"guard\",\n+ \"isRevealed\": false,\n+ \"original\": \"guard\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"player\": Object {\n+ \"_id\": \"1ed361a8bac884e69cb75e33\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Christina\",\n+ \"position\": 2973303857741824,\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\": 3663262195384320,\n+ \"turn\": 846617708068864,\n+ \"updatedAt\": \"2023-06-22T06:28:16.580Z\",\n+ },\n+ Object {\n+ \"_id\": \"1c19acfaa26afe4dd442accd\",\n+ \"createdAt\": \"2023-06-22T05:10:14.375Z\",\n+ \"gameId\": \"bdcc8ac94a9bee90cc06a7dc\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"4b3a45aeec12df44ba8ccdb2\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Hettie\",\n+ \"position\": 7184600174428160,\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\": \"fbdf464097aeaf1c3eaef9f1\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Kyleigh\",\n+ \"position\": 4858531693985792,\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\": \"6cfeb73cbf740fdf56c8da03\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Elena\",\n+ \"position\": 4500575074910208,\n+ \"role\": Object {\n+ \"current\": \"ancient\",\n+ \"isRevealed\": false,\n+ \"original\": \"ancient\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 1035579074543616,\n+ \"turn\": 3744421835177984,\n+ \"updatedAt\": \"2023-06-22T00:42:01.899Z\",\n },\n Object {\n \"_id\": \"58a59445a9b75e9b5d52fff4\",\n \"createdAt\": \"2023-06-22T02:11:57.403Z\",\n \"gameId\": \"bdcc8ac94a9bee90cc06a7dc\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:446:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -35296,10 +36009,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "425" + "426" ], "coveredBy": [ - "425" + "426" ], "location": { "end": { @@ -35313,14 +36026,14 @@ } }, { - "id": "938", + "id": "963", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "425" + "426" ], "location": { "end": { @@ -35334,7 +36047,7 @@ } }, { - "id": "939", + "id": "964", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 73\n\n@@ -69,10 +69,83 @@\n \"tick\": 6910604872777728,\n \"turn\": 4648625707679744,\n \"updatedAt\": \"2023-06-22T01:44:50.856Z\",\n },\n Object {\n+ \"_id\": \"f7b59505cac012bdbb8adddd\",\n+ \"createdAt\": \"2023-06-22T00:08:00.030Z\",\n+ \"gameId\": \"dde03e1bfe16fe53a58f466a\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"be0fe2f7afdeb39a682399c4\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Donna\",\n+ \"position\": 5695993318211584,\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\": \"226afe4e5c3dc4dd1ff2ca27\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Johanna\",\n+ \"position\": 3339690730061824,\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\": \"fda35cfbb2d6cf3aacb74112\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Ramon\",\n+ \"position\": 8075231459540992,\n+ \"role\": Object {\n+ \"current\": \"ancient\",\n+ \"isRevealed\": false,\n+ \"original\": \"ancient\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 7653156003512320,\n+ \"turn\": 808897763868672,\n+ \"updatedAt\": \"2023-06-21T18:51:53.070Z\",\n+ },\n+ Object {\n \"_id\": \"ae1ffa51ada1b96dfd1eaddd\",\n \"createdAt\": \"2023-06-22T09:01:05.465Z\",\n \"gameId\": \"dde03e1bfe16fe53a58f466a\",\n \"phase\": \"day\",\n \"play\": Object {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:446:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -35342,10 +36055,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "425" + "426" ], "coveredBy": [ - "425" + "426" ], "location": { "end": { @@ -35359,7 +36072,7 @@ } }, { - "id": "940", + "id": "965", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(98,70): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35367,9 +36080,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "426", "427", - "467" + "428", + "468" ], "location": { "end": { @@ -35383,7 +36096,7 @@ } }, { - "id": "941", + "id": "966", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toBeNull()\n\nReceived: {\"_id\": \"e655d6c6ba75cffee0e9eabc\", \"createdAt\": \"2023-06-22T06:24:27.289Z\", \"gameId\": \"22705d05386b90552bce9bee\", \"phase\": \"day\", \"play\": {\"action\": \"vote\", \"source\": {\"name\": \"all\", \"players\": [{\"_id\": \"f252b0e59892be18a43ce57d\", \"attributes\": [], \"isAlive\": true, \"name\": \"Nettie\", \"position\": 2446034122833920, \"role\": {\"current\": \"cupid\", \"isRevealed\": true, \"original\": \"cupid\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}]}}, \"tick\": 1254910215585792, \"turn\": 7653587674988544, \"updatedAt\": \"2023-06-21T14:41:59.943Z\"}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:463:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -35391,12 +36104,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "426" + "427" ], "coveredBy": [ - "426", "427", - "467" + "428", + "468" ], "location": { "end": { @@ -35410,7 +36123,7 @@ } }, { - "id": "942", + "id": "967", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 12\n+ Received + 12\n\n Object {\n- \"_id\": \"cbc80e2a6c26f7745a99eb48\",\n- \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"_id\": \"938fbe5942a0dfc6bed103dd\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"fd179dd4bd82c3f9ca4daacc\",\n \"phase\": \"night\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"all\",\n \"players\": Array [\n Object {\n- \"_id\": \"03ae7dfaa5e4a0a9a19ea82d\",\n+ \"_id\": \"afc21dfdb5aeba54d2634fcb\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Camille\",\n- \"position\": 8013128237318144,\n+ \"name\": \"Krystel\",\n+ \"position\": 7619279558017024,\n \"role\": Object {\n- \"current\": \"hunter\",\n- \"isRevealed\": true,\n- \"original\": \"angel\",\n+ \"current\": \"villager\",\n+ \"isRevealed\": false,\n+ \"original\": \"little-girl\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n+ \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 4805718127411200,\n- \"turn\": 3884119861755904,\n- \"updatedAt\": \"2023-06-23T03:28:58.272Z\",\n+ \"tick\": 2386344011628544,\n+ \"turn\": 2647308118261760,\n+ \"updatedAt\": \"2023-06-23T14:31:09.876Z\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:477:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -35418,12 +36131,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "427" + "428" ], "coveredBy": [ - "426", "427", - "467" + "428", + "468" ], "location": { "end": { @@ -35437,16 +36150,16 @@ } }, { - "id": "943", + "id": "968", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "426", "427", - "467" + "428", + "468" ], "location": { "end": { @@ -35460,7 +36173,7 @@ } }, { - "id": "944", + "id": "969", "mutatorName": "UnaryOperator", "replacement": "+1", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 11\n\n Object {\n- \"_id\": \"cdd028f4b704bdcdfcbef8fc\",\n- \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"_id\": \"1901b8bbf99556cd45bfd36b\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"8d5acd7d69b5eb6d9a99228e\",\n \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"all\",\n \"players\": Array [\n Object {\n- \"_id\": \"faabced7b0c7dfcddbb01d53\",\n+ \"_id\": \"ca57abc8d76858ffad7d515a\",\n \"attributes\": Array [],\n \"isAlive\": false,\n- \"name\": \"Ahmed\",\n- \"position\": 4667787140136960,\n+ \"name\": \"Heath\",\n+ \"position\": 1389580775325696,\n \"role\": Object {\n- \"current\": \"werewolf\",\n+ \"current\": \"fox\",\n \"isRevealed\": true,\n- \"original\": \"witch\",\n+ \"original\": \"seer\",\n },\n \"side\": Object {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 7274004754726912,\n- \"turn\": 2165016407048192,\n- \"updatedAt\": \"2023-06-23T14:36:38.215Z\",\n+ \"tick\": 8100373956919296,\n+ \"turn\": 1803205421826048,\n+ \"updatedAt\": \"2023-06-23T20:33:35.823Z\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:477:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -35468,12 +36181,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "427" + "428" ], "coveredBy": [ - "426", "427", - "467" + "428", + "468" ], "location": { "end": { @@ -35493,7 +36206,7 @@ "language": "typescript", "mutants": [ { - "id": "945", + "id": "970", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game.repository.ts(12,62): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35501,8 +36214,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "428", - "429" + "429", + "430" ], "location": { "end": { @@ -35516,7 +36229,7 @@ } }, { - "id": "946", + "id": "971", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game.repository.ts(16,60): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35524,18 +36237,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "441", "442", - "458", + "443", "459", "460", - "462", + "461", "463", "464", "465", "466", "467", - "468" + "468", + "469" ], "location": { "end": { @@ -35549,7 +36262,7 @@ } }, { - "id": "947", + "id": "972", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game.repository.ts(20,45): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35557,8 +36270,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "455", - "456" + "456", + "457" ], "location": { "end": { @@ -35572,7 +36285,7 @@ } }, { - "id": "948", + "id": "973", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/repositories/game.repository.ts(24,111): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35580,9 +36293,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "460", - "467", - "468" + "461", + "468", + "469" ], "location": { "end": { @@ -35596,7 +36309,7 @@ } }, { - "id": "949", + "id": "974", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -76,11 +76,11 @@\n },\n },\n },\n \"phase\": \"night\",\n \"players\": Array [],\n- \"status\": \"canceled\",\n+ \"status\": \"playing\",\n \"tick\": 4739597846183936,\n \"turn\": 8679216635707392,\n \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:533:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -35604,12 +36317,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "460" + "461" ], "coveredBy": [ - "460", - "467", - "468" + "461", + "468", + "469" ], "location": { "end": { @@ -35623,7 +36336,7 @@ } }, { - "id": "950", + "id": "975", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -76,11 +76,11 @@\n },\n },\n },\n \"phase\": \"day\",\n \"players\": Array [],\n- \"status\": \"canceled\",\n+ \"status\": \"playing\",\n \"tick\": 4012024075911168,\n \"turn\": 8747430052888576,\n \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:533:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -35631,12 +36344,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "460" + "461" ], "coveredBy": [ - "460", - "467", - "468" + "461", + "468", + "469" ], "location": { "end": { @@ -35656,7 +36369,7 @@ "language": "typescript", "mutants": [ { - "id": "951", + "id": "976", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(22,95): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35664,7 +36377,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "605" + "606" ], "location": { "end": { @@ -35678,7 +36391,7 @@ } }, { - "id": "952", + "id": "977", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(27,79): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35686,7 +36399,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "606" + "607" ], "location": { "end": { @@ -35700,7 +36413,7 @@ } }, { - "id": "953", + "id": "978", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(31,76): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35708,7 +36421,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "607" + "608" ], "location": { "end": { @@ -35722,7 +36435,7 @@ } }, { - "id": "954", + "id": "979", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(35,109): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35730,9 +36443,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "468", - "608", - "609" + "469", + "609", + "610" ], "location": { "end": { @@ -35746,7 +36459,7 @@ } }, { - "id": "955", + "id": "980", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(39,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35754,7 +36467,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "610" + "611" ], "location": { "end": { @@ -35768,7 +36481,7 @@ } }, { - "id": "956", + "id": "981", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(43,75): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35776,7 +36489,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "611" + "612" ], "location": { "end": { @@ -35790,7 +36503,7 @@ } }, { - "id": "957", + "id": "982", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(47,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35798,7 +36511,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "612" + "613" ], "location": { "end": { @@ -35812,7 +36525,7 @@ } }, { - "id": "958", + "id": "983", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(51,93): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35820,7 +36533,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "613" + "614" ], "location": { "end": { @@ -35834,7 +36547,7 @@ } }, { - "id": "959", + "id": "984", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(55,70): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -35842,8 +36555,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "467", - "614" + "468", + "615" ], "location": { "end": { @@ -35857,20 +36570,20 @@ } }, { - "id": "960", + "id": "985", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "615", "616", "617", "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -35884,7 +36597,7 @@ } }, { - "id": "961", + "id": "986", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(62,66): error TS18048: 'unmatchedSource' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(66,66): error TS18048: 'unmatchedTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(70,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(74,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(76,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(77,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", @@ -35892,13 +36605,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "615", "616", "617", "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -35912,7 +36625,7 @@ } }, { - "id": "962", + "id": "987", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(62,66): error TS18048: 'unmatchedSource' is possibly 'undefined'.\n", @@ -35920,13 +36633,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "615", "616", "617", "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -35940,7 +36653,7 @@ } }, { - "id": "963", + "id": "988", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: ResourceNotFoundException\n\nReceived function did not throw\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:223:109\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -35948,10 +36661,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "615" + "616" ], "coveredBy": [ - "615" + "616" ], "location": { "end": { @@ -35965,7 +36678,7 @@ } }, { - "id": "964", + "id": "989", "mutatorName": "OptionalChaining", "replacement": "play.targets.map", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(64,64): error TS18048: 'play.targets' is possibly 'undefined'.\n", @@ -35973,12 +36686,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "616", "617", "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -35992,7 +36705,7 @@ } }, { - "id": "965", + "id": "990", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(64,64): error TS2345: Argument of type 'undefined[] | undefined' is not assignable to parameter of type 'Player[] | undefined'.\n Type 'undefined[]' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -36000,8 +36713,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "616", - "620" + "617", + "621" ], "location": { "end": { @@ -36015,7 +36728,7 @@ } }, { - "id": "966", + "id": "991", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(66,66): error TS18048: 'unmatchedTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(70,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(74,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(76,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(77,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", @@ -36023,12 +36736,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "616", "617", "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -36042,7 +36755,7 @@ } }, { - "id": "967", + "id": "992", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(66,66): error TS18048: 'unmatchedTarget' is possibly 'undefined'.\n", @@ -36050,12 +36763,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "616", "617", "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -36069,14 +36782,14 @@ } }, { - "id": "968", + "id": "993", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "616" + "617" ], "location": { "end": { @@ -36090,7 +36803,7 @@ } }, { - "id": "969", + "id": "994", "mutatorName": "OptionalChaining", "replacement": "play.votes.map", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(68,63): error TS18048: 'play.votes' is possibly 'undefined'.\n", @@ -36098,11 +36811,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "617", "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -36116,7 +36829,7 @@ } }, { - "id": "970", + "id": "995", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(68,63): error TS2345: Argument of type 'undefined[] | undefined' is not assignable to parameter of type 'Player[] | undefined'.\n Type 'undefined[]' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -36124,9 +36837,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "617", "618", - "620" + "619", + "621" ], "location": { "end": { @@ -36140,7 +36853,7 @@ } }, { - "id": "971", + "id": "996", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(70,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(74,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(76,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(77,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", @@ -36148,11 +36861,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "617", "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -36166,7 +36879,7 @@ } }, { - "id": "972", + "id": "997", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(70,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\n", @@ -36174,11 +36887,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "617", "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -36192,14 +36905,14 @@ } }, { - "id": "973", + "id": "998", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "617" + "618" ], "location": { "end": { @@ -36213,7 +36926,7 @@ } }, { - "id": "974", + "id": "999", "mutatorName": "OptionalChaining", "replacement": "play.votes.map", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(72,68): error TS18048: 'play.votes' is possibly 'undefined'.\n", @@ -36221,10 +36934,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -36238,7 +36951,7 @@ } }, { - "id": "975", + "id": "1000", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(72,68): error TS2345: Argument of type 'undefined[] | undefined' is not assignable to parameter of type 'Player[] | undefined'.\n Type 'undefined[]' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -36246,8 +36959,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", - "620" + "619", + "621" ], "location": { "end": { @@ -36261,7 +36974,7 @@ } }, { - "id": "976", + "id": "1001", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(74,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(76,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(77,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", @@ -36269,10 +36982,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -36286,7 +36999,7 @@ } }, { - "id": "977", + "id": "1002", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(74,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\n", @@ -36294,10 +37007,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -36311,14 +37024,14 @@ } }, { - "id": "978", + "id": "1003", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "618" + "619" ], "location": { "end": { @@ -36332,7 +37045,7 @@ } }, { - "id": "979", + "id": "1004", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(77,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", @@ -36340,9 +37053,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -36356,7 +37069,7 @@ } }, { - "id": "980", + "id": "1005", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(77,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", @@ -36364,9 +37077,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -36380,7 +37093,7 @@ } }, { - "id": "981", + "id": "1006", "mutatorName": "LogicalOperator", "replacement": "play.chosenCard || !getAdditionalCardWithId(game.additionalCards, play.chosenCard._id)", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(76,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(77,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", @@ -36388,9 +37101,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "619", "620", - "624" + "621", + "625" ], "location": { "end": { @@ -36404,15 +37117,15 @@ } }, { - "id": "982", + "id": "1007", "mutatorName": "BooleanLiteral", "replacement": "getAdditionalCardWithId(game.additionalCards, play.chosenCard._id)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "619", - "620" + "620", + "621" ], "location": { "end": { @@ -36426,7 +37139,7 @@ } }, { - "id": "983", + "id": "1008", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: ResourceNotFoundException\n\nReceived function did not throw\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:223:109\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -36434,10 +37147,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ - "619" + "620" ], "location": { "end": { @@ -36451,17 +37164,17 @@ } }, { - "id": "984", + "id": "1009", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "621", "622", "623", - "624" + "624", + "625" ], "location": { "end": { @@ -36475,7 +37188,7 @@ } }, { - "id": "985", + "id": "1010", "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 /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:271:41", @@ -36483,13 +37196,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ - "621", "622", "623", - "624" + "624", + "625" ], "location": { "end": { @@ -36503,7 +37216,7 @@ } }, { - "id": "986", + "id": "1011", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(87,58): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(89,66): error TS18048: 'unmatchedRevealedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(91,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(93,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(95,58): error TS2345: Argument of type 'Game | null' is not assignable to parameter of type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", @@ -36511,10 +37224,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "621", "622", "623", - "624" + "624", + "625" ], "location": { "end": { @@ -36528,7 +37241,7 @@ } }, { - "id": "987", + "id": "1012", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(87,58): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(91,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(95,58): error TS2345: Argument of type 'Game | null' is not assignable to parameter of type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", @@ -36536,10 +37249,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "621", "622", "623", - "624" + "624", + "625" ], "location": { "end": { @@ -36553,7 +37266,7 @@ } }, { - "id": "988", + "id": "1013", "mutatorName": "EqualityOperator", "replacement": "game !== null", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(87,58): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(91,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(95,58): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Game'.\n", @@ -36561,10 +37274,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "621", "622", "623", - "624" + "624", + "625" ], "location": { "end": { @@ -36578,7 +37291,7 @@ } }, { - "id": "989", + "id": "1014", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(85,58): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(89,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(93,58): error TS2345: Argument of type 'Game | null' is not assignable to parameter of type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", @@ -36586,7 +37299,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "621" + "622" ], "location": { "end": { @@ -36600,7 +37313,7 @@ } }, { - "id": "990", + "id": "1015", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(89,66): error TS18048: 'unmatchedRevealedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(91,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(93,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(95,58): error TS2345: Argument of type 'Game | null' is not assignable to parameter of type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", @@ -36608,9 +37321,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "622", "623", - "624" + "624", + "625" ], "location": { "end": { @@ -36624,7 +37337,7 @@ } }, { - "id": "991", + "id": "1016", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(89,66): error TS18048: 'unmatchedRevealedPlayer' is possibly 'undefined'.\n", @@ -36632,9 +37345,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "622", "623", - "624" + "624", + "625" ], "location": { "end": { @@ -36648,7 +37361,7 @@ } }, { - "id": "992", + "id": "1017", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:270:108\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -36656,10 +37369,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "622" + "623" ], "coveredBy": [ - "622" + "623" ], "location": { "end": { @@ -36673,7 +37386,7 @@ } }, { - "id": "993", + "id": "1018", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(93,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(95,58): error TS2345: Argument of type 'Game | null' is not assignable to parameter of type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", @@ -36681,8 +37394,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "623", - "624" + "624", + "625" ], "location": { "end": { @@ -36696,7 +37409,7 @@ } }, { - "id": "994", + "id": "1019", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(93,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\n", @@ -36704,8 +37417,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "623", - "624" + "624", + "625" ], "location": { "end": { @@ -36719,7 +37432,7 @@ } }, { - "id": "995", + "id": "1020", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:270:108\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -36727,10 +37440,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "623" + "624" ], "coveredBy": [ - "623" + "624" ], "location": { "end": { @@ -36750,7 +37463,7 @@ "language": "typescript", "mutants": [ { - "id": "996", + "id": "1021", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: Any\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:69:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -36875,7 +37588,7 @@ } }, { - "id": "997", + "id": "1022", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(28,33): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -36997,7 +37710,7 @@ } }, { - "id": "998", + "id": "1023", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(29,32): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -37119,7 +37832,7 @@ } }, { - "id": "999", + "id": "1024", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(30,34): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -37241,7 +37954,7 @@ } }, { - "id": "1000", + "id": "1025", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(31,24): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -37363,7 +38076,7 @@ } }, { - "id": "1001", + "id": "1026", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(32,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -37485,7 +38198,7 @@ } }, { - "id": "1002", + "id": "1027", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(33,30): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -37607,7 +38320,7 @@ } }, { - "id": "1003", + "id": "1028", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(34,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -37729,7 +38442,7 @@ } }, { - "id": "1004", + "id": "1029", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(35,26): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -37851,7 +38564,7 @@ } }, { - "id": "1005", + "id": "1030", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(36,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -37973,7 +38686,7 @@ } }, { - "id": "1006", + "id": "1031", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(37,23): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -38095,7 +38808,7 @@ } }, { - "id": "1007", + "id": "1032", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(38,30): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -38217,7 +38930,7 @@ } }, { - "id": "1008", + "id": "1033", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(39,28): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -38339,7 +39052,7 @@ } }, { - "id": "1009", + "id": "1034", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(40,29): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -38461,7 +39174,7 @@ } }, { - "id": "1010", + "id": "1035", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(41,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -38583,7 +39296,7 @@ } }, { - "id": "1011", + "id": "1036", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(42,26): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -38705,7 +39418,7 @@ } }, { - "id": "1012", + "id": "1037", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(43,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -38827,7 +39540,7 @@ } }, { - "id": "1013", + "id": "1038", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(44,39): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: Game) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -38949,7 +39662,7 @@ } }, { - "id": "1014", + "id": "1039", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(52,78): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -38976,8 +39689,8 @@ "142", "143", "144", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -38991,7 +39704,7 @@ } }, { - "id": "1015", + "id": "1040", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(58,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -39018,8 +39731,8 @@ "142", "143", "144", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -39033,7 +39746,7 @@ } }, { - "id": "1016", + "id": "1041", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(58,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -39060,8 +39773,8 @@ "142", "143", "144", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -39075,7 +39788,7 @@ } }, { - "id": "1017", + "id": "1042", "mutatorName": "EqualityOperator", "replacement": "gameSourcePlayMethod !== undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(58,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -39102,8 +39815,8 @@ "142", "143", "144", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -39117,7 +39830,7 @@ } }, { - "id": "1018", + "id": "1043", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(56,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -39140,7 +39853,7 @@ } }, { - "id": "1019", + "id": "1044", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(61,93): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -39163,7 +39876,7 @@ } }, { - "id": "1020", + "id": "1045", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(67,28): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -39186,7 +39899,7 @@ } }, { - "id": "1021", + "id": "1046", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(67,28): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -39209,7 +39922,7 @@ } }, { - "id": "1022", + "id": "1047", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(67,28): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -39232,7 +39945,7 @@ } }, { - "id": "1023", + "id": "1048", "mutatorName": "OptionalChaining", "replacement": "targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(64,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(67,28): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -39255,7 +39968,7 @@ } }, { - "id": "1024", + "id": "1049", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(65,28): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -39277,7 +39990,7 @@ } }, { - "id": "1025", + "id": "1050", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(69,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -39300,7 +40013,7 @@ } }, { - "id": "1026", + "id": "1051", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(75,28): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(78,54): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", @@ -39323,7 +40036,7 @@ } }, { - "id": "1027", + "id": "1052", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(75,28): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -39346,7 +40059,7 @@ } }, { - "id": "1028", + "id": "1053", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(75,28): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -39369,7 +40082,7 @@ } }, { - "id": "1029", + "id": "1054", "mutatorName": "OptionalChaining", "replacement": "targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(72,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(75,28): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -39392,7 +40105,7 @@ } }, { - "id": "1030", + "id": "1055", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(73,28): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -39414,7 +40127,7 @@ } }, { - "id": "1031", + "id": "1056", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(78,54): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", @@ -39436,7 +40149,7 @@ } }, { - "id": "1032", + "id": "1057", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(78,54): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", @@ -39458,7 +40171,7 @@ } }, { - "id": "1033", + "id": "1058", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -80,11 +80,18 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"cbb1ca353aa9a6c6adaabafe\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"sheriff\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"all\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Mariane\",\n \"position\": 7056867339534336,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:328:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -39483,7 +40196,7 @@ } }, { - "id": "1034", + "id": "1059", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(87,79): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -39507,7 +40220,7 @@ } }, { - "id": "1035", + "id": "1060", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:350:65)", @@ -39534,7 +40247,7 @@ } }, { - "id": "1036", + "id": "1061", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(90,37): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -39558,7 +40271,7 @@ } }, { - "id": "1037", + "id": "1062", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(91,41): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -39582,7 +40295,7 @@ } }, { - "id": "1038", + "id": "1063", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(97,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -39606,7 +40319,7 @@ } }, { - "id": "1039", + "id": "1064", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(97,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -39630,7 +40343,7 @@ } }, { - "id": "1040", + "id": "1065", "mutatorName": "EqualityOperator", "replacement": "sheriffPlayMethod !== undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(97,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -39654,7 +40367,7 @@ } }, { - "id": "1041", + "id": "1066", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(95,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -39676,7 +40389,7 @@ } }, { - "id": "1042", + "id": "1067", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(100,96): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -39693,7 +40406,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -39707,7 +40420,7 @@ } }, { - "id": "1043", + "id": "1068", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(108,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(111,7): error TS18048: 'ravenMarkedPlayerVoteCount' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(114,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-plays-maker.service.ts(114,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -39724,7 +40437,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -39738,7 +40451,7 @@ } }, { - "id": "1044", + "id": "1069", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(108,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(114,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-plays-maker.service.ts(114,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -39755,7 +40468,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -39769,7 +40482,7 @@ } }, { - "id": "1045", + "id": "1070", "mutatorName": "LogicalOperator", "replacement": "(clonedGame.currentPlay.action !== GAME_PLAY_ACTIONS.VOTE || ravenPlayer?.isAlive !== true || doesPlayerHaveAttribute(ravenPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) && ravenMarkedPlayer?.isAlive !== true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(108,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(114,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-plays-maker.service.ts(114,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -39786,7 +40499,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -39800,7 +40513,7 @@ } }, { - "id": "1046", + "id": "1071", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 27\n\n@@ -37,6 +37,33 @@\n \"original\": \"villagers\",\n },\n },\n 2,\n ],\n+ Array [\n+ Player {\n+ \"_id\": \"6cb56bf3ad565a40eb3cea04\",\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"raven-marked\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"raven\",\n+ },\n+ ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Nathan\",\n+ \"position\": 4409850391953408,\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+ 1,\n+ ],\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:387:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -39820,7 +40533,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -39834,7 +40547,7 @@ } }, { - "id": "1047", + "id": "1072", "mutatorName": "LogicalOperator", "replacement": "(clonedGame.currentPlay.action !== GAME_PLAY_ACTIONS.VOTE || ravenPlayer?.isAlive !== true) && doesPlayerHaveAttribute(ravenPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(105,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", @@ -39851,7 +40564,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -39865,7 +40578,7 @@ } }, { - "id": "1048", + "id": "1073", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(105,42): 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", @@ -39882,7 +40595,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -39896,7 +40609,7 @@ } }, { - "id": "1049", + "id": "1074", "mutatorName": "LogicalOperator", "replacement": "clonedGame.currentPlay.action !== GAME_PLAY_ACTIONS.VOTE && ravenPlayer?.isAlive !== true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(105,126): 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", @@ -39913,7 +40626,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -39927,7 +40640,7 @@ } }, { - "id": "1050", + "id": "1075", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 27\n\n@@ -37,6 +37,33 @@\n \"original\": \"villagers\",\n },\n },\n 2,\n ],\n+ Array [\n+ Player {\n+ \"_id\": \"b5ce0a7bfca78ec5acccb65e\",\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"raven-marked\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"raven\",\n+ },\n+ ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Kailyn\",\n+ \"position\": 8269289417080832,\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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:387:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -39947,7 +40660,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -39961,7 +40674,7 @@ } }, { - "id": "1051", + "id": "1076", "mutatorName": "EqualityOperator", "replacement": "clonedGame.currentPlay.action === GAME_PLAY_ACTIONS.VOTE", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 27\n\n@@ -37,6 +37,33 @@\n \"original\": \"villagers\",\n },\n },\n 2,\n ],\n+ Array [\n+ Player {\n+ \"_id\": \"dbe6faae485e637ad475dd2a\",\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"raven-marked\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"raven\",\n+ },\n+ ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Carolina\",\n+ \"position\": 6117427439992832,\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+ 5,\n+ ],\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:387:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -39981,7 +40694,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -39995,7 +40708,7 @@ } }, { - "id": "1052", + "id": "1077", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(106,40): 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", @@ -40011,7 +40724,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -40025,7 +40738,7 @@ } }, { - "id": "1053", + "id": "1078", "mutatorName": "EqualityOperator", "replacement": "ravenPlayer?.isAlive === true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(106,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", @@ -40041,7 +40754,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -40055,7 +40768,7 @@ } }, { - "id": "1054", + "id": "1079", "mutatorName": "OptionalChaining", "replacement": "ravenPlayer.isAlive", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(106,7): error TS18048: 'ravenPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(106,63): 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", @@ -40071,7 +40784,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -40085,7 +40798,7 @@ } }, { - "id": "1055", + "id": "1080", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 27\n\n@@ -37,6 +37,33 @@\n \"original\": \"villagers\",\n },\n },\n 2,\n ],\n+ Array [\n+ Player {\n+ \"_id\": \"758d2d0db8bd787de6e2b7dd\",\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"raven-marked\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"raven\",\n+ },\n+ ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Karine\",\n+ \"position\": 2243918529822720,\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+ 3,\n+ ],\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:419:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40104,7 +40817,7 @@ "158", "159", "164", - "467" + "468" ], "location": { "end": { @@ -40118,7 +40831,7 @@ } }, { - "id": "1056", + "id": "1081", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(107,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(113,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-plays-maker.service.ts(113,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -40144,7 +40857,7 @@ } }, { - "id": "1057", + "id": "1082", "mutatorName": "EqualityOperator", "replacement": "ravenMarkedPlayer?.isAlive === true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(107,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(113,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-plays-maker.service.ts(113,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -40170,7 +40883,7 @@ } }, { - "id": "1058", + "id": "1083", "mutatorName": "OptionalChaining", "replacement": "ravenMarkedPlayer.isAlive", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(104,7): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(107,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(113,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-plays-maker.service.ts(113,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -40196,7 +40909,7 @@ } }, { - "id": "1059", + "id": "1084", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 27\n\n@@ -37,6 +37,33 @@\n \"original\": \"villagers\",\n },\n },\n 2,\n ],\n+ Array [\n+ Player {\n+ \"_id\": \"eac5db1302a979cdc4d3d9ed\",\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"raven-marked\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"raven\",\n+ },\n+ ],\n+ \"death\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"George\",\n+ \"position\": 8137436330721280,\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+ 2,\n+ ],\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:467:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40225,7 +40938,7 @@ } }, { - "id": "1060", + "id": "1085", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(108,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(114,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-plays-maker.service.ts(114,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -40239,7 +40952,7 @@ "155", "156", "157", - "467" + "468" ], "location": { "end": { @@ -40253,7 +40966,7 @@ } }, { - "id": "1061", + "id": "1086", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "status": "Timeout", @@ -40276,7 +40989,7 @@ } }, { - "id": "1062", + "id": "1087", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 28\n+ Received + 1\n\n@@ -15,11 +15,11 @@\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- 1,\n+ 3,\n ],\n Array [\n Player {\n \"_id\": \"4cad648a4cc5b3fe99004bed\",\n \"attributes\": Array [],\n@@ -33,37 +33,10 @@\n \"original\": \"raven\",\n },\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n- },\n- },\n- 2,\n- ],\n- Array [\n- Player {\n- \"_id\": \"61a2cbdb582d66d244f6d2df\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"raven-marked\",\n- \"remainingPhases\": 2,\n- \"source\": \"raven\",\n- },\n- ],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Dean\",\n- \"position\": 1181770181509120,\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 2,\n ],\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:489:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40303,7 +41016,7 @@ } }, { - "id": "1063", + "id": "1088", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -40326,7 +41039,7 @@ } }, { - "id": "1064", + "id": "1089", "mutatorName": "EqualityOperator", "replacement": "playerVoteCount[0]._id.toString() !== ravenMarkedPlayer._id.toString()", "status": "Timeout", @@ -40349,7 +41062,7 @@ } }, { - "id": "1065", + "id": "1090", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(110,7): error TS18048: 'ravenMarkedPlayerVoteCount' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(113,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-plays-maker.service.ts(113,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -40373,7 +41086,7 @@ } }, { - "id": "1066", + "id": "1091", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(110,7): error TS18048: 'ravenMarkedPlayerVoteCount' is possibly 'undefined'.\n", @@ -40397,7 +41110,7 @@ } }, { - "id": "1067", + "id": "1092", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 28\n\n@@ -42,8 +42,35 @@\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- 7,\n+ 2,\n+ ],\n+ Array [\n+ Player {\n+ \"_id\": \"9bb5b605441a4c27005cbafa\",\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"raven-marked\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"raven\",\n+ },\n+ ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Thelma\",\n+ \"position\": 3780238832041984,\n+ \"role\": PlayerRole {\n+ \"current\": \"raven\",\n+ \"isRevealed\": false,\n+ \"original\": \"raven\",\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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:510:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40422,7 +41135,7 @@ } }, { - "id": "1068", + "id": "1093", "mutatorName": "AssignmentOperator", "replacement": "ravenMarkedPlayerVoteCount[1] -= markPenalty", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -42,8 +42,8 @@\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- 7,\n+ -3,\n ],\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:510:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40447,7 +41160,7 @@ } }, { - "id": "1069", + "id": "1094", "mutatorName": "ArrayDeclaration", "replacement": "[]", "status": "Timeout", @@ -40469,7 +41182,7 @@ } }, { - "id": "1070", + "id": "1095", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(113,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-plays-maker.service.ts(113,34): error TS2322: Type '[]' is not assignable to type 'PlayerVoteCount'.\n", @@ -40492,7 +41205,7 @@ } }, { - "id": "1071", + "id": "1096", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(119,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -40505,7 +41218,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40519,7 +41232,7 @@ } }, { - "id": "1072", + "id": "1097", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(122,5): error TS2740: Type 'MakeGamePlayVoteWithRelationsDto' is missing the following properties from type 'PlayerVoteCount[]': length, pop, push, concat, and 31 more.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(122,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", @@ -40532,7 +41245,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40546,7 +41259,7 @@ } }, { - "id": "1073", + "id": "1098", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"eb2352afa8c242fcecb8b9ef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Delaney\", \"position\": 1602626409988096, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"fbd73ca7e3a683a40fbbf396\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Freda\", \"position\": 936609287503872, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"fbd73ca7e3a683a40fbbf396\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Freda\", \"position\": 936609287503872, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"eb2352afa8c242fcecb8b9ef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Delaney\", \"position\": 1602626409988096, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 4]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:534:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40562,7 +41275,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40576,7 +41289,7 @@ } }, { - "id": "1074", + "id": "1099", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"624f2eaeb08f2cbefa6fbcb7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Barton\", \"position\": 5115813199609856, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"f6e9a16eec39e9d30ef0f4ba\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Michale\", \"position\": 3300622208073728, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2]]\nReceived:\n [[{\"_id\": \"624f2eaeb08f2cbefa6fbcb7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Barton\", \"position\": 5115813199609856, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"f6e9a16eec39e9d30ef0f4ba\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Michale\", \"position\": 3300622208073728, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:600:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40592,7 +41305,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40606,7 +41319,7 @@ } }, { - "id": "1075", + "id": "1100", "mutatorName": "EqualityOperator", "replacement": "vote.source._id.toString() !== sheriffPlayer?._id.toString()", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"7dc1d9dca9ebfe673df795e8\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Viva\", \"position\": 5293519864332288, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"fff86bb8fe6fe93eb3c4167e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Mckenna\", \"position\": 1660777419243520, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"fff86bb8fe6fe93eb3c4167e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Mckenna\", \"position\": 1660777419243520, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"7dc1d9dca9ebfe673df795e8\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Viva\", \"position\": 5293519864332288, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 4]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:534:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40622,7 +41335,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40636,7 +41349,7 @@ } }, { - "id": "1076", + "id": "1101", "mutatorName": "OptionalChaining", "replacement": "sheriffPlayer._id", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(124,66): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", @@ -40649,7 +41362,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40663,7 +41376,7 @@ } }, { - "id": "1077", + "id": "1102", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"e9f09eefced670afca41c5e7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Eddie\", \"position\": 1664463065317376, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"9ca4561bb111a933dec9cfce\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brain\", \"position\": 614011085258752, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"9ca4561bb111a933dec9cfce\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brain\", \"position\": 614011085258752, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"e9f09eefced670afca41c5e7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Eddie\", \"position\": 1664463065317376, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 4]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:523:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40679,7 +41392,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40693,7 +41406,7 @@ } }, { - "id": "1078", + "id": "1103", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"aab85b8155e2dac4fdce4fef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Miles\", \"position\": 1344965055610880, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"bce8abfd3c03b87bf4bddb92\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Kitty\", \"position\": 884123279294464, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2]]\nReceived:\n [[{\"_id\": \"aab85b8155e2dac4fdce4fef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Miles\", \"position\": 1344965055610880, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"bce8abfd3c03b87bf4bddb92\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Kitty\", \"position\": 884123279294464, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:600:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40709,7 +41422,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40723,7 +41436,7 @@ } }, { - "id": "1079", + "id": "1104", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.VOTE && isVoteSourceSheriff || doesSheriffHaveDoubledVote", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"dcb6cb7f2debcc15ca307c09\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Newton\", \"position\": 1278175470419968, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"ca3c5b4fe0da55cc4c1226fd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stanton\", \"position\": 6180388808425472, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"ca3c5b4fe0da55cc4c1226fd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stanton\", \"position\": 6180388808425472, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"dcb6cb7f2debcc15ca307c09\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Newton\", \"position\": 1278175470419968, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 4]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:523:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40739,7 +41452,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40753,7 +41466,7 @@ } }, { - "id": "1080", + "id": "1105", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"abac26f9b859fcee51d31d7d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Christop\", \"position\": 2041669767659520, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"3eace7aa0d88bba2b9f818dd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Madisen\", \"position\": 4853074155798528, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"3eace7aa0d88bba2b9f818dd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Madisen\", \"position\": 4853074155798528, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"abac26f9b859fcee51d31d7d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Christop\", \"position\": 2041669767659520, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 4]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:534:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40769,7 +41482,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40783,7 +41496,7 @@ } }, { - "id": "1081", + "id": "1106", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.VOTE || isVoteSourceSheriff", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"2cef2fee2f6de03a2fcaec8c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Chet\", \"position\": 4625836546195456, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"2e76bef6ddcca9d8f4ccc3e3\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Francisco\", \"position\": 4728222478499840, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"2e76bef6ddcca9d8f4ccc3e3\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Francisco\", \"position\": 4728222478499840, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"2cef2fee2f6de03a2fcaec8c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Chet\", \"position\": 4625836546195456, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 4]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:534:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40799,7 +41512,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40813,7 +41526,7 @@ } }, { - "id": "1082", + "id": "1107", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"e0df1945d5eade4cd27dfe07\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brennan\", \"position\": 8074447625912320, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"e3d1a256df0e3cce2facd31c\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Pearlie\", \"position\": 1923219839778816, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2]]\nReceived:\n [[{\"_id\": \"e0df1945d5eade4cd27dfe07\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brennan\", \"position\": 8074447625912320, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"e3d1a256df0e3cce2facd31c\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Pearlie\", \"position\": 1923219839778816, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:578:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40829,7 +41542,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40843,7 +41556,7 @@ } }, { - "id": "1083", + "id": "1108", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.VOTE", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"74fb3e8cfb2815ed43836a15\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Virgie\", \"position\": 6752678772211712, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"1635fd32a91e3b449f1faecd\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Mozelle\", \"position\": 6879653918670848, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2]]\nReceived:\n [[{\"_id\": \"74fb3e8cfb2815ed43836a15\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Virgie\", \"position\": 6752678772211712, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"1635fd32a91e3b449f1faecd\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Mozelle\", \"position\": 6879653918670848, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:567:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40859,7 +41572,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40873,7 +41586,7 @@ } }, { - "id": "1084", + "id": "1109", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"3d1cb86f56b5ea8ab10eedca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elliott\", \"position\": 4012684506824704, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"2ef96a440ea39ffe212af57d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Shyanne\", \"position\": 8560672042385408, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"2ef96a440ea39ffe212af57d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Shyanne\", \"position\": 8560672042385408, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"3d1cb86f56b5ea8ab10eedca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elliott\", \"position\": 4012684506824704, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"3d1cb86f56b5ea8ab10eedca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elliott\", \"position\": 4012684506824704, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:534:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40889,7 +41602,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40903,7 +41616,7 @@ } }, { - "id": "1085", + "id": "1110", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"7aef9dc2a5c768d9b0ac3ac0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Herbert\", \"position\": 7720128638615552, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"d567dcdab5727f7674ab2cbf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Maegan\", \"position\": 842764025593856, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"d567dcdab5727f7674ab2cbf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Maegan\", \"position\": 842764025593856, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 3]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:534:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40919,7 +41632,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40933,7 +41646,7 @@ } }, { - "id": "1086", + "id": "1111", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"eb2dcb5fd9279a9daefeecf5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aric\", \"position\": 4989865739419648, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"e8bbbe3b8b1a83da276f478a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Denis\", \"position\": 3760817816207360, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"e8bbbe3b8b1a83da276f478a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Denis\", \"position\": 3760817816207360, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"eb2dcb5fd9279a9daefeecf5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aric\", \"position\": 4989865739419648, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"eb2dcb5fd9279a9daefeecf5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aric\", \"position\": 4989865739419648, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:534:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40949,7 +41662,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40963,7 +41676,7 @@ } }, { - "id": "1087", + "id": "1112", "mutatorName": "EqualityOperator", "replacement": "value[0]._id.toString() !== vote.target._id.toString()", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"fac1dedf75edbac8a62a7f6f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Domingo\", \"position\": 4554066554257408, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"dfeaacb0fa188dfc2be30f0f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aiyana\", \"position\": 7607438295433216, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"dfeaacb0fa188dfc2be30f0f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aiyana\", \"position\": 7607438295433216, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 3]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:534:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40979,7 +41692,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -40993,7 +41706,7 @@ } }, { - "id": "1088", + "id": "1113", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(128,9): error TS18048: 'existingPlayerVoteCount' is possibly 'undefined'.\n", @@ -41006,7 +41719,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -41020,7 +41733,7 @@ } }, { - "id": "1089", + "id": "1114", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(128,9): error TS18048: 'existingPlayerVoteCount' is possibly 'undefined'.\n", @@ -41033,7 +41746,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -41047,7 +41760,7 @@ } }, { - "id": "1090", + "id": "1115", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"eafa898aca70fb7fe22ee5ba\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Curtis\", \"position\": 8107899154857984, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"dadfd0f98dad3ea3f171a6dd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Anissa\", \"position\": 5941633132527616, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"dadfd0f98dad3ea3f171a6dd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Anissa\", \"position\": 5941633132527616, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"eafa898aca70fb7fe22ee5ba\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Curtis\", \"position\": 8107899154857984, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"eafa898aca70fb7fe22ee5ba\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Curtis\", \"position\": 8107899154857984, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:534:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -41075,7 +41788,7 @@ } }, { - "id": "1091", + "id": "1116", "mutatorName": "AssignmentOperator", "replacement": "existingPlayerVoteCount[1] -= voteValue", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"edde701dd9fbcda45fc1eaa7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Richmond\", \"position\": 3774361200754688, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"ea9ec7265c38fa29dbf3eaef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Alexandro\", \"position\": 376349854269440, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"ea9ec7265c38fa29dbf3eaef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Alexandro\", \"position\": 376349854269440, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"edde701dd9fbcda45fc1eaa7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Richmond\", \"position\": 3774361200754688, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 0]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:534:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -41103,7 +41816,7 @@ } }, { - "id": "1092", + "id": "1117", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"f520bfb8c6fa505c55de1fdd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Caesar\", \"position\": 2780891713634304, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"5032afcbed45c3f7fafe326c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Sarina\", \"position\": 5835761154785280, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n []\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:534:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -41119,7 +41832,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -41133,7 +41846,7 @@ } }, { - "id": "1093", + "id": "1118", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(122,5): error TS2740: Type 'MakeGamePlayVoteWithRelationsDto' is missing the following properties from type 'PlayerVoteCount[]': length, pop, push, concat, and 31 more.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(122,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", @@ -41146,7 +41859,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -41160,7 +41873,7 @@ } }, { - "id": "1094", + "id": "1119", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(122,5): error TS2740: Type 'MakeGamePlayVoteWithRelationsDto' is missing the following properties from type 'PlayerVoteCount[]': length, pop, push, concat, and 31 more.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(132,9): error TS2322: Type 'string' is not assignable to type 'PlayerVoteCount'.\n", @@ -41173,7 +41886,7 @@ "162", "163", "164", - "467" + "468" ], "location": { "end": { @@ -41187,7 +41900,7 @@ } }, { - "id": "1095", + "id": "1120", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(135,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -41196,7 +41909,7 @@ "killedBy": [], "coveredBy": [ "164", - "467" + "468" ], "location": { "end": { @@ -41210,7 +41923,7 @@ } }, { - "id": "1096", + "id": "1121", "mutatorName": "MethodExpression", "replacement": "Math.min(...playerVoteCounts.map(playerVoteCount => playerVoteCount[1]))", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"8ca9af87cea2abcdf4e7fb70\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Nayeli\", \"position\": 6931674635960320, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c60e3b86befade0e40157c4c\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Leopold\", \"position\": 8803994044465152, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"6ceabee81a08b08bba0aaa77\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Patsy\", \"position\": 1750264621039616, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:625:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -41222,7 +41935,7 @@ ], "coveredBy": [ "164", - "467" + "468" ], "location": { "end": { @@ -41236,7 +41949,7 @@ } }, { - "id": "1097", + "id": "1122", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(139,31): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\n", @@ -41245,7 +41958,7 @@ "killedBy": [], "coveredBy": [ "164", - "467" + "468" ], "location": { "end": { @@ -41259,7 +41972,7 @@ } }, { - "id": "1098", + "id": "1123", "mutatorName": "MethodExpression", "replacement": "playerVoteCounts", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"bdddb0b6d1c03a68d7ad07f9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brittany\", \"position\": 8088475492417536, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"68f5fab3eace3c3d1aeaecfa\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Amina\", \"position\": 8778881376976896, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"bdddb0b6d1c03a68d7ad07f9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brittany\", \"position\": 8088475492417536, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"cb0ecba332dcb8c5a18a1ca6\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Mathias\", \"position\": 6866459407941632, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"68f5fab3eace3c3d1aeaecfa\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Amina\", \"position\": 8778881376976896, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:625:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -41271,7 +41984,7 @@ ], "coveredBy": [ "164", - "467" + "468" ], "location": { "end": { @@ -41285,7 +41998,7 @@ } }, { - "id": "1099", + "id": "1124", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"fd95f8ebcd6ebdedecedfa08\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Albina\", \"position\": 47133826744320, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c88a7c0f8d7145ccc3e7cb61\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Aiden\", \"position\": 6977555391315968, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n []\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:625:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -41297,7 +42010,7 @@ ], "coveredBy": [ "164", - "467" + "468" ], "location": { "end": { @@ -41311,7 +42024,7 @@ } }, { - "id": "1100", + "id": "1125", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"f7b6ac9eab5af2c1bbb7fbfa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Vesta\", \"position\": 1308477297262592, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b68ab6c9e95eaf4ca2fabf9a\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Alberto\", \"position\": 1871183507095552, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"f7b6ac9eab5af2c1bbb7fbfa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Vesta\", \"position\": 1308477297262592, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4f1ddfe1dcbdb8db9d3f7980\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Amelie\", \"position\": 961487707308032, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b68ab6c9e95eaf4ca2fabf9a\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Alberto\", \"position\": 1871183507095552, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:625:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -41323,7 +42036,7 @@ ], "coveredBy": [ "164", - "467" + "468" ], "location": { "end": { @@ -41337,7 +42050,7 @@ } }, { - "id": "1101", + "id": "1126", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"b39eec2a9c28b6fe80deed4b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Conrad\", \"position\": 3872176891494400, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"a7cb1a9f9048bef7ecb9befd\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Richmond\", \"position\": 1649527262019584, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n []\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:625:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -41349,7 +42062,7 @@ ], "coveredBy": [ "164", - "467" + "468" ], "location": { "end": { @@ -41363,7 +42076,7 @@ } }, { - "id": "1102", + "id": "1127", "mutatorName": "EqualityOperator", "replacement": "playerVoteCount[1] !== maxVotes", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"cb5bb810833c33c1941aee2d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dangelo\", \"position\": 6604136688648192, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"392912f6b796d2f7d9ed36af\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Jasen\", \"position\": 2651351448289280, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"a032af0eba7baebebb1fb299\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Francis\", \"position\": 8797240023842816, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:625:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -41375,7 +42088,7 @@ ], "coveredBy": [ "164", - "467" + "468" ], "location": { "end": { @@ -41389,7 +42102,7 @@ } }, { - "id": "1103", + "id": "1128", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(140,5): error TS2322: Type 'undefined[]' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -41398,7 +42111,7 @@ "killedBy": [], "coveredBy": [ "164", - "467" + "468" ], "location": { "end": { @@ -41412,7 +42125,7 @@ } }, { - "id": "1104", + "id": "1129", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(143,47): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -41430,7 +42143,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41444,7 +42157,7 @@ } }, { - "id": "1105", + "id": "1130", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(148,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", @@ -41462,7 +42175,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41476,7 +42189,7 @@ } }, { - "id": "1106", + "id": "1131", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(148,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", @@ -41494,7 +42207,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41508,7 +42221,7 @@ } }, { - "id": "1107", + "id": "1132", "mutatorName": "LogicalOperator", "replacement": "scapegoatPlayer || isPlayerAliveAndPowerful(scapegoatPlayer)", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(146,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(148,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", @@ -41526,7 +42239,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41540,7 +42253,7 @@ } }, { - "id": "1108", + "id": "1133", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:675:60)", @@ -41565,7 +42278,7 @@ } }, { - "id": "1109", + "id": "1134", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalledWith(...expected)\n\nExpected: not {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"sheriff\"}, {\"_id\": \"adf5a31e71556b1ec13b52ff\", \"additionalCards\": undefined, \"createdAt\": 2023-06-21T16:51:32.517Z, \"currentPlay\": {\"action\": \"choose-model\", \"cause\": undefined, \"source\": \"thief\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 3720439618600960}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"9ddd85f7af9fc3ab5fdac045\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Tatyana\", \"position\": 2748296808366080, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4e25ddda5aabe6ecb5fc43e5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Golden\", \"position\": 4986308367745024, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"5c90ddb1d1e834bf0abeecdd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Bernhard\", \"position\": 8411000193679360, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"cbbc33e73644c7f4e7dcdd61\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Sallie\", \"position\": 4429068642549760, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 3129092895408128, \"turn\": 5013695750995968, \"upcomingPlays\": [], \"updatedAt\": 2023-06-21T23:14:52.893Z, \"victory\": undefined}\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:689:68)", @@ -41585,7 +42298,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41599,7 +42312,7 @@ } }, { - "id": "1110", + "id": "1135", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"sheriff\"}, {\"_id\": \"ddb757cb86f1adedcc60aa7f\", \"additionalCards\": undefined, \"createdAt\": 2023-06-23T18:01:20.707Z, \"currentPlay\": {\"action\": \"charm\", \"cause\": undefined, \"source\": \"stuttering-judge\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 8966088089927680}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"c1d2a9baebcfacf52e9b237d\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Silas\", \"position\": 5065315023060992, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"dada8bffdbeb5f9cc15df0e7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Adele\", \"position\": 7324839224279040, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"baa85e8da87b4b8c2f58c4d7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Eli\", \"position\": 2420284527214592, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"d7a9b114cad3eb59dcbeb50a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Olen\", \"position\": 7000025873776640, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 8036238688780288, \"turn\": 1974964251000832, \"upcomingPlays\": [], \"updatedAt\": 2023-06-23T12:57:39.794Z, \"victory\": undefined}], but it was called with {\"action\": \"vote\", \"cause\": \"previous-votes-were-in-ties\", \"source\": \"all\"}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9325675/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:718:64)", @@ -41619,7 +42332,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41633,7 +42346,7 @@ } }, { - "id": "1111", + "id": "1136", "mutatorName": "EqualityOperator", "replacement": "sheriffPlayer?.isAlive !== true", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalledWith(...expected)\n\nExpected: not {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"sheriff\"}, {\"_id\": \"377baf0d3ad4298cae89adb3\", \"additionalCards\": undefined, \"createdAt\": 2023-06-22T04:10:16.937Z, \"currentPlay\": {\"action\": \"choose-side\", \"cause\": undefined, \"source\": \"little-girl\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 6230506999906304}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"13ffa0f2e4b99aac16e64867\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Chelsie\", \"position\": 1191366809878528, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"ac55caaada2a0ebbbc7a1df4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Darian\", \"position\": 6616978001231872, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"db682834fb74cbe1f5e48bf1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Demarco\", \"position\": 8958306653569024, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"468ec4f2775ed12ef286de2f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Madilyn\", \"position\": 5952204653461504, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 4889085978083328, \"turn\": 5703285302362112, \"upcomingPlays\": [], \"updatedAt\": 2023-06-21T14:03:47.016Z, \"victory\": undefined}\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:689:68)", @@ -41653,7 +42366,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41667,7 +42380,7 @@ } }, { - "id": "1112", + "id": "1137", "mutatorName": "OptionalChaining", "replacement": "sheriffPlayer.isAlive", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(151,9): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", @@ -41684,7 +42397,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41698,7 +42411,7 @@ } }, { - "id": "1113", + "id": "1138", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalledWith(...expected)\n\nExpected: not {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"sheriff\"}, {\"_id\": \"b8e59aaded81eeed32ccf99e\", \"additionalCards\": undefined, \"createdAt\": 2023-06-21T22:39:16.562Z, \"currentPlay\": {\"action\": \"meet-each-other\", \"cause\": undefined, \"source\": \"raven\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 3452381691904000}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"4ca1b93bf7c3dfeffdb816ad\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": false, \"name\": \"Lonny\", \"position\": 8105898830462976, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"9177ba4972da4ec4df6fd44f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Audie\", \"position\": 3567567731949568, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"8c9caadf4f78d3fdc1add1f8\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Michael\", \"position\": 267597461323776, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"dea59f52e9a3faa88e3ab0e4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gladys\", \"position\": 6229074970148864, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 4653113084477440, \"turn\": 4295425766981632, \"upcomingPlays\": [], \"updatedAt\": 2023-06-22T09:09:30.007Z, \"victory\": undefined}\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:703:68)", @@ -41718,7 +42431,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41732,7 +42445,7 @@ } }, { - "id": "1114", + "id": "1139", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"sheriff\"}, {\"_id\": \"f5b4fea1ee9b7c03a9e3eed5\", \"additionalCards\": undefined, \"createdAt\": 2023-06-23T12:43:38.070Z, \"currentPlay\": {\"action\": \"use-potions\", \"cause\": undefined, \"source\": \"fox\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 6150951073218560}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"ea890db43a1a2aef4a23cae0\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Lexie\", \"position\": 3077183792742400, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"2024ca4cb9beaeb44d8fcfda\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Emmitt\", \"position\": 7924162804842496, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"fdb9eadd112c183cbac0a4a7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Wilburn\", \"position\": 2602941261283328, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"cd4d9f4e2cebde26f9bfe880\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Orval\", \"position\": 4025844693467136, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 8184649662595072, \"turn\": 3340097141342208, \"upcomingPlays\": [], \"updatedAt\": 2023-06-23T16:44:11.375Z, \"victory\": undefined}], but it was called with {\"action\": \"vote\", \"cause\": \"previous-votes-were-in-ties\", \"source\": \"all\"}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:718:64)", @@ -41757,7 +42470,7 @@ } }, { - "id": "1115", + "id": "1140", "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/sandbox9325675/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:681:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -41765,7 +42478,7 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ "165", @@ -41776,7 +42489,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41790,7 +42503,7 @@ } }, { - "id": "1116", + "id": "1141", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 3\n\n@@ -1,12 +1,11 @@\n Object {\n \"_id\": \"89ee966ebedf90fb579acffc\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\n+ \"action\": \"look\",\n+ \"source\": \"seer\",\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": true,\n },\n@@ -145,13 +144,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 7679904155959296,\n \"turn\": 7451988400799744,\n- \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"source\": \"seer\",\n- },\n- ],\n+ \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:682:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -41798,7 +42511,7 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ "165", @@ -41809,7 +42522,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41823,7 +42536,7 @@ } }, { - "id": "1117", + "id": "1142", "mutatorName": "EqualityOperator", "replacement": "previousGameHistoryRecord?.play.votingResult === GAME_HISTORY_RECORD_VOTING_RESULTS.TIE", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 3\n\n@@ -1,12 +1,11 @@\n Object {\n \"_id\": \"c1177b989ca9b38a5cf0dc34\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\n+ \"action\": \"look\",\n+ \"source\": \"seer\",\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n },\n@@ -145,13 +144,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 2948374401646592,\n \"turn\": 5787429623562240,\n- \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"source\": \"seer\",\n- },\n- ],\n+ \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:682:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -41831,7 +42544,7 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ "165", @@ -41842,7 +42555,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41856,7 +42569,7 @@ } }, { - "id": "1118", + "id": "1143", "mutatorName": "OptionalChaining", "replacement": "previousGameHistoryRecord.play", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(156,9): error TS18047: 'previousGameHistoryRecord' is possibly 'null'.\n", @@ -41872,7 +42585,7 @@ "172", "173", "174", - "467" + "468" ], "location": { "end": { @@ -41886,7 +42599,7 @@ } }, { - "id": "1119", + "id": "1144", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 3\n\n@@ -1,12 +1,11 @@\n Object {\n \"_id\": \"0c04dbc641bcdb15aa829cb7\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\n+ \"action\": \"look\",\n+ \"source\": \"seer\",\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n },\n@@ -145,13 +144,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 2640398765785088,\n \"turn\": 5850406200541184,\n- \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"source\": \"seer\",\n- },\n- ],\n+ \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:682:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -41894,7 +42607,7 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ "165", @@ -41904,7 +42617,7 @@ "170", "172", "173", - "467" + "468" ], "location": { "end": { @@ -41918,7 +42631,7 @@ } }, { - "id": "1120", + "id": "1145", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", @@ -41932,7 +42645,7 @@ "170", "172", "173", - "467" + "468" ], "location": { "end": { @@ -41946,7 +42659,7 @@ } }, { - "id": "1121", + "id": "1146", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(163,108): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -41959,7 +42672,7 @@ "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -41973,7 +42686,7 @@ } }, { - "id": "1122", + "id": "1147", "mutatorName": "BooleanLiteral", "replacement": "votes", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(168,55): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n", @@ -41986,7 +42699,7 @@ "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -42000,7 +42713,7 @@ } }, { - "id": "1123", + "id": "1148", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(168,55): 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", @@ -42013,7 +42726,7 @@ "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -42027,7 +42740,7 @@ } }, { - "id": "1124", + "id": "1149", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(168,55): 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", @@ -42040,7 +42753,7 @@ "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -42054,7 +42767,7 @@ } }, { - "id": "1125", + "id": "1150", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(166,55): 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", @@ -42076,7 +42789,7 @@ } }, { - "id": "1126", + "id": "1151", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -150,8 +150,13 @@\n \"upcomingPlays\": Array [\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n },\n+ Object {\n+ \"action\": \"vote\",\n+ \"cause\": \"stuttering-judge-request\",\n+ \"source\": \"all\",\n+ },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:682:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -42084,14 +42797,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ "176", "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -42105,7 +42818,7 @@ } }, { - "id": "1127", + "id": "1152", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"462f42aa60f0dcd2ddd5eeec\", \"additionalCards\": undefined, \"createdAt\": 2023-06-22T22:33:52.185Z, \"currentPlay\": {\"action\": \"meet-each-other\", \"cause\": undefined, \"source\": \"vile-father-of-wolves\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5200264694857728}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"ef3fc9e9c65061adae02abc4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Erling\", \"position\": 2800676822319104, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6f4fd19f8a4fc4b4d4cccd3e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dominic\", \"position\": 2172278477422592, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"64e7fe8debdfcde03dd4c53b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stanton\", \"position\": 3874114257289216, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bda7f3cfc0165e6bf2fad4d5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Shane\", \"position\": 642649193185280, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 1329011586236416, \"turn\": 7015852719210496, \"upcomingPlays\": [{\"action\": \"vote\", \"cause\": \"stuttering-judge-request\", \"source\": \"all\"}], \"updatedAt\": 2023-06-23T05:51:59.802Z, \"victory\": undefined}], but it was called with {\"_id\": \"462f42aa60f0dcd2ddd5eeec\", \"additionalCards\": undefined, \"createdAt\": 2023-06-22T22:33:52.185Z, \"currentPlay\": {\"action\": \"meet-each-other\", \"cause\": undefined, \"source\": \"vile-father-of-wolves\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5200264694857728}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"ef3fc9e9c65061adae02abc4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Erling\", \"position\": 2800676822319104, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6f4fd19f8a4fc4b4d4cccd3e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dominic\", \"position\": 2172278477422592, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"64e7fe8debdfcde03dd4c53b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stanton\", \"position\": 3874114257289216, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bda7f3cfc0165e6bf2fad4d5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Shane\", \"position\": 642649193185280, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 1329011586236416, \"turn\": 7015852719210496, \"upcomingPlays\": [], \"updatedAt\": 2023-06-23T05:51:59.802Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:858:65)", @@ -42120,7 +42833,7 @@ "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -42134,7 +42847,7 @@ } }, { - "id": "1128", + "id": "1153", "mutatorName": "EqualityOperator", "replacement": "doesJudgeRequestAnotherVote !== true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 8224316189573120,\n \"turn\": 1773976277745664,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"cause\": \"stuttering-judge-request\",\n+ \"source\": \"all\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-22T23:00:11.588Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:814:77)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -42149,7 +42862,7 @@ "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -42163,7 +42876,7 @@ } }, { - "id": "1129", + "id": "1154", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", @@ -42174,7 +42887,7 @@ "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -42188,7 +42901,7 @@ } }, { - "id": "1130", + "id": "1155", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -42209,7 +42922,7 @@ } }, { - "id": "1131", + "id": "1156", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"dd2dfab3a86acb3668fadcee\", \"additionalCards\": undefined, \"createdAt\": 2023-06-21T23:47:58.514Z, \"currentPlay\": {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"bear-tamer\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 3298589428154368}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"dcf745ce6ac5dc3f32dbbaf0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Heath\", \"position\": 6475633586601984, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"986d0e6b184babcb1e74e2ce\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Akeem\", \"position\": 1503605322416128, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"bf1dedb1db33b10bb79c2be1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Trenton\", \"position\": 1222875696594944, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"4be2da328dec7a40fcaad210\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aron\", \"position\": 2858505885188096, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 2203781945098240, \"turn\": 5244350598479872, \"upcomingPlays\": [{\"action\": \"vote\", \"cause\": \"stuttering-judge-request\", \"source\": \"all\"}], \"updatedAt\": 2023-06-22T02:07:08.011Z, \"victory\": undefined}], but it was called with {\"_id\": \"dd2dfab3a86acb3668fadcee\", \"additionalCards\": undefined, \"createdAt\": 2023-06-21T23:47:58.514Z, \"currentPlay\": {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"bear-tamer\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 3298589428154368}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"dcf745ce6ac5dc3f32dbbaf0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Heath\", \"position\": 6475633586601984, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"986d0e6b184babcb1e74e2ce\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Akeem\", \"position\": 1503605322416128, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"bf1dedb1db33b10bb79c2be1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Trenton\", \"position\": 1222875696594944, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"4be2da328dec7a40fcaad210\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aron\", \"position\": 2858505885188096, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 2203781945098240, \"turn\": 5244350598479872, \"upcomingPlays\": [{\"action\": \"vote\", \"cause\": undefined, \"source\": \"all\"}], \"updatedAt\": 2023-06-22T02:07:08.011Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:857:65)", @@ -42234,7 +42947,7 @@ } }, { - "id": "1132", + "id": "1157", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"1be60f4faad9774efbbdbeb6\", \"additionalCards\": undefined, \"createdAt\": 2023-06-21T12:39:34.639Z, \"currentPlay\": {\"action\": \"shoot\", \"cause\": undefined, \"source\": \"vile-father-of-wolves\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 4284061598089216}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"cd6d6fae8e7b26f74fbbc61d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Syble\", \"position\": 5150188651937792, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f0da8f9acae207d4a1eb5eca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aurelie\", \"position\": 977214852038656, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"ab9dc6976148f02e481a536b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Amari\", \"position\": 2759536200908800, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"fd5c4b6dfee6a5daa44cbfbb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Cristopher\", \"position\": 6667563715002368, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 3791354888978432, \"turn\": 7599873371144192, \"upcomingPlays\": [], \"updatedAt\": 2023-06-21T13:19:51.810Z, \"victory\": undefined}\nReceived: undefined\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:813:77)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -42249,7 +42962,7 @@ "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -42263,7 +42976,7 @@ } }, { - "id": "1133", + "id": "1158", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:833:65)", @@ -42278,7 +42991,7 @@ "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -42292,7 +43005,7 @@ } }, { - "id": "1134", + "id": "1159", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:878:60)", @@ -42307,7 +43020,7 @@ "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -42321,7 +43034,7 @@ } }, { - "id": "1135", + "id": "1160", "mutatorName": "EqualityOperator", "replacement": "nominatedPlayers.length <= 1", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"2fd2fd1adb4cacf4332e99fb\", \"additionalCards\": undefined, \"createdAt\": 2023-06-21T21:40:48.591Z, \"currentPlay\": {\"action\": \"elect-sheriff\", \"cause\": undefined, \"source\": \"dog-wolf\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"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\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2912443953053696}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"51a8bb0ac71aebb42d7bb0c1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Adrain\", \"position\": 735304721891328, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"9ee21dc6ff3dac1a2d5c73bc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jason\", \"position\": 3197736673345536, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"bef95ff698ebb17dc9e2e428\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ian\", \"position\": 3991080733245440, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"6b0624e7c7f061bee8b205e4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rhianna\", \"position\": 2461955323330560, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 327609573441536, \"turn\": 5482234079346688, \"upcomingPlays\": [], \"updatedAt\": 2023-06-21T17:54:34.908Z, \"victory\": undefined}\nReceived: undefined\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:813:77)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -42336,7 +43049,7 @@ "177", "178", "179", - "467" + "468" ], "location": { "end": { @@ -42350,7 +43063,7 @@ } }, { - "id": "1136", + "id": "1161", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:833:65)", @@ -42363,7 +43076,7 @@ "coveredBy": [ "177", "178", - "467" + "468" ], "location": { "end": { @@ -42377,7 +43090,7 @@ } }, { - "id": "1137", + "id": "1162", "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:105:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:813:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -42403,7 +43116,7 @@ } }, { - "id": "1138", + "id": "1163", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:878:60)", @@ -42429,7 +43142,7 @@ } }, { - "id": "1139", + "id": "1164", "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:105:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:813:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -42455,7 +43168,7 @@ } }, { - "id": "1140", + "id": "1165", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:878:60)", @@ -42480,7 +43193,7 @@ } }, { - "id": "1141", + "id": "1166", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(180,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -42504,7 +43217,7 @@ } }, { - "id": "1142", + "id": "1167", "mutatorName": "BooleanLiteral", "replacement": "votes", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(185,55): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n", @@ -42528,7 +43241,7 @@ } }, { - "id": "1143", + "id": "1168", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(185,55): 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", @@ -42552,7 +43265,7 @@ } }, { - "id": "1144", + "id": "1169", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(185,55): 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", @@ -42576,7 +43289,7 @@ } }, { - "id": "1145", + "id": "1170", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(183,55): 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", @@ -42598,7 +43311,7 @@ } }, { - "id": "1146", + "id": "1171", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -97,18 +97,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"f34d27cd0e563c6eae3cdcec\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Jarrell\",\n \"position\": 971761558487040,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:970:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -42624,7 +43337,7 @@ } }, { - "id": "1147", + "id": "1172", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "TypeError: Cannot read properties of undefined (reading '_id')\n at GamePlaysMakerService.allElectSheriff (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/src/modules/game/providers/services/game-play/game-plays-maker.service.ts:377:59)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:943:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -42650,7 +43363,7 @@ } }, { - "id": "1148", + "id": "1173", "mutatorName": "EqualityOperator", "replacement": "nominatedPlayers.length === 1", "status": "Timeout", @@ -42672,7 +43385,7 @@ } }, { - "id": "1149", + "id": "1174", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "TypeError: Cannot read properties of undefined (reading '_id')\n at GamePlaysMakerService.allElectSheriff (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/src/modules/game/providers/services/game-play/game-plays-maker.service.ts:377:59)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:943:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -42697,7 +43410,7 @@ } }, { - "id": "1150", + "id": "1175", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(196,74): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -42708,7 +43421,7 @@ "183", "184", "185", - "467" + "468" ], "location": { "end": { @@ -42722,7 +43435,7 @@ } }, { - "id": "1151", + "id": "1176", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 3\n\n@@ -1,12 +1,11 @@\n Object {\n \"_id\": \"ee3b1c9defbd9c94980bf8e7\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\n+ \"action\": \"look\",\n+ \"source\": \"seer\",\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n },\n@@ -145,13 +144,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 763783039418368,\n \"turn\": 5320483039870976,\n- \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"source\": \"seer\",\n- },\n- ],\n+ \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:682:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -42730,13 +43443,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ "183", "184", "185", - "467" + "468" ], "location": { "end": { @@ -42750,7 +43463,7 @@ } }, { - "id": "1152", + "id": "1177", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(199,42): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -42761,7 +43474,7 @@ "183", "184", "185", - "467" + "468" ], "location": { "end": { @@ -42775,7 +43488,7 @@ } }, { - "id": "1153", + "id": "1178", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(200,33): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -42786,7 +43499,7 @@ "183", "184", "185", - "467" + "468" ], "location": { "end": { @@ -42800,7 +43513,7 @@ } }, { - "id": "1154", + "id": "1179", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(206,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -42811,7 +43524,7 @@ "183", "184", "185", - "467" + "468" ], "location": { "end": { @@ -42825,7 +43538,7 @@ } }, { - "id": "1155", + "id": "1180", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(206,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -42836,7 +43549,7 @@ "183", "184", "185", - "467" + "468" ], "location": { "end": { @@ -42850,7 +43563,7 @@ } }, { - "id": "1156", + "id": "1181", "mutatorName": "EqualityOperator", "replacement": "allPlayMethod !== undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(206,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -42861,7 +43574,7 @@ "183", "184", "185", - "467" + "468" ], "location": { "end": { @@ -42875,7 +43588,7 @@ } }, { - "id": "1157", + "id": "1182", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(204,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -42897,7 +43610,7 @@ } }, { - "id": "1158", + "id": "1183", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(206,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -42922,7 +43635,7 @@ } }, { - "id": "1159", + "id": "1184", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(212,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(216,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(216,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(217,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(217,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(219,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -42947,7 +43660,7 @@ } }, { - "id": "1160", + "id": "1185", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(212,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(216,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(217,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(219,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -42972,7 +43685,7 @@ } }, { - "id": "1161", + "id": "1186", "mutatorName": "LogicalOperator", "replacement": "!thiefPlayer && !chosenCard", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(212,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(216,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(217,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(219,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -42997,7 +43710,7 @@ } }, { - "id": "1162", + "id": "1187", "mutatorName": "BooleanLiteral", "replacement": "thiefPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(216,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(217,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(219,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -43022,7 +43735,7 @@ } }, { - "id": "1163", + "id": "1188", "mutatorName": "BooleanLiteral", "replacement": "chosenCard", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(212,57): error TS18048: 'chosenCard' is possibly 'undefined'.\n", @@ -43046,7 +43759,7 @@ } }, { - "id": "1164", + "id": "1189", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(210,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(214,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(215,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(217,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -43069,7 +43782,7 @@ } }, { - "id": "1165", + "id": "1190", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -111,16 +111,16 @@\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Maritza\",\n \"position\": 4889957613174784,\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\": \"fd0cf7fed5eafe27dafdce34\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1083:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -43095,7 +43808,7 @@ } }, { - "id": "1166", + "id": "1191", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -111,16 +111,16 @@\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Ford\",\n \"position\": 6072067801743360,\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\": \"c66cddc6c7dfe84371ad2ff0\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1055:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -43121,7 +43834,7 @@ } }, { - "id": "1167", + "id": "1192", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -111,16 +111,16 @@\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Mabel\",\n \"position\": 3994485673426944,\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\": \"9c784d3eb67a58e0de5e7648\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1083:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -43147,7 +43860,7 @@ } }, { - "id": "1168", + "id": "1193", "mutatorName": "EqualityOperator", "replacement": "role.name !== chosenCard.roleName", "status": "Timeout", @@ -43169,7 +43882,7 @@ } }, { - "id": "1169", + "id": "1194", "mutatorName": "BooleanLiteral", "replacement": "chosenRole", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(216,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(217,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", @@ -43192,7 +43905,7 @@ } }, { - "id": "1170", + "id": "1195", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(216,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(216,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(217,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(217,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(219,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -43215,7 +43928,7 @@ } }, { - "id": "1171", + "id": "1196", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(216,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(217,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", @@ -43238,7 +43951,7 @@ } }, { - "id": "1172", + "id": "1197", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(214,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(215,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", @@ -43260,7 +43973,7 @@ } }, { - "id": "1173", + "id": "1198", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(216,11): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", @@ -43282,7 +43995,7 @@ } }, { - "id": "1174", + "id": "1199", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(217,11): error TS2739: Type '{}' is missing the following properties from type 'PlayerRole': original, current, isRevealed\n", @@ -43304,7 +44017,7 @@ } }, { - "id": "1175", + "id": "1200", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -111,16 +111,16 @@\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Carley\",\n \"position\": 345374350901248,\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\": \"8f7ccea4f2b458c9fe47eeb8\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1083:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -43329,7 +44042,7 @@ } }, { - "id": "1176", + "id": "1201", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(222,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -43352,7 +44065,7 @@ } }, { - "id": "1177", + "id": "1202", "mutatorName": "BooleanLiteral", "replacement": "targets", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(228,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -43375,7 +44088,7 @@ } }, { - "id": "1178", + "id": "1203", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(228,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -43398,7 +44111,7 @@ } }, { - "id": "1179", + "id": "1204", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(228,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -43421,7 +44134,7 @@ } }, { - "id": "1180", + "id": "1205", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(226,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -43443,7 +44156,7 @@ } }, { - "id": "1181", + "id": "1206", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(228,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", @@ -43465,7 +44178,7 @@ } }, { - "id": "1182", + "id": "1207", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(231,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -43489,7 +44202,7 @@ } }, { - "id": "1183", + "id": "1208", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(237,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(237,82): error TS2322: Type 'ROLE_SIDES | undefined' is not assignable to type 'ROLE_SIDES'.\n Type 'undefined' is not assignable to type 'ROLE_SIDES'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(238,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", @@ -43513,7 +44226,7 @@ } }, { - "id": "1184", + "id": "1209", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(237,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(237,82): error TS2322: Type 'ROLE_SIDES | undefined' is not assignable to type 'ROLE_SIDES'.\n Type 'undefined' is not assignable to type 'ROLE_SIDES'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(238,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", @@ -43537,7 +44250,7 @@ } }, { - "id": "1185", + "id": "1210", "mutatorName": "LogicalOperator", "replacement": "!chosenSide && !dogWolfPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(237,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(237,82): error TS2322: Type 'ROLE_SIDES | undefined' is not assignable to type 'ROLE_SIDES'.\n Type 'undefined' is not assignable to type 'ROLE_SIDES'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(238,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", @@ -43561,7 +44274,7 @@ } }, { - "id": "1186", + "id": "1211", "mutatorName": "BooleanLiteral", "replacement": "chosenSide", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(237,82): error TS2322: Type 'undefined' is not assignable to type 'ROLE_SIDES'.\n", @@ -43585,7 +44298,7 @@ } }, { - "id": "1187", + "id": "1212", "mutatorName": "BooleanLiteral", "replacement": "dogWolfPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(237,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(238,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", @@ -43608,7 +44321,7 @@ } }, { - "id": "1188", + "id": "1213", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(235,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(235,82): error TS2322: Type 'ROLE_SIDES | undefined' is not assignable to type 'ROLE_SIDES'.\n Type 'undefined' is not assignable to type 'ROLE_SIDES'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(236,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", @@ -43631,7 +44344,7 @@ } }, { - "id": "1189", + "id": "1214", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", @@ -43652,7 +44365,7 @@ } }, { - "id": "1190", + "id": "1215", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(237,51): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", @@ -43674,7 +44387,7 @@ } }, { - "id": "1191", + "id": "1216", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(241,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -43697,7 +44410,7 @@ } }, { - "id": "1192", + "id": "1217", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(247,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -43720,7 +44433,7 @@ } }, { - "id": "1193", + "id": "1218", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(247,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -43743,7 +44456,7 @@ } }, { - "id": "1194", + "id": "1219", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(247,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -43766,7 +44479,7 @@ } }, { - "id": "1195", + "id": "1220", "mutatorName": "OptionalChaining", "replacement": "targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(244,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(247,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -43789,7 +44502,7 @@ } }, { - "id": "1196", + "id": "1221", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(245,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -43811,10 +44524,10 @@ } }, { - "id": "1197", + "id": "1222", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(252,77): 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-plays-maker.service.ts(255,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -43837,10 +44550,10 @@ } }, { - "id": "1198", + "id": "1223", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(260,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(265,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(263,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(268,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -43863,10 +44576,10 @@ } }, { - "id": "1199", + "id": "1224", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(260,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(265,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(263,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(268,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -43889,10 +44602,10 @@ } }, { - "id": "1200", + "id": "1225", "mutatorName": "LogicalOperator", "replacement": "targets?.length !== expectedTargetCount && !foxPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(260,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(265,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(263,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(268,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -43915,10 +44628,10 @@ } }, { - "id": "1201", + "id": "1226", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(260,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(263,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -43941,10 +44654,10 @@ } }, { - "id": "1202", + "id": "1227", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(260,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(263,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -43967,10 +44680,10 @@ } }, { - "id": "1203", + "id": "1228", "mutatorName": "OptionalChaining", "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(257,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(260,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(260,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(263,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -43993,10 +44706,10 @@ } }, { - "id": "1204", + "id": "1229", "mutatorName": "BooleanLiteral", "replacement": "foxPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(265,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(268,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -44018,7 +44731,7 @@ } }, { - "id": "1205", + "id": "1230", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(258,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(263,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", @@ -44041,12 +44754,16 @@ } }, { - "id": "1206", + "id": "1231", "mutatorName": "MethodExpression", "replacement": "foxSniffedPlayers.some(player => player.side.current === ROLE_SIDES.VILLAGERS)", - "status": "Timeout", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -80,11 +80,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"57a08fdae3cdd1dfc2f5ae52\",\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\": \"Elroy\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1256:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "200" + ], "coveredBy": [ "199", "200", @@ -44064,12 +44781,16 @@ } }, { - "id": "1207", + "id": "1232", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "status": "Timeout", + "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\": \"ab76efaf21c9c1cf891376f5\",\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\": \"Dedrick\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1284:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "201" + ], "coveredBy": [ "199", "200", @@ -44087,7 +44808,7 @@ } }, { - "id": "1208", + "id": "1233", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -80,11 +80,18 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"5f15d2710c2f4e798a0befe4\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Phoebe\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1279:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -44114,10 +44835,10 @@ } }, { - "id": "1209", + "id": "1234", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -80,18 +80,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"9ea80fd8fd8d1c6e5f8fa1c5\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"fox\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Paula\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1307:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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 - 9\n+ Received + 1\n\n@@ -80,19 +80,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"a56e32ad971fd61eadca7f90\",\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\": \"Evelyn\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1284:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, @@ -44141,16 +44862,12 @@ } }, { - "id": "1210", + "id": "1235", "mutatorName": "EqualityOperator", "replacement": "player.side.current !== ROLE_SIDES.VILLAGERS", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -80,18 +80,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"aef9614dc9472a1dd6b31337\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"fox\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Fabiola\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1307:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "201" - ], + "killedBy": [], "coveredBy": [ "199", "200", @@ -44168,7 +44885,7 @@ } }, { - "id": "1211", + "id": "1236", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -80,11 +80,18 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"ae9c6e0f9e9cdeaeacda1a63\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Gladyce\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1264:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -44195,10 +44912,10 @@ } }, { - "id": "1212", + "id": "1237", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(265,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(268,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -44219,12 +44936,16 @@ } }, { - "id": "1213", + "id": "1238", "mutatorName": "LogicalOperator", "replacement": "isFoxPowerlessIfMissesWerewolf || areEveryFoxSniffedPlayersVillagerSided", - "status": "Timeout", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -80,11 +80,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"e2eadbb834bdd2e53e04c38e\",\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\": \"Quincy\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1256:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "200" + ], "coveredBy": [ "199", "200", @@ -44242,12 +44963,16 @@ } }, { - "id": "1214", + "id": "1239", "mutatorName": "BlockStatement", "replacement": "{}", - "status": "Timeout", + "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\": \"a4feccee0577b9df6b0aebfa\",\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\": \"Humberto\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1284:64)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "201" + ], "coveredBy": [ "201" ], @@ -44263,7 +44988,7 @@ } }, { - "id": "1215", + "id": "1240", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(270,78): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -44286,7 +45011,7 @@ } }, { - "id": "1216", + "id": "1241", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(276,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44309,7 +45034,7 @@ } }, { - "id": "1217", + "id": "1242", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(276,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44332,7 +45057,7 @@ } }, { - "id": "1218", + "id": "1243", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(276,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44355,7 +45080,7 @@ } }, { - "id": "1219", + "id": "1244", "mutatorName": "OptionalChaining", "replacement": "targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(273,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(276,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44378,7 +45103,7 @@ } }, { - "id": "1220", + "id": "1245", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(274,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44400,7 +45125,7 @@ } }, { - "id": "1221", + "id": "1246", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(281,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -44423,7 +45148,7 @@ } }, { - "id": "1222", + "id": "1247", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(287,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44446,7 +45171,7 @@ } }, { - "id": "1223", + "id": "1248", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(287,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44469,7 +45194,7 @@ } }, { - "id": "1224", + "id": "1249", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(287,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44492,7 +45217,7 @@ } }, { - "id": "1225", + "id": "1250", "mutatorName": "OptionalChaining", "replacement": "targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(284,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(287,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44515,7 +45240,7 @@ } }, { - "id": "1226", + "id": "1251", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(285,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44537,7 +45262,7 @@ } }, { - "id": "1227", + "id": "1252", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(295,86): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -44560,7 +45285,7 @@ } }, { - "id": "1228", + "id": "1253", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(301,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44583,7 +45308,7 @@ } }, { - "id": "1229", + "id": "1254", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(301,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44606,7 +45331,7 @@ } }, { - "id": "1230", + "id": "1255", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(301,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44629,7 +45354,7 @@ } }, { - "id": "1231", + "id": "1256", "mutatorName": "OptionalChaining", "replacement": "targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(298,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(301,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44652,7 +45377,7 @@ } }, { - "id": "1232", + "id": "1257", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(299,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44674,7 +45399,7 @@ } }, { - "id": "1233", + "id": "1258", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(303,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -44698,7 +45423,7 @@ } }, { - "id": "1234", + "id": "1259", "mutatorName": "BooleanLiteral", "replacement": "targets", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(310,26): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44722,7 +45447,7 @@ } }, { - "id": "1235", + "id": "1260", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(310,26): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44746,7 +45471,7 @@ } }, { - "id": "1236", + "id": "1261", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(310,26): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44770,7 +45495,7 @@ } }, { - "id": "1237", + "id": "1262", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(308,26): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44792,7 +45517,7 @@ } }, { - "id": "1238", + "id": "1263", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -97,18 +97,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"0e66a9b2e7b2b9e5d124bd04\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": 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\": \"Kenna\",\n \"position\": 4423409897308160,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1464:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -44818,7 +45543,7 @@ } }, { - "id": "1239", + "id": "1264", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -124,11 +124,11 @@\n Player {\n \"_id\": \"c5cd81ffaa4cdebfe3ed6f7c\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": 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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1498:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -44844,7 +45569,7 @@ } }, { - "id": "1240", + "id": "1265", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -100,11 +100,11 @@\n Player {\n \"_id\": \"21c6f4d8beee1d2e9de4c2b7\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": 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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1464:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -44870,7 +45595,7 @@ } }, { - "id": "1241", + "id": "1266", "mutatorName": "EqualityOperator", "replacement": "target.drankPotion !== WITCH_POTIONS.LIFE", "status": "Timeout", @@ -44892,7 +45617,7 @@ } }, { - "id": "1242", + "id": "1267", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(318,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -44915,7 +45640,7 @@ } }, { - "id": "1243", + "id": "1268", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(324,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44938,7 +45663,7 @@ } }, { - "id": "1244", + "id": "1269", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(324,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44961,7 +45686,7 @@ } }, { - "id": "1245", + "id": "1270", "mutatorName": "LogicalOperator", "replacement": "targets === undefined && !targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(320,35): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(324,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -44984,7 +45709,7 @@ } }, { - "id": "1246", + "id": "1271", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(320,19): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(324,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45007,7 +45732,7 @@ } }, { - "id": "1247", + "id": "1272", "mutatorName": "EqualityOperator", "replacement": "targets !== undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(320,35): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(324,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45030,7 +45755,7 @@ } }, { - "id": "1248", + "id": "1273", "mutatorName": "BooleanLiteral", "replacement": "targets.length", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 2\n\n@@ -97,18 +97,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"a1fcdcf4cb9fd6389dcdc47a\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"charmed\",\n- \"remainingPhases\": undefined,\n- \"source\": \"pied-piper\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Anna\",\n \"position\": 4296850771279872,\n \"role\": PlayerRole {\n@@ -121,18 +114,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"1f1ca8a46b659ba66cfacbbe\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"charmed\",\n- \"remainingPhases\": undefined,\n- \"source\": \"pied-piper\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Robb\",\n \"position\": 4147950768881664,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1547:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -45055,7 +45780,7 @@ } }, { - "id": "1249", + "id": "1274", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(322,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45077,7 +45802,7 @@ } }, { - "id": "1250", + "id": "1275", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(324,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", @@ -45099,7 +45824,7 @@ } }, { - "id": "1251", + "id": "1276", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(327,79): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -45122,7 +45847,7 @@ } }, { - "id": "1252", + "id": "1277", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(334,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45145,7 +45870,7 @@ } }, { - "id": "1253", + "id": "1278", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(334,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45168,7 +45893,7 @@ } }, { - "id": "1254", + "id": "1279", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(334,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45191,7 +45916,7 @@ } }, { - "id": "1255", + "id": "1280", "mutatorName": "OptionalChaining", "replacement": "targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(330,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(334,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45214,7 +45939,7 @@ } }, { - "id": "1256", + "id": "1281", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(332,38): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45236,7 +45961,7 @@ } }, { - "id": "1257", + "id": "1282", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(334,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", @@ -45258,7 +45983,7 @@ } }, { - "id": "1258", + "id": "1283", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(337,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -45268,7 +45993,7 @@ "coveredBy": [ "215", "216", - "468" + "469" ], "location": { "end": { @@ -45282,7 +46007,7 @@ } }, { - "id": "1259", + "id": "1284", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(343,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45292,7 +46017,7 @@ "coveredBy": [ "215", "216", - "468" + "469" ], "location": { "end": { @@ -45306,7 +46031,7 @@ } }, { - "id": "1260", + "id": "1285", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(343,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45316,7 +46041,7 @@ "coveredBy": [ "215", "216", - "468" + "469" ], "location": { "end": { @@ -45330,7 +46055,7 @@ } }, { - "id": "1261", + "id": "1286", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(343,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45340,7 +46065,7 @@ "coveredBy": [ "215", "216", - "468" + "469" ], "location": { "end": { @@ -45354,7 +46079,7 @@ } }, { - "id": "1262", + "id": "1287", "mutatorName": "OptionalChaining", "replacement": "targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(340,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(343,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45364,7 +46089,7 @@ "coveredBy": [ "215", "216", - "468" + "469" ], "location": { "end": { @@ -45378,7 +46103,7 @@ } }, { - "id": "1263", + "id": "1288", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(341,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45400,7 +46125,7 @@ } }, { - "id": "1264", + "id": "1289", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(348,85): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -45423,7 +46148,7 @@ } }, { - "id": "1265", + "id": "1290", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(354,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45446,7 +46171,7 @@ } }, { - "id": "1266", + "id": "1291", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(354,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45469,7 +46194,7 @@ } }, { - "id": "1267", + "id": "1292", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(354,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45492,7 +46217,7 @@ } }, { - "id": "1268", + "id": "1293", "mutatorName": "OptionalChaining", "replacement": "targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(351,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(354,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45515,7 +46240,7 @@ } }, { - "id": "1269", + "id": "1294", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(352,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45537,7 +46262,7 @@ } }, { - "id": "1270", + "id": "1295", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(359,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -45560,7 +46285,7 @@ } }, { - "id": "1271", + "id": "1296", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(365,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45583,7 +46308,7 @@ } }, { - "id": "1272", + "id": "1297", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(365,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45606,7 +46331,7 @@ } }, { - "id": "1273", + "id": "1298", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(365,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45629,7 +46354,7 @@ } }, { - "id": "1274", + "id": "1299", "mutatorName": "OptionalChaining", "replacement": "targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(362,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(365,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45652,7 +46377,7 @@ } }, { - "id": "1275", + "id": "1300", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(363,40): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45674,7 +46399,7 @@ } }, { - "id": "1276", + "id": "1301", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(373,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -45700,7 +46425,7 @@ } }, { - "id": "1277", + "id": "1302", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(379,70): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45726,7 +46451,7 @@ } }, { - "id": "1278", + "id": "1303", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(379,70): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45752,7 +46477,7 @@ } }, { - "id": "1279", + "id": "1304", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(379,70): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45778,7 +46503,7 @@ } }, { - "id": "1280", + "id": "1305", "mutatorName": "OptionalChaining", "replacement": "targets.length", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(376,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-maker.service.ts(379,70): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45804,7 +46529,7 @@ } }, { - "id": "1281", + "id": "1306", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(377,70): error TS18048: 'targets' is possibly 'undefined'.\n", @@ -45826,7 +46551,7 @@ } }, { - "id": "1282", + "id": "1307", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 2\n\n@@ -97,29 +97,22 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"12bc6badc9a3f14a65dacbfa\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"eaten\",\n- \"remainingPhases\": 1,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Cary\",\n \"position\": 2751728275423232,\n \"role\": PlayerRole {\n \"current\": \"raven\",\n \"isRevealed\": false,\n \"original\": \"raven\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"bac0511ac3a62defe5d7df0c\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1743:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -45854,7 +46579,7 @@ } }, { - "id": "1283", + "id": "1308", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 9\n\n@@ -97,22 +97,29 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"2770e4ebab589d259f774e10\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"eaten\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"werewolves\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Vesta\",\n \"position\": 6965950783946752,\n \"role\": PlayerRole {\n \"current\": \"raven\",\n \"isRevealed\": false,\n \"original\": \"raven\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"42c51fd0acb8cb731fd88912\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1799:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -45882,7 +46607,7 @@ } }, { - "id": "1284", + "id": "1309", "mutatorName": "LogicalOperator", "replacement": "isTargetInfected === true || targetedPlayer.role.current !== ROLE_NAMES.ANCIENT || isAncientKillable", "status": "Timeout", @@ -45906,7 +46631,7 @@ } }, { - "id": "1285", + "id": "1310", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 2\n\n@@ -97,29 +97,22 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"d98aad6a897110eaabd3a85a\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"eaten\",\n- \"remainingPhases\": 1,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Laurianne\",\n \"position\": 3615044648566784,\n \"role\": PlayerRole {\n \"current\": \"raven\",\n \"isRevealed\": false,\n \"original\": \"raven\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"df2c744d620538c9fbaf3101\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1743:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -45934,7 +46659,7 @@ } }, { - "id": "1286", + "id": "1311", "mutatorName": "EqualityOperator", "replacement": "isTargetInfected !== true", "status": "Timeout", @@ -45958,7 +46683,7 @@ } }, { - "id": "1287", + "id": "1312", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", @@ -45982,7 +46707,7 @@ } }, { - "id": "1288", + "id": "1313", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -46005,7 +46730,7 @@ } }, { - "id": "1289", + "id": "1314", "mutatorName": "LogicalOperator", "replacement": "targetedPlayer.role.current !== ROLE_NAMES.ANCIENT && isAncientKillable", "status": "Timeout", @@ -46028,7 +46753,7 @@ } }, { - "id": "1290", + "id": "1315", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -46051,7 +46776,7 @@ } }, { - "id": "1291", + "id": "1316", "mutatorName": "EqualityOperator", "replacement": "targetedPlayer.role.current === ROLE_NAMES.ANCIENT", "status": "Timeout", @@ -46074,7 +46799,7 @@ } }, { - "id": "1292", + "id": "1317", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 9\n\n@@ -97,22 +97,29 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"e55afc0ae38ffbe9f9e91a75\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"eaten\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"werewolves\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Katherine\",\n \"position\": 8947006873534464,\n \"role\": PlayerRole {\n \"current\": \"raven\",\n \"isRevealed\": false,\n \"original\": \"raven\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"fb02ade6fafaae1ccffecedd\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1799:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46100,7 +46825,7 @@ } }, { - "id": "1293", + "id": "1318", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -108,11 +108,11 @@\n \"current\": \"raven\",\n \"isRevealed\": false,\n \"original\": \"raven\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"ae6d3881df0a91aa0ecd6df3\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts:1799:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46126,7 +46851,7 @@ } }, { - "id": "1294", + "id": "1319", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-maker.service.ts(383,53): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", @@ -46155,7 +46880,7 @@ "language": "typescript", "mutants": [ { - "id": "1295", + "id": "1320", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(19,51): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -46163,10 +46888,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "467", - "468" + "306", + "468", + "469" ], "location": { "end": { @@ -46180,7 +46905,7 @@ } }, { - "id": "1296", + "id": "1321", "mutatorName": "MethodExpression", "replacement": "clonedGame.upcomingPlays", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 10\n\n@@ -159,13 +159,23 @@\n \"status\": \"playing\",\n \"tick\": 2837169165041664,\n \"turn\": 588800132644864,\n \"upcomingPlays\": Array [\n GamePlay {\n+ \"action\": \"look\",\n+ \"cause\": undefined,\n+ \"source\": \"seer\",\n+ },\n+ GamePlay {\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n+ },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"cause\": undefined,\n+ \"source\": \"witch\",\n },\n GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:74:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46188,13 +46913,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "305" + "306" ], "coveredBy": [ - "304", "305", - "467", - "468" + "306", + "468", + "469" ], "location": { "end": { @@ -46208,7 +46933,7 @@ } }, { - "id": "1297", + "id": "1322", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 1\n\n@@ -1,11 +1,10 @@\n Object {\n \"_id\": \"cb87216ed1a1eae9e29037bc\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"vote\",\n- \"cause\": \"previous-votes-were-in-ties\",\n \"source\": \"all\",\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": true,\n@@ -145,13 +144,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 2174017750433792,\n \"turn\": 1779075953721344,\n- \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"source\": \"seer\",\n- },\n- ],\n+ \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:682:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -46216,13 +46941,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "304", "305", - "467", - "468" + "306", + "468", + "469" ], "location": { "end": { @@ -46236,7 +46961,7 @@ } }, { - "id": "1298", + "id": "1323", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(25,45): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -46244,10 +46969,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "306", "307", - "467", - "468" + "308", + "468", + "469" ], "location": { "end": { @@ -46261,7 +46986,7 @@ } }, { - "id": "1299", + "id": "1324", "mutatorName": "BooleanLiteral", "replacement": "clonedGame.upcomingPlays.length", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 1\n\n@@ -1,14 +1,10 @@\n Game {\n \"_id\": \"ad9db576efe9e8aeaea2012d\",\n \"additionalCards\": undefined,\n \"createdAt\": 2023-06-18T01:14:41.609Z,\n- \"currentPlay\": GamePlay {\n- \"action\": \"ban-voting\",\n- \"cause\": undefined,\n- \"source\": \"lovers\",\n- },\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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:36:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46269,13 +46994,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "306" + "307" ], "coveredBy": [ - "306", "307", - "467", - "468" + "308", + "468", + "469" ], "location": { "end": { @@ -46289,7 +47014,7 @@ } }, { - "id": "1300", + "id": "1325", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 5\n\n@@ -1,11 +1,10 @@\n Object {\n \"_id\": \"bb5bebdfb7ad5cecea9f9c29\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"vote\",\n- \"cause\": \"previous-votes-were-in-ties\",\n \"source\": \"all\",\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n@@ -146,10 +145,15 @@\n ],\n \"status\": \"playing\",\n \"tick\": 3916750603157504,\n \"turn\": 787314898894848,\n \"upcomingPlays\": Array [\n+ Object {\n+ \"action\": \"vote\",\n+ \"cause\": \"previous-votes-were-in-ties\",\n+ \"source\": \"all\",\n+ },\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n },\n ],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:682:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -46297,13 +47022,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "306", "307", - "467", - "468" + "308", + "468", + "469" ], "location": { "end": { @@ -46317,7 +47042,7 @@ } }, { - "id": "1301", + "id": "1326", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 1\n\n@@ -1,14 +1,10 @@\n Game {\n \"_id\": \"5c7ecea9f7fe9edd2fdcdccb\",\n \"additionalCards\": undefined,\n \"createdAt\": 2023-06-18T05:23:10.021Z,\n- \"currentPlay\": GamePlay {\n- \"action\": \"delegate\",\n- \"cause\": undefined,\n- \"source\": \"hunter\",\n- },\n+ \"currentPlay\": undefined,\n \"options\": GameOptions {\n \"composition\": CompositionGameOptions {\n \"isHidden\": true,\n },\n \"roles\": RolesGameOptions {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:36:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46325,13 +47050,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "306" + "307" ], "coveredBy": [ - "306", "307", - "467", - "468" + "308", + "468", + "469" ], "location": { "end": { @@ -46345,7 +47070,7 @@ } }, { - "id": "1302", + "id": "1327", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 1\n\n@@ -1,14 +1,10 @@\n Game {\n \"_id\": \"84da72bb2c7eda956ebdbb6e\",\n \"additionalCards\": undefined,\n \"createdAt\": 2023-06-17T18:03:13.228Z,\n- \"currentPlay\": GamePlay {\n- \"action\": \"choose-sign\",\n- \"cause\": undefined,\n- \"source\": \"white-werewolf\",\n- },\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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:36:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46353,10 +47078,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "306" + "307" ], "coveredBy": [ - "306" + "307" ], "location": { "end": { @@ -46370,18 +47095,44 @@ } }, { - "id": "1304", + "id": "1328", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(35,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": [ + "309", + "310", + "311", + "456", + "457" + ], + "location": { + "end": { + "column": 4, + "line": 46 + }, + "start": { + "column": 72, + "line": 35 + } + } + }, + { + "id": "1329", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "308", "309", "310", - "455", - "456" + "311", + "456", + "457" ], "location": { "end": { @@ -46395,7 +47146,7 @@ } }, { - "id": "1305", + "id": "1330", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 0\n\n@@ -178,20 +178,12 @@\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n Object {\n- \"action\": \"charm\",\n- \"source\": \"cupid\",\n- },\n- Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n- },\n- Object {\n- \"action\": \"meet-each-other\",\n- \"source\": \"lovers\",\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"werewolves\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -46403,14 +47154,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "308", "309", "310", - "455", - "456" + "311", + "456", + "457" ], "location": { "end": { @@ -46424,7 +47175,7 @@ } }, { - "id": "1306", + "id": "1331", "mutatorName": "EqualityOperator", "replacement": "game.turn !== 1", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 0\n\n@@ -178,20 +178,12 @@\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n Object {\n- \"action\": \"charm\",\n- \"source\": \"cupid\",\n- },\n- Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n- },\n- Object {\n- \"action\": \"meet-each-other\",\n- \"source\": \"lovers\",\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"werewolves\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -46432,14 +47183,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "308", "309", "310", - "455", - "456" + "311", + "456", + "457" ], "location": { "end": { @@ -46453,7 +47204,7 @@ } }, { - "id": "1307", + "id": "1332", "mutatorName": "MethodExpression", "replacement": "gamePlaysNightOrder", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 10\n\n Array [\n GamePlay {\n+ \"action\": \"charm\",\n+ \"cause\": undefined,\n+ \"source\": \"cupid\",\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"lovers\",\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46461,14 +47212,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "310" + "311" ], "coveredBy": [ - "308", "309", "310", - "455", - "456" + "311", + "456", + "457" ], "location": { "end": { @@ -46482,7 +47233,7 @@ } }, { - "id": "1308", + "id": "1333", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 22\n+ Received + 1\n\n@@ -176,29 +176,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n- \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"source\": \"cupid\",\n- },\n- Object {\n- \"action\": \"look\",\n- \"source\": \"seer\",\n- },\n- Object {\n- \"action\": \"meet-each-other\",\n- \"source\": \"lovers\",\n- },\n- Object {\n- \"action\": \"eat\",\n- \"source\": \"werewolves\",\n- },\n- Object {\n- \"action\": \"eat\",\n- \"source\": \"white-werewolf\",\n- },\n- ],\n+ \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -46490,14 +47241,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "308", "309", "310", - "455", - "456" + "311", + "456", + "457" ], "location": { "end": { @@ -46511,7 +47262,7 @@ } }, { - "id": "1309", + "id": "1334", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 10\n\n Array [\n GamePlay {\n+ \"action\": \"charm\",\n+ \"cause\": undefined,\n+ \"source\": \"cupid\",\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"lovers\",\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46519,14 +47270,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "310" + "311" ], "coveredBy": [ - "308", "309", "310", - "455", - "456" + "311", + "456", + "457" ], "location": { "end": { @@ -46540,7 +47291,7 @@ } }, { - "id": "1310", + "id": "1335", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 22\n+ Received + 1\n\n@@ -176,29 +176,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n- \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"source\": \"cupid\",\n- },\n- Object {\n- \"action\": \"look\",\n- \"source\": \"seer\",\n- },\n- Object {\n- \"action\": \"meet-each-other\",\n- \"source\": \"lovers\",\n- },\n- Object {\n- \"action\": \"eat\",\n- \"source\": \"werewolves\",\n- },\n- Object {\n- \"action\": \"eat\",\n- \"source\": \"white-werewolf\",\n- },\n- ],\n+ \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -46548,14 +47299,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "308", "309", "310", - "455", - "456" + "311", + "456", + "457" ], "location": { "end": { @@ -46569,18 +47320,18 @@ } }, { - "id": "1311", + "id": "1336", "mutatorName": "LogicalOperator", "replacement": "isFirstNight && play.isFirstNightOnly !== true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "308", "309", "310", - "455", - "456" + "311", + "456", + "457" ], "location": { "end": { @@ -46594,7 +47345,7 @@ } }, { - "id": "1312", + "id": "1337", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 1\n\n- Array [\n- GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n- ]\n+ Array []\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46602,10 +47353,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "310" + "311" ], "coveredBy": [ - "310" + "311" ], "location": { "end": { @@ -46619,7 +47370,7 @@ } }, { - "id": "1313", + "id": "1338", "mutatorName": "EqualityOperator", "replacement": "play.isFirstNightOnly === true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 7\n\n Array [\n GamePlay {\n- \"action\": \"eat\",\n+ \"action\": \"charm\",\n+ \"cause\": undefined,\n+ \"source\": \"cupid\",\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n \"cause\": undefined,\n- \"source\": \"werewolves\",\n+ \"source\": \"lovers\",\n },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46627,10 +47378,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "310" + "311" ], "coveredBy": [ - "310" + "311" ], "location": { "end": { @@ -46644,7 +47395,7 @@ } }, { - "id": "1314", + "id": "1339", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 10\n\n Array [\n GamePlay {\n+ \"action\": \"charm\",\n+ \"cause\": undefined,\n+ \"source\": \"cupid\",\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"lovers\",\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46652,10 +47403,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "310" + "311" ], "coveredBy": [ - "310" + "311" ], "location": { "end": { @@ -46669,7 +47420,7 @@ } }, { - "id": "1315", + "id": "1340", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -1,12 +1,7 @@\n Array [\n GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"cause\": undefined,\n- \"source\": \"all\",\n- },\n- GamePlay {\n \"action\": \"look\",\n \"cause\": undefined,\n \"source\": \"seer\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46677,12 +47428,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "308" + "309" ], "coveredBy": [ - "308", "309", - "455" + "310", + "456" ], "location": { "end": { @@ -46696,7 +47447,7 @@ } }, { - "id": "1316", + "id": "1341", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(39,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", @@ -46704,8 +47455,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "310", - "456" + "311", + "457" ], "location": { "end": { @@ -46719,7 +47470,149 @@ } }, { - "id": "1322", + "id": "1342", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(40,5): error TS2322: Type 'GamePlay & { isFirstNightOnly?: boolean | undefined; }' is not assignable to type 'GamePlay[]'.\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(40,38): error TS2769: No overload matches this call.\n Overload 1 of 3, '(callbackfn: (previousValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentIndex: number, array: (GamePlay & { ...; })[]) => GamePlay & { ...; }, initialValue: GamePlay & { ...; }): GamePlay & { ...; }', gave the following error.\n Argument of type '(acc: GamePlay[], gamePlay: GamePlay & { isFirstNightOnly?: boolean | undefined; }) => void' is not assignable to parameter of type '(previousValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentIndex: number, array: (GamePlay & { ...; })[]) => GamePlay & { ...; }'.\n Types of parameters 'acc' and 'previousValue' are incompatible.\n Type 'GamePlay & { isFirstNightOnly?: boolean | undefined; }' is missing the following properties from type 'GamePlay[]': length, pop, push, concat, and 31 more.\n Overload 2 of 3, '(callbackfn: (previousValue: GamePlay[], currentValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentIndex: number, array: (GamePlay & { isFirstNightOnly?: boolean | undefined; })[]) => GamePlay[], initialValue: GamePlay[]): GamePlay[]', gave the following error.\n Argument of type '(acc: GamePlay[], gamePlay: GamePlay & { isFirstNightOnly?: boolean | undefined; }) => void' is not assignable to parameter of type '(previousValue: GamePlay[], currentValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentIndex: number, array: (GamePlay & { isFirstNightOnly?: boolean | undefined; })[]) => GamePlay[]'.\n Type 'void' is not assignable to type 'GamePlay[]'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "309", + "310", + "311", + "456", + "457" + ], + "location": { + "end": { + "column": 6, + "line": 45 + }, + "start": { + "column": 69, + "line": 40 + } + } + }, + { + "id": "1343", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 85\n\n@@ -3,15 +3,100 @@\n \"action\": \"elect-sheriff\",\n \"cause\": undefined,\n \"source\": \"all\",\n },\n GamePlay {\n+ \"action\": \"vote\",\n+ \"cause\": \"angel-presence\",\n+ \"source\": \"all\",\n+ },\n+ GamePlay {\n+ \"action\": \"choose-card\",\n+ \"cause\": undefined,\n+ \"source\": \"thief\",\n+ },\n+ GamePlay {\n+ \"action\": \"choose-side\",\n+ \"cause\": undefined,\n+ \"source\": \"dog-wolf\",\n+ },\n+ GamePlay {\n+ \"action\": \"charm\",\n+ \"cause\": undefined,\n+ \"source\": \"cupid\",\n+ },\n+ GamePlay {\n \"action\": \"look\",\n \"cause\": undefined,\n \"source\": \"seer\",\n+ },\n+ GamePlay {\n+ \"action\": \"sniff\",\n+ \"cause\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"lovers\",\n+ },\n+ GamePlay {\n+ \"action\": \"choose-sign\",\n+ \"cause\": undefined,\n+ \"source\": \"stuttering-judge\",\n },\n GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"two-sisters\",\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"three-brothers\",\n+ },\n+ GamePlay {\n+ \"action\": \"choose-model\",\n+ \"cause\": undefined,\n+ \"source\": \"wild-child\",\n+ },\n+ GamePlay {\n+ \"action\": \"mark\",\n+ \"cause\": undefined,\n+ \"source\": \"raven\",\n+ },\n+ GamePlay {\n+ \"action\": \"protect\",\n+ \"cause\": undefined,\n+ \"source\": \"guard\",\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n+ },\n+ GamePlay {\n+ \"action\": \"eat\",\n+ \"cause\": undefined,\n+ \"source\": \"white-werewolf\",\n+ },\n+ GamePlay {\n+ \"action\": \"eat\",\n+ \"cause\": undefined,\n+ \"source\": \"big-bad-wolf\",\n+ },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"cause\": undefined,\n+ \"source\": \"witch\",\n+ },\n+ GamePlay {\n+ \"action\": \"charm\",\n+ \"cause\": undefined,\n+ \"source\": \"pied-piper\",\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"charmed\",\n },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "309" + ], + "coveredBy": [ + "309", + "310", + "311", + "456", + "457" + ], + "location": { + "end": { + "column": 65, + "line": 41 + }, + "start": { + "column": 11, + "line": 41 + } + } + }, + { + "id": "1344", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 0\n\n@@ -2,16 +2,6 @@\n GamePlay {\n \"action\": \"elect-sheriff\",\n \"cause\": undefined,\n \"source\": \"all\",\n },\n- GamePlay {\n- \"action\": \"look\",\n- \"cause\": undefined,\n- \"source\": \"seer\",\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "309" + ], + "coveredBy": [ + "309", + "310", + "311", + "456", + "457" + ], + "location": { + "end": { + "column": 65, + "line": 41 + }, + "start": { + "column": 11, + "line": 41 + } + } + }, + { + "id": "1345", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 0\n\n@@ -2,16 +2,6 @@\n GamePlay {\n \"action\": \"elect-sheriff\",\n \"cause\": undefined,\n \"source\": \"all\",\n },\n- GamePlay {\n- \"action\": \"look\",\n- \"cause\": undefined,\n- \"source\": \"seer\",\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "309" + ], + "coveredBy": [ + "309", + "310", + "311", + "456", + "457" + ], + "location": { + "end": { + "column": 8, + "line": 43 + }, + "start": { + "column": 67, + "line": 41 + } + } + }, + { + "id": "1346", + "mutatorName": "ArrayDeclaration", + "replacement": "[]", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 17\n+ Received + 1\n\n- Array [\n- GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"cause\": undefined,\n- \"source\": \"all\",\n- },\n- GamePlay {\n- \"action\": \"look\",\n- \"cause\": undefined,\n- \"source\": \"seer\",\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n- ]\n+ Array []\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "309" + ], + "coveredBy": [ + "309", + "310", + "311", + "456", + "457" + ], + "location": { + "end": { + "column": 50, + "line": 42 + }, + "start": { + "column": 16, + "line": 42 + } + } + }, + { + "id": "1347", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(45,122): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -46727,15 +47620,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", "310", "311", "312", "313", "314", - "455", - "456" + "315", + "456", + "457" ], "location": { "end": { @@ -46749,7 +47642,7 @@ } }, { - "id": "1323", + "id": "1348", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n Array [\n GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"cause\": undefined,\n+ \"source\": \"all\",\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46757,18 +47650,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "310" + "311" ], "coveredBy": [ - "308", "309", "310", "311", "312", "313", "314", - "455", - "456" + "315", + "456", + "457" ], "location": { "end": { @@ -46782,7 +47675,7 @@ } }, { - "id": "1324", + "id": "1349", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 6\n+ Received + 2\n\n@@ -1,11 +1,11 @@\n Object {\n \"_id\": Any,\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"elect-sheriff\",\n- \"source\": \"all\",\n+ \"action\": \"charm\",\n+ \"source\": \"cupid\",\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n },\n@@ -177,14 +177,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"source\": \"cupid\",\n- },\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n },\n Object {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -46790,18 +47683,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "308", "309", "310", "311", "312", "313", "314", - "455", - "456" + "315", + "456", + "457" ], "location": { "end": { @@ -46815,7 +47708,7 @@ } }, { - "id": "1325", + "id": "1350", "mutatorName": "LogicalOperator", "replacement": "isEnabled && electedAt.turn === currentTurn || electedAt.phase === currentPhase", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n Array [\n GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"cause\": undefined,\n+ \"source\": \"all\",\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46823,18 +47716,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "310" + "311" ], "coveredBy": [ - "308", "309", "310", "311", "312", "313", "314", - "455", - "456" + "315", + "456", + "457" ], "location": { "end": { @@ -46848,22 +47741,22 @@ } }, { - "id": "1326", + "id": "1351", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "308", "309", "310", "311", "312", "313", "314", - "455", - "456" + "315", + "456", + "457" ], "location": { "end": { @@ -46877,7 +47770,7 @@ } }, { - "id": "1327", + "id": "1352", "mutatorName": "LogicalOperator", "replacement": "isEnabled || electedAt.turn === currentTurn", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n Array [\n GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"cause\": undefined,\n+ \"source\": \"all\",\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46885,18 +47778,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "310" + "311" ], "coveredBy": [ - "308", "309", "310", "311", "312", "313", "314", - "455", - "456" + "315", + "456", + "457" ], "location": { "end": { @@ -46910,7 +47803,7 @@ } }, { - "id": "1328", + "id": "1353", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n Array [\n GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"cause\": undefined,\n+ \"source\": \"all\",\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46918,16 +47811,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "310" + "311" ], "coveredBy": [ - "308", "309", "310", - "312", + "311", "313", "314", - "455" + "315", + "456" ], "location": { "end": { @@ -46941,7 +47834,7 @@ } }, { - "id": "1329", + "id": "1354", "mutatorName": "EqualityOperator", "replacement": "electedAt.turn !== currentTurn", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 6\n+ Received + 2\n\n@@ -1,11 +1,11 @@\n Object {\n \"_id\": Any,\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"elect-sheriff\",\n- \"source\": \"all\",\n+ \"action\": \"charm\",\n+ \"source\": \"cupid\",\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n },\n@@ -177,14 +177,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"source\": \"cupid\",\n- },\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n },\n Object {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -46949,16 +47842,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "308", "309", "310", - "312", + "311", "313", "314", - "455" + "315", + "456" ], "location": { "end": { @@ -46972,7 +47865,7 @@ } }, { - "id": "1330", + "id": "1355", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:163:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -46980,14 +47873,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "313" + "314" ], "coveredBy": [ - "308", "309", - "313", + "310", "314", - "455" + "315", + "456" ], "location": { "end": { @@ -47001,7 +47894,7 @@ } }, { - "id": "1331", + "id": "1356", "mutatorName": "EqualityOperator", "replacement": "electedAt.phase !== currentPhase", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -1,12 +1,7 @@\n Array [\n GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"cause\": undefined,\n- \"source\": \"all\",\n- },\n- GamePlay {\n \"action\": \"look\",\n \"cause\": undefined,\n \"source\": \"seer\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47009,14 +47902,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "308" + "309" ], "coveredBy": [ - "308", "309", - "313", + "310", "314", - "455" + "315", + "456" ], "location": { "end": { @@ -47030,7 +47923,7 @@ } }, { - "id": "1332", + "id": "1357", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(50,80): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -47038,9 +47931,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "315", + "310", "316", "317", "318", @@ -47048,9 +47940,10 @@ "320", "321", "322", - "332", - "455", - "456" + "323", + "333", + "456", + "457" ], "location": { "end": { @@ -47064,7 +47957,7 @@ } }, { - "id": "1333", + "id": "1358", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(52,37): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(54,50): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(58,51): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(59,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", @@ -47072,9 +47965,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "315", + "310", "316", "317", "318", @@ -47082,9 +47974,10 @@ "320", "321", "322", - "332", - "455", - "456" + "323", + "333", + "456", + "457" ], "location": { "end": { @@ -47098,7 +47991,7 @@ } }, { - "id": "1334", + "id": "1359", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(52,37): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(54,50): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(58,51): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n", @@ -47106,9 +47999,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "315", + "310", "316", "317", "318", @@ -47116,9 +48008,10 @@ "320", "321", "322", - "332", - "455", - "456" + "323", + "333", + "456", + "457" ], "location": { "end": { @@ -47132,7 +48025,7 @@ } }, { - "id": "1335", + "id": "1360", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(54,50): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(58,51): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n", @@ -47140,10 +48033,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "315", "316", - "455", - "456" + "317", + "456", + "457" ], "location": { "end": { @@ -47157,7 +48050,7 @@ } }, { - "id": "1336", + "id": "1361", "mutatorName": "BooleanLiteral", "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.CUPID)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 4\n+ Received + 0\n\n@@ -186,14 +186,10 @@\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n },\n Object {\n- \"action\": \"meet-each-other\",\n- \"source\": \"lovers\",\n- },\n- Object {\n \"action\": \"eat\",\n \"source\": \"werewolves\",\n },\n Object {\n \"action\": \"eat\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -47165,13 +48058,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "455", - "456" + "317", + "456", + "457" ], "location": { "end": { @@ -47185,7 +48078,7 @@ } }, { - "id": "1337", + "id": "1362", "mutatorName": "BooleanLiteral", "replacement": "getPlayerDtoWithRole(game.players, ROLE_NAMES.CUPID)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 4\n+ Received + 0\n\n@@ -186,14 +186,10 @@\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n },\n Object {\n- \"action\": \"meet-each-other\",\n- \"source\": \"lovers\",\n- },\n- Object {\n \"action\": \"eat\",\n \"source\": \"werewolves\",\n },\n Object {\n \"action\": \"eat\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -47193,13 +48086,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "315", "316", - "455", - "456" + "317", + "456", + "457" ], "location": { "end": { @@ -47213,7 +48106,7 @@ } }, { - "id": "1338", + "id": "1363", "mutatorName": "BooleanLiteral", "replacement": "cupidPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(59,62): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -47221,15 +48114,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "317", + "310", "318", "319", "320", "321", "322", - "332" + "323", + "333" ], "location": { "end": { @@ -47243,7 +48136,7 @@ } }, { - "id": "1339", + "id": "1364", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(58,51): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(59,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", @@ -47251,15 +48144,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "317", + "310", "318", "319", "320", "321", "322", - "332" + "323", + "333" ], "location": { "end": { @@ -47273,7 +48166,7 @@ } }, { - "id": "1340", + "id": "1365", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(59,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", @@ -47281,15 +48174,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "317", + "310", "318", "319", "320", "321", "322", - "332" + "323", + "333" ], "location": { "end": { @@ -47303,7 +48196,7 @@ } }, { - "id": "1341", + "id": "1366", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(57,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", @@ -47311,9 +48204,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", - "317", - "332" + "309", + "318", + "333" ], "location": { "end": { @@ -47327,7 +48220,7 @@ } }, { - "id": "1342", + "id": "1367", "mutatorName": "BooleanLiteral", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -8,10 +8,15 @@\n \"action\": \"look\",\n \"cause\": undefined,\n \"source\": \"seer\",\n },\n GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"lovers\",\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47335,12 +48228,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "308" + "309" ], "coveredBy": [ - "308", - "317", - "332" + "309", + "318", + "333" ], "location": { "end": { @@ -47354,7 +48247,7 @@ } }, { - "id": "1343", + "id": "1368", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:220:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47362,15 +48255,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "318" + "319" ], "coveredBy": [ - "309", - "318", + "310", "319", "320", "321", - "322" + "322", + "323" ], "location": { "end": { @@ -47384,7 +48277,7 @@ } }, { - "id": "1344", + "id": "1369", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -33,15 +33,10 @@\n \"action\": \"sniff\",\n \"cause\": undefined,\n \"source\": \"fox\",\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n- \"source\": \"lovers\",\n- },\n- GamePlay {\n \"action\": \"choose-sign\",\n \"cause\": undefined,\n \"source\": \"stuttering-judge\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47392,15 +48285,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "318", + "310", "319", "320", "321", - "322" + "322", + "323" ], "location": { "end": { @@ -47414,7 +48307,7 @@ } }, { - "id": "1345", + "id": "1370", "mutatorName": "LogicalOperator", "replacement": "!inLovePlayers.length && isPlayerAliveAndPowerful(cupidPlayer) && inLovePlayers.length > 0 && inLovePlayers.every(player => player.isAlive)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -33,15 +33,10 @@\n \"action\": \"sniff\",\n \"cause\": undefined,\n \"source\": \"fox\",\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n- \"source\": \"lovers\",\n- },\n- GamePlay {\n \"action\": \"choose-sign\",\n \"cause\": undefined,\n \"source\": \"stuttering-judge\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47422,15 +48315,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "318", + "310", "319", "320", "321", - "322" + "322", + "323" ], "location": { "end": { @@ -47444,19 +48337,19 @@ } }, { - "id": "1346", + "id": "1371", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "309", - "318", + "310", "319", "320", "321", - "322" + "322", + "323" ], "location": { "end": { @@ -47470,19 +48363,19 @@ } }, { - "id": "1347", + "id": "1372", "mutatorName": "LogicalOperator", "replacement": "!inLovePlayers.length || isPlayerAliveAndPowerful(cupidPlayer)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "309", - "318", + "310", "319", "320", "321", - "322" + "322", + "323" ], "location": { "end": { @@ -47496,7 +48389,7 @@ } }, { - "id": "1348", + "id": "1373", "mutatorName": "BooleanLiteral", "replacement": "inLovePlayers.length", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -33,15 +33,10 @@\n \"action\": \"sniff\",\n \"cause\": undefined,\n \"source\": \"fox\",\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n- \"source\": \"lovers\",\n- },\n- GamePlay {\n \"action\": \"choose-sign\",\n \"cause\": undefined,\n \"source\": \"stuttering-judge\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47504,15 +48397,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "318", + "310", "319", "320", "321", - "322" + "322", + "323" ], "location": { "end": { @@ -47526,17 +48419,17 @@ } }, { - "id": "1349", + "id": "1374", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "318", "319", - "321", - "322" + "320", + "322", + "323" ], "location": { "end": { @@ -47550,7 +48443,7 @@ } }, { - "id": "1350", + "id": "1375", "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 Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:220:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47558,13 +48451,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "318" + "319" ], "coveredBy": [ - "318", "319", - "321", - "322" + "320", + "322", + "323" ], "location": { "end": { @@ -47578,7 +48471,7 @@ } }, { - "id": "1351", + "id": "1376", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:220:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47586,13 +48479,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "318" + "319" ], "coveredBy": [ - "318", "319", - "321", - "322" + "320", + "322", + "323" ], "location": { "end": { @@ -47606,7 +48499,7 @@ } }, { - "id": "1352", + "id": "1377", "mutatorName": "EqualityOperator", "replacement": "inLovePlayers.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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:220:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47614,13 +48507,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "318" + "319" ], "coveredBy": [ - "318", "319", - "321", - "322" + "320", + "322", + "323" ], "location": { "end": { @@ -47634,7 +48527,7 @@ } }, { - "id": "1353", + "id": "1378", "mutatorName": "EqualityOperator", "replacement": "inLovePlayers.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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:220:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47642,13 +48535,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "318" + "319" ], "coveredBy": [ - "318", "319", - "321", - "322" + "320", + "322", + "323" ], "location": { "end": { @@ -47662,7 +48555,7 @@ } }, { - "id": "1354", + "id": "1379", "mutatorName": "MethodExpression", "replacement": "inLovePlayers.some(player => player.isAlive)", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:256:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47670,11 +48563,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "321" + "322" ], "coveredBy": [ - "321", - "322" + "322", + "323" ], "location": { "end": { @@ -47688,7 +48581,7 @@ } }, { - "id": "1355", + "id": "1380", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:268:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47696,11 +48589,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "322" + "323" ], "coveredBy": [ - "321", - "322" + "322", + "323" ], "location": { "end": { @@ -47714,7 +48607,7 @@ } }, { - "id": "1356", + "id": "1381", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(62,97): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -47722,9 +48615,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "323", + "310", "324", "325", "326", @@ -47732,10 +48624,11 @@ "328", "329", "330", - "397", - "455", + "331", + "398", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -47749,7 +48642,7 @@ } }, { - "id": "1357", + "id": "1382", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(67,37): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(69,50): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(70,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", @@ -47757,9 +48650,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "323", + "310", "324", "325", "326", @@ -47767,10 +48659,11 @@ "328", "329", "330", - "397", - "455", + "331", + "398", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -47784,16 +48677,15 @@ } }, { - "id": "1358", + "id": "1383", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "323", + "310", "324", "325", "326", @@ -47801,10 +48693,11 @@ "328", "329", "330", - "397", - "455", + "331", + "398", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -47818,7 +48711,7 @@ } }, { - "id": "1359", + "id": "1384", "mutatorName": "EqualityOperator", "replacement": "gamePlay.cause === GAME_PLAY_CAUSES.ANGEL_PRESENCE", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -3,10 +3,15 @@\n \"action\": \"elect-sheriff\",\n \"cause\": undefined,\n \"source\": \"all\",\n },\n GamePlay {\n+ \"action\": \"vote\",\n+ \"cause\": \"angel-presence\",\n+ \"source\": \"all\",\n+ },\n+ GamePlay {\n \"action\": \"look\",\n \"cause\": undefined,\n \"source\": \"seer\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -47826,12 +48719,11 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "308" + "309" ], "coveredBy": [ - "308", "309", - "323", + "310", "324", "325", "326", @@ -47839,10 +48731,11 @@ "328", "329", "330", - "397", - "455", + "331", + "398", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -47856,7 +48749,7 @@ } }, { - "id": "1360", + "id": "1385", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 3\n\n@@ -1,12 +1,11 @@\n Object {\n \"_id\": \"ed1c6fda91afd00b1afc42c7\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\n+ \"action\": \"look\",\n+ \"source\": \"seer\",\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": true,\n },\n@@ -145,13 +144,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 3363905271234560,\n \"turn\": 3919508425146368,\n- \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"source\": \"seer\",\n- },\n- ],\n+ \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:682:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -47864,13 +48757,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "323", "324", - "397", - "467" + "325", + "398", + "468" ], "location": { "end": { @@ -47884,7 +48777,7 @@ } }, { - "id": "1361", + "id": "1386", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 3\n\n@@ -1,12 +1,11 @@\n Object {\n \"_id\": \"d8aeb4ee3f6501288c6efa90\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\n+ \"action\": \"look\",\n+ \"source\": \"seer\",\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n },\n@@ -145,13 +144,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 7727697945952256,\n \"turn\": 4320338550718464,\n- \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"source\": \"seer\",\n- },\n- ],\n+ \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:682:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -47892,13 +48785,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "467" + "468" ], "coveredBy": [ - "323", "324", - "397", - "467" + "325", + "398", + "468" ], "location": { "end": { @@ -47912,7 +48805,7 @@ } }, { - "id": "1362", + "id": "1387", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(67,37): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(69,50): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(70,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", @@ -47920,16 +48813,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "325", + "310", "326", "327", "328", "329", "330", - "455", - "456" + "331", + "456", + "457" ], "location": { "end": { @@ -47943,7 +48836,7 @@ } }, { - "id": "1363", + "id": "1388", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(67,37): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(69,50): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -47951,16 +48844,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "325", + "310", "326", "327", "328", "329", "330", - "455", - "456" + "331", + "456", + "457" ], "location": { "end": { @@ -47974,7 +48867,7 @@ } }, { - "id": "1364", + "id": "1389", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(67,50): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -47982,10 +48875,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "325", "326", - "455", - "456" + "327", + "456", + "457" ], "location": { "end": { @@ -47999,7 +48892,7 @@ } }, { - "id": "1365", + "id": "1390", "mutatorName": "BooleanLiteral", "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.ANGEL)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -178,10 +178,15 @@\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n Object {\n+ \"action\": \"vote\",\n+ \"cause\": \"angel-presence\",\n+ \"source\": \"all\",\n+ },\n+ Object {\n \"action\": \"charm\",\n \"source\": \"cupid\",\n },\n Object {\n \"action\": \"look\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -48007,13 +48900,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "325", "326", - "455", - "456" + "327", + "456", + "457" ], "location": { "end": { @@ -48027,7 +48920,7 @@ } }, { - "id": "1366", + "id": "1391", "mutatorName": "BooleanLiteral", "replacement": "getPlayerDtoWithRole(game.players, ROLE_NAMES.ANGEL)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -178,10 +178,15 @@\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n Object {\n+ \"action\": \"vote\",\n+ \"cause\": \"angel-presence\",\n+ \"source\": \"all\",\n+ },\n+ Object {\n \"action\": \"charm\",\n \"source\": \"cupid\",\n },\n Object {\n \"action\": \"look\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -48035,13 +48928,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "325", "326", - "455", - "456" + "327", + "456", + "457" ], "location": { "end": { @@ -48055,7 +48948,7 @@ } }, { - "id": "1367", + "id": "1392", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -3,10 +3,15 @@\n \"action\": \"elect-sheriff\",\n \"cause\": undefined,\n \"source\": \"all\",\n },\n GamePlay {\n+ \"action\": \"vote\",\n+ \"cause\": \"angel-presence\",\n+ \"source\": \"all\",\n+ },\n+ GamePlay {\n \"action\": \"look\",\n \"cause\": undefined,\n \"source\": \"seer\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48063,15 +48956,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "308" + "309" ], "coveredBy": [ - "308", "309", - "327", + "310", "328", "329", - "330" + "330", + "331" ], "location": { "end": { @@ -48085,7 +48978,7 @@ } }, { - "id": "1368", + "id": "1393", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -3,15 +3,10 @@\n \"action\": \"elect-sheriff\",\n \"cause\": undefined,\n \"source\": \"all\",\n },\n GamePlay {\n- \"action\": \"vote\",\n- \"cause\": \"angel-presence\",\n- \"source\": \"all\",\n- },\n- GamePlay {\n \"action\": \"choose-card\",\n \"cause\": undefined,\n \"source\": \"thief\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48093,15 +48986,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "308", "309", - "327", + "310", "328", "329", - "330" + "330", + "331" ], "location": { "end": { @@ -48115,7 +49008,7 @@ } }, { - "id": "1369", + "id": "1394", "mutatorName": "LogicalOperator", "replacement": "!!angelPlayer || isPlayerAliveAndPowerful(angelPlayer)", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(70,54): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -48123,12 +49016,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "327", + "310", "328", "329", - "330" + "330", + "331" ], "location": { "end": { @@ -48142,7 +49035,7 @@ } }, { - "id": "1370", + "id": "1395", "mutatorName": "BooleanLiteral", "replacement": "!angelPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(70,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -48150,12 +49043,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "327", + "310", "328", "329", - "330" + "330", + "331" ], "location": { "end": { @@ -48169,7 +49062,7 @@ } }, { - "id": "1371", + "id": "1396", "mutatorName": "BooleanLiteral", "replacement": "angelPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(70,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -48177,12 +49070,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", - "327", + "310", "328", "329", - "330" + "330", + "331" ], "location": { "end": { @@ -48196,7 +49089,7 @@ } }, { - "id": "1372", + "id": "1397", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(73,99): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -48204,23 +49097,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "331", + "311", "332", "333", "334", "335", "336", "337", - "397", - "455", + "338", + "398", "456", - "467", - "468" + "457", + "468", + "469" ], "location": { "end": { @@ -48234,7 +49127,7 @@ } }, { - "id": "1373", + "id": "1398", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(75,11): error TS2739: Type '{}' is missing the following properties from type 'Record boolean>': all, villagers, werewolves, lovers, charmed\n", @@ -48242,23 +49135,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "331", + "311", "332", "333", "334", "335", "336", "337", - "397", - "455", + "338", + "398", "456", - "467", - "468" + "457", + "468", + "469" ], "location": { "end": { @@ -48272,7 +49165,7 @@ } }, { - "id": "1374", + "id": "1399", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(79,41): error TS2322: Type 'undefined' is not assignable to type 'boolean'.\n", @@ -48280,23 +49173,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "331", + "311", "332", "333", "334", "335", "336", "337", - "397", - "455", + "338", + "398", "456", - "467", - "468" + "457", + "468", + "469" ], "location": { "end": { @@ -48310,7 +49203,7 @@ } }, { - "id": "1375", + "id": "1400", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:443:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48318,20 +49211,20 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "336" + "337" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "334", - "336", + "311", + "335", "337", - "455", + "338", "456", - "468" + "457", + "469" ], "location": { "end": { @@ -48345,7 +49238,7 @@ } }, { - "id": "1376", + "id": "1401", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 4\n+ Received + 0\n\n@@ -191,14 +191,10 @@\n \"action\": \"meet-each-other\",\n \"source\": \"lovers\",\n },\n Object {\n \"action\": \"eat\",\n- \"source\": \"werewolves\",\n- },\n- Object {\n- \"action\": \"eat\",\n \"source\": \"white-werewolf\",\n },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -48353,20 +49246,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "334", - "336", + "311", + "335", "337", - "455", + "338", "456", - "468" + "457", + "469" ], "location": { "end": { @@ -48380,7 +49273,7 @@ } }, { - "id": "1377", + "id": "1402", "mutatorName": "LogicalOperator", "replacement": "game instanceof CreateGameDto && getGroupOfPlayers(game.players, source).some(werewolf => isPlayerAliveAndPowerful(werewolf))", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(79,92): 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", @@ -48388,17 +49281,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "334", - "336", + "311", + "335", "337", - "455", + "338", "456", - "468" + "457", + "469" ], "location": { "end": { @@ -48412,7 +49305,7 @@ } }, { - "id": "1378", + "id": "1403", "mutatorName": "MethodExpression", "replacement": "getGroupOfPlayers(game.players, source).every(werewolf => isPlayerAliveAndPowerful(werewolf))", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:456:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48420,17 +49313,17 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "337" + "338" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468" + "338", + "469" ], "location": { "end": { @@ -48444,7 +49337,7 @@ } }, { - "id": "1379", + "id": "1404", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -1,11 +1,11 @@\n Object {\n \"_id\": \"f8a359ffc8e9edf5cffba250\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"eat\",\n- \"source\": \"werewolves\",\n+ \"action\": \"look\",\n+ \"source\": \"seer\",\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": true,\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:722:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -48452,17 +49345,17 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "336", + "311", "337", - "468" + "338", + "469" ], "location": { "end": { @@ -48476,7 +49369,7 @@ } }, { - "id": "1380", + "id": "1405", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(80,40): error TS2322: Type 'undefined' is not assignable to type 'boolean'.\n", @@ -48484,23 +49377,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "331", + "311", "332", "333", "334", "335", "336", "337", - "397", - "455", + "338", + "398", "456", - "467", - "468" + "457", + "468", + "469" ], "location": { "end": { @@ -48514,7 +49407,7 @@ } }, { - "id": "1381", + "id": "1406", "mutatorName": "BooleanLiteral", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:430:102)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48522,10 +49415,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "335" + "336" ], "coveredBy": [ - "335" + "336" ], "location": { "end": { @@ -48539,7 +49432,7 @@ } }, { - "id": "1382", + "id": "1407", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(85,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -48547,8 +49440,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "338", + "310", "339", "340", "341", @@ -48556,8 +49448,9 @@ "343", "344", "345", - "380", - "455" + "346", + "381", + "456" ], "location": { "end": { @@ -48571,7 +49464,7 @@ } }, { - "id": "1383", + "id": "1408", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:515:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48579,11 +49472,10 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "339" + "340" ], "coveredBy": [ - "309", - "338", + "310", "339", "340", "341", @@ -48591,8 +49483,9 @@ "343", "344", "345", - "380", - "455" + "346", + "381", + "456" ], "location": { "end": { @@ -48606,7 +49499,7 @@ } }, { - "id": "1384", + "id": "1409", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 4\n+ Received + 0\n\n@@ -193,12 +193,8 @@\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"werewolves\",\n },\n- Object {\n- \"action\": \"eat\",\n- \"source\": \"white-werewolf\",\n- },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -48614,11 +49507,10 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "309", - "338", + "310", "339", "340", "341", @@ -48626,8 +49518,9 @@ "343", "344", "345", - "380", - "455" + "346", + "381", + "456" ], "location": { "end": { @@ -48641,7 +49534,7 @@ } }, { - "id": "1385", + "id": "1410", "mutatorName": "EqualityOperator", "replacement": "wakingUpInterval >= 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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:483:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48649,20 +49542,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "339" + "340" ], "coveredBy": [ - "309", - "338", + "310", "339", "340", "341", "342", "343", "344", - "345", - "380", - "455" + "345", + "346", + "381", + "456" ], "location": { "end": { @@ -48676,15 +49569,14 @@ } }, { - "id": "1386", + "id": "1411", "mutatorName": "EqualityOperator", "replacement": "wakingUpInterval <= 0", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "309", - "338", + "310", "339", "340", "341", @@ -48692,8 +49584,9 @@ "343", "344", "345", - "380", - "455" + "346", + "381", + "456" ], "location": { "end": { @@ -48707,7 +49600,7 @@ } }, { - "id": "1387", + "id": "1412", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(89,68): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(91,58): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(92,93): 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", @@ -48715,8 +49608,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "338", + "310", "339", "340", "341", @@ -48724,8 +49616,9 @@ "343", "344", "345", - "380", - "455" + "346", + "381", + "456" ], "location": { "end": { @@ -48739,7 +49632,7 @@ } }, { - "id": "1388", + "id": "1413", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(89,68): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(91,58): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -48747,8 +49640,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "338", + "310", "339", "340", "341", @@ -48756,8 +49648,9 @@ "343", "344", "345", - "380", - "455" + "346", + "381", + "456" ], "location": { "end": { @@ -48771,7 +49664,7 @@ } }, { - "id": "1389", + "id": "1414", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(92,58): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -48779,10 +49672,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "338", "339", "340", - "455" + "341", + "456" ], "location": { "end": { @@ -48796,7 +49689,7 @@ } }, { - "id": "1390", + "id": "1415", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:470:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48804,13 +49697,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "338" + "339" ], "coveredBy": [ - "338", "339", "340", - "455" + "341", + "456" ], "location": { "end": { @@ -48824,7 +49717,7 @@ } }, { - "id": "1391", + "id": "1416", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:496:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48832,13 +49725,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "340" + "341" ], "coveredBy": [ - "338", "339", "340", - "455" + "341", + "456" ], "location": { "end": { @@ -48852,7 +49745,7 @@ } }, { - "id": "1392", + "id": "1417", "mutatorName": "LogicalOperator", "replacement": "shouldWhiteWerewolfBeCalled || !!getPlayerDtoWithRole(game.players, ROLE_NAMES.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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:470:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48860,13 +49753,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "338" + "339" ], "coveredBy": [ - "338", "339", "340", - "455" + "341", + "456" ], "location": { "end": { @@ -48880,7 +49773,7 @@ } }, { - "id": "1393", + "id": "1418", "mutatorName": "BooleanLiteral", "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.WHITE_WEREWOLF)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 4\n+ Received + 0\n\n@@ -193,12 +193,8 @@\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"werewolves\",\n },\n- Object {\n- \"action\": \"eat\",\n- \"source\": \"white-werewolf\",\n- },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -48888,12 +49781,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "338", - "340", - "455" + "339", + "341", + "456" ], "location": { "end": { @@ -48907,7 +49800,7 @@ } }, { - "id": "1394", + "id": "1419", "mutatorName": "BooleanLiteral", "replacement": "getPlayerDtoWithRole(game.players, ROLE_NAMES.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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:470:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48915,12 +49808,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "338" + "339" ], "coveredBy": [ - "338", - "340", - "455" + "339", + "341", + "456" ], "location": { "end": { @@ -48934,7 +49827,7 @@ } }, { - "id": "1395", + "id": "1420", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:508:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -48942,16 +49835,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "341" + "342" ], "coveredBy": [ - "309", - "341", + "310", "342", "343", "344", "345", - "380" + "346", + "381" ], "location": { "end": { @@ -48965,20 +49858,20 @@ } }, { - "id": "1396", + "id": "1421", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "309", - "341", + "310", "342", "343", "344", "345", - "380" + "346", + "381" ], "location": { "end": { @@ -48992,7 +49885,7 @@ } }, { - "id": "1397", + "id": "1422", "mutatorName": "LogicalOperator", "replacement": "shouldWhiteWerewolfBeCalled && !!whiteWerewolfPlayer || isPlayerAliveAndPowerful(whiteWerewolfPlayer)", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(92,93): 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", @@ -49000,13 +49893,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "341", + "310", "342", "343", "344", "345", - "380" + "346", + "381" ], "location": { "end": { @@ -49020,7 +49913,7 @@ } }, { - "id": "1398", + "id": "1423", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(92,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", @@ -49028,13 +49921,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "341", + "310", "342", "343", "344", "345", - "380" + "346", + "381" ], "location": { "end": { @@ -49048,7 +49941,7 @@ } }, { - "id": "1399", + "id": "1424", "mutatorName": "LogicalOperator", "replacement": "shouldWhiteWerewolfBeCalled || !!whiteWerewolfPlayer", "statusReason": "TypeError: Cannot read properties of undefined (reading 'isAlive')\n at isPlayerAliveAndPowerful (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/src/modules/game/helpers/player/player.helper.ts:86:194)\n at GamePlaysManagerService.isWhiteWerewolfGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/src/modules/game/providers/services/game-play/game-plays-manager.service.ts:218:638)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:508:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49056,16 +49949,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "341" + "342" ], "coveredBy": [ - "309", - "341", + "310", "342", "343", "344", "345", - "380" + "346", + "381" ], "location": { "end": { @@ -49079,7 +49972,7 @@ } }, { - "id": "1400", + "id": "1425", "mutatorName": "BooleanLiteral", "replacement": "!whiteWerewolfPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(92,92): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -49087,12 +49980,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "341", - "343", + "310", + "342", "344", "345", - "380" + "346", + "381" ], "location": { "end": { @@ -49106,7 +49999,7 @@ } }, { - "id": "1401", + "id": "1426", "mutatorName": "BooleanLiteral", "replacement": "whiteWerewolfPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(92,92): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -49114,12 +50007,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "341", - "343", + "310", + "342", "344", "345", - "380" + "346", + "381" ], "location": { "end": { @@ -49133,7 +50026,7 @@ } }, { - "id": "1402", + "id": "1427", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(95,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -49141,17 +50034,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", "310", - "333", - "346", + "311", + "334", "347", "348", "349", "350", - "455", - "456" + "351", + "456", + "457" ], "location": { "end": { @@ -49165,7 +50058,7 @@ } }, { - "id": "1403", + "id": "1428", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(97,37): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(100,54): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(101,51): 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", @@ -49173,17 +50066,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", "310", - "333", - "346", + "311", + "334", "347", "348", "349", "350", - "455", - "456" + "351", + "456", + "457" ], "location": { "end": { @@ -49197,7 +50090,7 @@ } }, { - "id": "1404", + "id": "1429", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(97,37): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(100,54): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -49205,17 +50098,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", "310", - "333", - "346", + "311", + "334", "347", "348", "349", "350", - "455", - "456" + "351", + "456", + "457" ], "location": { "end": { @@ -49229,7 +50122,7 @@ } }, { - "id": "1405", + "id": "1430", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(101,54): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -49237,10 +50130,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "346", "347", - "455", - "456" + "348", + "456", + "457" ], "location": { "end": { @@ -49254,7 +50147,7 @@ } }, { - "id": "1406", + "id": "1431", "mutatorName": "BooleanLiteral", "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.PIED_PIPER)", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:574:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49262,13 +50155,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "346" + "347" ], "coveredBy": [ - "346", "347", - "455", - "456" + "348", + "456", + "457" ], "location": { "end": { @@ -49282,17 +50175,17 @@ } }, { - "id": "1407", + "id": "1432", "mutatorName": "BooleanLiteral", "replacement": "getPlayerDtoWithRole(game.players, ROLE_NAMES.PIED_PIPER)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "346", "347", - "455", - "456" + "348", + "456", + "457" ], "location": { "end": { @@ -49306,7 +50199,7 @@ } }, { - "id": "1408", + "id": "1433", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -12,6 +12,11 @@\n GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"charmed\",\n+ },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49314,16 +50207,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "308" + "309" ], "coveredBy": [ - "308", "309", "310", - "333", - "348", + "311", + "334", "349", - "350" + "350", + "351" ], "location": { "end": { @@ -49337,7 +50230,7 @@ } }, { - "id": "1409", + "id": "1434", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 0\n\n@@ -87,16 +87,6 @@\n GamePlay {\n \"action\": \"use-potions\",\n \"cause\": undefined,\n \"source\": \"witch\",\n },\n- GamePlay {\n- \"action\": \"charm\",\n- \"cause\": undefined,\n- \"source\": \"pied-piper\",\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n- \"source\": \"charmed\",\n- },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49345,16 +50238,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "308", "309", "310", - "333", - "348", + "311", + "334", "349", - "350" + "350", + "351" ], "location": { "end": { @@ -49368,7 +50261,7 @@ } }, { - "id": "1410", + "id": "1435", "mutatorName": "LogicalOperator", "replacement": "!!piedPiperPlayer || canPiedPiperCharm(piedPiperPlayer, isPowerlessIfInfected)", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(101,51): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -49376,13 +50269,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", "310", - "333", - "348", + "311", + "334", "349", - "350" + "350", + "351" ], "location": { "end": { @@ -49396,7 +50289,7 @@ } }, { - "id": "1411", + "id": "1436", "mutatorName": "BooleanLiteral", "replacement": "!piedPiperPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(101,50): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -49404,13 +50297,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", "310", - "333", - "348", + "311", + "334", "349", - "350" + "350", + "351" ], "location": { "end": { @@ -49424,7 +50317,7 @@ } }, { - "id": "1412", + "id": "1437", "mutatorName": "BooleanLiteral", "replacement": "piedPiperPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(101,50): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -49432,13 +50325,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", "309", "310", - "333", - "348", + "311", + "334", "349", - "350" + "350", + "351" ], "location": { "end": { @@ -49452,7 +50345,7 @@ } }, { - "id": "1413", + "id": "1438", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(104,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -49460,15 +50353,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "351", + "310", "352", "353", "354", "355", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49482,7 +50375,7 @@ } }, { - "id": "1414", + "id": "1439", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(106,37): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(109,55): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(110,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'.\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(110,133): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n", @@ -49490,15 +50383,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "351", + "310", "352", "353", "354", "355", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49512,7 +50405,7 @@ } }, { - "id": "1415", + "id": "1440", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(106,37): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(109,55): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(110,133): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n", @@ -49520,15 +50413,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "351", + "310", "352", "353", "354", "355", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49542,7 +50435,7 @@ } }, { - "id": "1416", + "id": "1441", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(110,55): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(111,133): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n", @@ -49550,8 +50443,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "351", - "352" + "352", + "353" ], "location": { "end": { @@ -49565,7 +50458,7 @@ } }, { - "id": "1417", + "id": "1442", "mutatorName": "BooleanLiteral", "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:638:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49573,11 +50466,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "351" + "352" ], "coveredBy": [ - "351", - "352" + "352", + "353" ], "location": { "end": { @@ -49591,7 +50484,7 @@ } }, { - "id": "1418", + "id": "1443", "mutatorName": "BooleanLiteral", "replacement": "getPlayerDtoWithRole(game.players, ROLE_NAMES.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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:638:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49599,11 +50492,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "351" + "352" ], "coveredBy": [ - "351", - "352" + "352", + "353" ], "location": { "end": { @@ -49617,7 +50510,7 @@ } }, { - "id": "1419", + "id": "1444", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:662:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49625,16 +50518,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "353" + "354" ], "coveredBy": [ - "309", - "353", + "310", "354", "355", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49648,7 +50541,7 @@ } }, { - "id": "1420", + "id": "1445", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -78,15 +78,10 @@\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"white-werewolf\",\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"big-bad-wolf\",\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"cause\": undefined,\n \"source\": \"witch\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49656,16 +50549,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "353", + "310", "354", "355", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49679,7 +50572,7 @@ } }, { - "id": "1421", + "id": "1446", "mutatorName": "LogicalOperator", "replacement": "!!bigBadWolfPlayer && isPlayerAliveAndPowerful(bigBadWolfPlayer) || !isPowerlessIfWerewolfDies || areAllWerewolvesAlive(game.players)", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:662:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49687,16 +50580,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "353" + "354" ], "coveredBy": [ - "309", - "353", + "310", "354", "355", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49710,7 +50603,7 @@ } }, { - "id": "1422", + "id": "1447", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:662:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49718,16 +50611,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "353" + "354" ], "coveredBy": [ - "309", - "353", + "310", "354", "355", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49741,7 +50634,7 @@ } }, { - "id": "1423", + "id": "1448", "mutatorName": "LogicalOperator", "replacement": "!!bigBadWolfPlayer || isPlayerAliveAndPowerful(bigBadWolfPlayer)", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(110,59): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -49749,13 +50642,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "353", + "310", "354", "355", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49769,7 +50662,7 @@ } }, { - "id": "1424", + "id": "1449", "mutatorName": "BooleanLiteral", "replacement": "!bigBadWolfPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(110,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -49777,13 +50670,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "353", + "310", "354", "355", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49797,7 +50690,7 @@ } }, { - "id": "1425", + "id": "1450", "mutatorName": "BooleanLiteral", "replacement": "bigBadWolfPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(110,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -49805,13 +50698,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "353", + "310", "354", "355", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49825,7 +50718,7 @@ } }, { - "id": "1426", + "id": "1451", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:688:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49833,14 +50726,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "355" + "356" ], "coveredBy": [ - "309", - "355", + "310", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49854,7 +50747,7 @@ } }, { - "id": "1427", + "id": "1452", "mutatorName": "LogicalOperator", "replacement": "!isPowerlessIfWerewolfDies && areAllWerewolvesAlive(game.players)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -78,15 +78,10 @@\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"white-werewolf\",\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"big-bad-wolf\",\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"cause\": undefined,\n \"source\": \"witch\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49862,14 +50755,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "355", + "310", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49883,7 +50776,7 @@ } }, { - "id": "1428", + "id": "1453", "mutatorName": "BooleanLiteral", "replacement": "isPowerlessIfWerewolfDies", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:688:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49891,14 +50784,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "355" + "356" ], "coveredBy": [ - "309", - "355", + "310", "356", "357", - "378" + "358", + "379" ], "location": { "end": { @@ -49912,7 +50805,7 @@ } }, { - "id": "1429", + "id": "1454", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(113,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -49920,8 +50813,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "358", + "310", "359", "360", "361", @@ -49930,7 +50822,8 @@ "364", "365", "366", - "377" + "367", + "378" ], "location": { "end": { @@ -49944,7 +50837,7 @@ } }, { - "id": "1430", + "id": "1455", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:743:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49952,11 +50845,10 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "359" + "360" ], "coveredBy": [ - "309", - "358", + "310", "359", "360", "361", @@ -49965,7 +50857,8 @@ "364", "365", "366", - "377" + "367", + "378" ], "location": { "end": { @@ -49979,7 +50872,7 @@ } }, { - "id": "1431", + "id": "1456", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -48,15 +48,10 @@\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n \"source\": \"two-sisters\",\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n- \"source\": \"three-brothers\",\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n \"source\": \"wild-child\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -49987,11 +50880,10 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "358", + "310", "359", "360", "361", @@ -50000,7 +50892,8 @@ "364", "365", "366", - "377" + "367", + "378" ], "location": { "end": { @@ -50014,7 +50907,7 @@ } }, { - "id": "1432", + "id": "1457", "mutatorName": "EqualityOperator", "replacement": "wakingUpInterval >= 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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:743:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50022,11 +50915,10 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "359" + "360" ], "coveredBy": [ - "309", - "358", + "310", "359", "360", "361", @@ -50035,7 +50927,8 @@ "364", "365", "366", - "377" + "367", + "378" ], "location": { "end": { @@ -50049,7 +50942,7 @@ } }, { - "id": "1433", + "id": "1458", "mutatorName": "EqualityOperator", "replacement": "wakingUpInterval <= 0", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -48,15 +48,10 @@\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n \"source\": \"two-sisters\",\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n- \"source\": \"three-brothers\",\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n \"source\": \"wild-child\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50057,11 +50950,10 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "358", + "310", "359", "360", "361", @@ -50070,7 +50962,8 @@ "364", "365", "366", - "377" + "367", + "378" ], "location": { "end": { @@ -50084,7 +50977,7 @@ } }, { - "id": "1434", + "id": "1459", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(117,68): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(119,60): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -50092,8 +50985,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "358", + "310", "359", "360", "361", @@ -50102,7 +50994,8 @@ "364", "365", "366", - "377" + "367", + "378" ], "location": { "end": { @@ -50116,7 +51009,7 @@ } }, { - "id": "1435", + "id": "1460", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(117,68): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(119,60): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -50124,8 +51017,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "358", + "310", "359", "360", "361", @@ -50134,7 +51026,8 @@ "364", "365", "366", - "377" + "367", + "378" ], "location": { "end": { @@ -50148,7 +51041,7 @@ } }, { - "id": "1436", + "id": "1461", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(120,60): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -50156,9 +51049,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "358", "359", - "360" + "360", + "361" ], "location": { "end": { @@ -50172,16 +51065,16 @@ } }, { - "id": "1437", + "id": "1462", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "358", "359", - "360" + "360", + "361" ], "location": { "end": { @@ -50195,7 +51088,7 @@ } }, { - "id": "1438", + "id": "1463", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:756:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50203,12 +51096,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "360" + "361" ], "coveredBy": [ - "358", "359", - "360" + "360", + "361" ], "location": { "end": { @@ -50222,7 +51115,7 @@ } }, { - "id": "1439", + "id": "1464", "mutatorName": "LogicalOperator", "replacement": "shouldThreeBrothersBeCalled || !!getPlayerDtoWithRole(game.players, ROLE_NAMES.THREE_BROTHERS)", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:730:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50230,12 +51123,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "358" + "359" ], "coveredBy": [ - "358", "359", - "360" + "360", + "361" ], "location": { "end": { @@ -50249,15 +51142,15 @@ } }, { - "id": "1440", + "id": "1465", "mutatorName": "BooleanLiteral", "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.THREE_BROTHERS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "358", - "360" + "359", + "361" ], "location": { "end": { @@ -50271,15 +51164,15 @@ } }, { - "id": "1441", + "id": "1466", "mutatorName": "BooleanLiteral", "replacement": "getPlayerDtoWithRole(game.players, ROLE_NAMES.THREE_BROTHERS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "358", - "360" + "359", + "361" ], "location": { "end": { @@ -50293,7 +51186,7 @@ } }, { - "id": "1442", + "id": "1467", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:768:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50301,17 +51194,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "361" + "362" ], "coveredBy": [ - "309", - "361", + "310", "362", "363", "364", "365", "366", - "377" + "367", + "378" ], "location": { "end": { @@ -50325,7 +51218,7 @@ } }, { - "id": "1443", + "id": "1468", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -48,15 +48,10 @@\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n \"source\": \"two-sisters\",\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n- \"source\": \"three-brothers\",\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n \"source\": \"wild-child\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50333,17 +51226,49 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "361", + "310", + "362", + "363", + "364", + "365", + "366", + "367", + "378" + ], + "location": { + "end": { + "column": 134, + "line": 124 + }, + "start": { + "column": 12, + "line": 124 + } + } + }, + { + "id": "1469", + "mutatorName": "LogicalOperator", + "replacement": "shouldThreeBrothersBeCalled || threeBrothersPlayers.filter(brother => brother.isAlive).length >= minimumBrotherCountToCall", + "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:781:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "363" + ], + "coveredBy": [ + "310", "362", "363", "364", "365", "366", - "377" + "367", + "378" ], "location": { "end": { @@ -50357,25 +51282,22 @@ } }, { - "id": "1444", - "mutatorName": "LogicalOperator", - "replacement": "shouldThreeBrothersBeCalled || threeBrothersPlayers.filter(brother => brother.isAlive).length >= minimumBrotherCountToCall", - "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:781:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1470", + "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/sandbox9325675/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:852:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "362" + "366" ], "coveredBy": [ - "309", - "361", - "362", - "363", + "310", "364", "365", "366", - "377" + "367" ], "location": { "end": { @@ -50383,29 +51305,28 @@ "line": 124 }, "start": { - "column": 12, + "column": 43, "line": 124 } } }, { - "id": "1445", - "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/sandbox9325675/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:852:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1471", + "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 Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:807:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 7, "static": false, "killedBy": [ "365" ], "coveredBy": [ - "309", - "363", + "310", "364", "365", "366", - "377" + "367" ], "location": { "end": { @@ -50419,23 +51340,22 @@ } }, { - "id": "1446", + "id": "1472", "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 Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:807:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "threeBrothersPlayers.filter(brother => brother.isAlive).length < minimumBrotherCountToCall", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -48,15 +48,10 @@\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n \"source\": \"two-sisters\",\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n- \"source\": \"three-brothers\",\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n \"source\": \"wild-child\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "364" + "310" ], "coveredBy": [ - "309", - "363", + "310", "364", "365", "366", - "377" + "367" ], "location": { "end": { @@ -50449,7 +51369,7 @@ } }, { - "id": "1448", + "id": "1473", "mutatorName": "MethodExpression", "replacement": "threeBrothersPlayers", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:820:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50457,15 +51377,14 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "365" + "366" ], "coveredBy": [ - "309", - "363", + "310", "364", "365", "366", - "377" + "367" ], "location": { "end": { @@ -50479,7 +51398,7 @@ } }, { - "id": "1449", + "id": "1474", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -48,15 +48,10 @@\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n \"source\": \"two-sisters\",\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n- \"source\": \"three-brothers\",\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n \"source\": \"wild-child\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50487,15 +51406,14 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "363", + "310", "364", "365", "366", - "377" + "367" ], "location": { "end": { @@ -50509,7 +51427,7 @@ } }, { - "id": "1450", + "id": "1475", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(124,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -50517,8 +51435,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "367", + "310", "368", "369", "370", @@ -50526,7 +51443,8 @@ "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -50540,7 +51458,7 @@ } }, { - "id": "1451", + "id": "1476", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:860:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50548,11 +51466,10 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "368" + "369" ], "coveredBy": [ - "309", - "367", + "310", "368", "369", "370", @@ -50560,7 +51477,8 @@ "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -50574,7 +51492,7 @@ } }, { - "id": "1452", + "id": "1477", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -45,15 +45,10 @@\n \"source\": \"stuttering-judge\",\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n- \"source\": \"two-sisters\",\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n \"source\": \"three-brothers\",\n },\n GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50582,11 +51500,10 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "367", + "310", "368", "369", "370", @@ -50594,7 +51511,8 @@ "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -50608,7 +51526,7 @@ } }, { - "id": "1453", + "id": "1478", "mutatorName": "EqualityOperator", "replacement": "wakingUpInterval >= 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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:860:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50616,11 +51534,10 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "368" + "369" ], "coveredBy": [ - "309", - "367", + "310", "368", "369", "370", @@ -50628,7 +51545,8 @@ "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -50642,7 +51560,7 @@ } }, { - "id": "1454", + "id": "1479", "mutatorName": "EqualityOperator", "replacement": "wakingUpInterval <= 0", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -45,15 +45,10 @@\n \"source\": \"stuttering-judge\",\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n- \"source\": \"two-sisters\",\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n \"source\": \"three-brothers\",\n },\n GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50650,11 +51568,10 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "367", + "310", "368", "369", "370", @@ -50662,7 +51579,8 @@ "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -50676,7 +51594,7 @@ } }, { - "id": "1455", + "id": "1480", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(128,65): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(130,57): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -50684,8 +51602,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "367", + "310", "368", "369", "370", @@ -50693,7 +51610,8 @@ "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -50707,7 +51625,7 @@ } }, { - "id": "1456", + "id": "1481", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(128,65): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'CreateGamePlayerDto[]'.\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-plays-manager.service.ts(130,57): error TS2345: Argument of type 'Player[] | CreateGamePlayerDto[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -50715,8 +51633,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "309", - "367", + "310", "368", "369", "370", @@ -50724,7 +51641,8 @@ "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -50738,7 +51656,7 @@ } }, { - "id": "1457", + "id": "1482", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(131,57): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -50746,9 +51664,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "367", "368", - "369" + "369", + "370" ], "location": { "end": { @@ -50762,7 +51680,7 @@ } }, { - "id": "1458", + "id": "1483", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:847:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50770,12 +51688,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "367" + "368" ], "coveredBy": [ - "367", "368", - "369" + "369", + "370" ], "location": { "end": { @@ -50789,7 +51707,7 @@ } }, { - "id": "1459", + "id": "1484", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:873:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50797,12 +51715,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "369" + "370" ], "coveredBy": [ - "367", "368", - "369" + "369", + "370" ], "location": { "end": { @@ -50816,7 +51734,7 @@ } }, { - "id": "1460", + "id": "1485", "mutatorName": "LogicalOperator", "replacement": "shouldTwoSistersBeCalled || !!getPlayerDtoWithRole(game.players, ROLE_NAMES.TWO_SISTERS)", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:847:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50824,12 +51742,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "367" + "368" ], "coveredBy": [ - "367", "368", - "369" + "369", + "370" ], "location": { "end": { @@ -50843,7 +51761,7 @@ } }, { - "id": "1461", + "id": "1486", "mutatorName": "BooleanLiteral", "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.TWO_SISTERS)", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:847:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50851,11 +51769,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "367" + "368" ], "coveredBy": [ - "367", - "369" + "368", + "370" ], "location": { "end": { @@ -50869,7 +51787,7 @@ } }, { - "id": "1462", + "id": "1487", "mutatorName": "BooleanLiteral", "replacement": "getPlayerDtoWithRole(game.players, ROLE_NAMES.TWO_SISTERS)", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:847:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50877,11 +51795,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "367" + "368" ], "coveredBy": [ - "367", - "369" + "368", + "370" ], "location": { "end": { @@ -50895,7 +51813,7 @@ } }, { - "id": "1463", + "id": "1488", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:886:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50903,16 +51821,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "370" + "371" ], "coveredBy": [ - "309", - "370", + "310", "371", "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -50926,20 +51844,20 @@ } }, { - "id": "1464", + "id": "1489", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "309", - "370", + "310", "371", "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -50953,7 +51871,7 @@ } }, { - "id": "1465", + "id": "1490", "mutatorName": "LogicalOperator", "replacement": "shouldTwoSistersBeCalled && twoSistersPlayers.length > 0 || twoSistersPlayers.every(sister => sister.isAlive)", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:918:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50961,16 +51879,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "370" + "371" ], "coveredBy": [ - "309", - "370", + "310", "371", "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -50984,7 +51902,7 @@ } }, { - "id": "1466", + "id": "1491", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:918:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -50992,16 +51910,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "370" + "371" ], "coveredBy": [ - "309", - "370", + "310", "371", "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -51015,7 +51933,7 @@ } }, { - "id": "1467", + "id": "1492", "mutatorName": "LogicalOperator", "replacement": "shouldTwoSistersBeCalled || twoSistersPlayers.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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:918:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51023,16 +51941,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "370" + "371" ], "coveredBy": [ - "309", - "370", + "310", "371", "372", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -51046,7 +51964,37 @@ } }, { - "id": "1469", + "id": "1493", + "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/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:918:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "371" + ], + "coveredBy": [ + "310", + "371", + "373", + "374", + "375", + "377" + ], + "location": { + "end": { + "column": 68, + "line": 134 + }, + "start": { + "column": 40, + "line": 134 + } + } + }, + { + "id": "1494", "mutatorName": "EqualityOperator", "replacement": "twoSistersPlayers.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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:886:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51054,15 +52002,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "370" + "371" ], "coveredBy": [ - "309", - "370", - "372", + "310", + "371", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -51076,7 +52024,7 @@ } }, { - "id": "1470", + "id": "1495", "mutatorName": "EqualityOperator", "replacement": "twoSistersPlayers.length <= 0", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -45,15 +45,10 @@\n \"source\": \"stuttering-judge\",\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n- \"source\": \"two-sisters\",\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n \"source\": \"three-brothers\",\n },\n GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51084,15 +52032,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "309" + "310" ], "coveredBy": [ - "309", - "370", - "372", + "310", + "371", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -51106,7 +52054,7 @@ } }, { - "id": "1471", + "id": "1496", "mutatorName": "MethodExpression", "replacement": "twoSistersPlayers.some(sister => sister.isAlive)", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:925:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51114,14 +52062,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "373" + "374" ], "coveredBy": [ - "309", - "372", + "310", "373", "374", - "376" + "375", + "377" ], "location": { "end": { @@ -51135,7 +52083,36 @@ } }, { - "id": "1473", + "id": "1497", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -45,15 +45,10 @@\n \"source\": \"stuttering-judge\",\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n- \"source\": \"two-sisters\",\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n \"source\": \"three-brothers\",\n },\n GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "310" + ], + "coveredBy": [ + "310", + "373", + "374", + "375", + "377" + ], + "location": { + "end": { + "column": 120, + "line": 134 + }, + "start": { + "column": 96, + "line": 134 + } + } + }, + { + "id": "1498", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(134,98): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -51143,12 +52120,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "375", + "311", "376", "377", "378", @@ -51164,10 +52140,11 @@ "388", "389", "390", - "396", - "455", + "391", + "397", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -51181,7 +52158,7 @@ } }, { - "id": "1474", + "id": "1499", "mutatorName": "BooleanLiteral", "replacement": "player", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(146,34): 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-plays-manager.service.ts(146,92): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(147,37): 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-plays-manager.service.ts(147,95): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(152,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-plays-manager.service.ts(152,78): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -51189,12 +52166,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "375", + "311", "376", "377", "378", @@ -51210,10 +52186,11 @@ "388", "389", "390", - "396", - "455", + "391", + "397", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -51227,7 +52204,7 @@ } }, { - "id": "1475", + "id": "1500", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(146,92): 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-plays-manager.service.ts(147,95): 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-plays-manager.service.ts(152,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", @@ -51235,12 +52212,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "375", + "311", "376", "377", "378", @@ -51256,10 +52232,11 @@ "388", "389", "390", - "396", - "455", + "391", + "397", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -51273,7 +52250,7 @@ } }, { - "id": "1476", + "id": "1501", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(146,92): 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-plays-manager.service.ts(147,95): 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-plays-manager.service.ts(152,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", @@ -51281,12 +52258,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "375", + "311", "376", "377", "378", @@ -51302,10 +52278,11 @@ "388", "389", "390", - "396", - "455", + "391", + "397", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -51319,7 +52296,7 @@ } }, { - "id": "1477", + "id": "1502", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(144,92): 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-plays-manager.service.ts(145,95): 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-plays-manager.service.ts(150,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", @@ -51327,12 +52304,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "308", - "310", - "375", - "396", - "455", - "456" + "309", + "311", + "376", + "397", + "456", + "457" ], "location": { "end": { @@ -51346,7 +52323,7 @@ } }, { - "id": "1478", + "id": "1503", "mutatorName": "BooleanLiteral", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 48\n\n@@ -178,27 +178,75 @@\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n Object {\n+ \"action\": \"choose-card\",\n+ \"source\": \"thief\",\n+ },\n+ Object {\n+ \"action\": \"choose-side\",\n+ \"source\": \"dog-wolf\",\n+ },\n+ Object {\n \"action\": \"charm\",\n \"source\": \"cupid\",\n },\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n+ },\n+ Object {\n+ \"action\": \"sniff\",\n+ \"source\": \"fox\",\n },\n Object {\n \"action\": \"meet-each-other\",\n \"source\": \"lovers\",\n+ },\n+ Object {\n+ \"action\": \"choose-sign\",\n+ \"source\": \"stuttering-judge\",\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"source\": \"two-sisters\",\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"source\": \"three-brothers\",\n+ },\n+ Object {\n+ \"action\": \"choose-model\",\n+ \"source\": \"wild-child\",\n+ },\n+ Object {\n+ \"action\": \"mark\",\n+ \"source\": \"raven\",\n+ },\n+ Object {\n+ \"action\": \"protect\",\n+ \"source\": \"guard\",\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"werewolves\",\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"white-werewolf\",\n+ },\n+ Object {\n+ \"action\": \"eat\",\n+ \"source\": \"big-bad-wolf\",\n+ },\n+ Object {\n+ \"action\": \"use-potions\",\n+ \"source\": \"witch\",\n+ },\n+ Object {\n+ \"action\": \"charm\",\n+ \"source\": \"pied-piper\",\n },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -51354,15 +52331,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "308", - "310", - "375", - "396", - "455", - "456" + "309", + "311", + "376", + "397", + "456", + "457" ], "location": { "end": { @@ -51376,7 +52353,7 @@ } }, { - "id": "1479", + "id": "1504", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:968:62)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51384,15 +52361,14 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "376" + "377" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "376", + "311", "377", "378", "379", @@ -51407,9 +52383,10 @@ "388", "389", "390", - "455", + "391", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -51423,7 +52400,7 @@ } }, { - "id": "1480", + "id": "1505", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(146,28): error TS2322: Type '() => undefined' is not assignable to type '(game: Game | CreateGameDto, gamePlay?: GamePlay | undefined) => boolean'.\n Type 'undefined' is not assignable to type 'boolean'.\n", @@ -51431,12 +52408,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "376", + "311", "377", "378", "379", @@ -51451,9 +52427,10 @@ "388", "389", "390", - "455", + "391", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -51467,7 +52444,7 @@ } }, { - "id": "1481", + "id": "1506", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1067:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51475,14 +52452,14 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "383" + "384" ], "coveredBy": [ - "304", "305", - "381", + "306", "382", - "383" + "383", + "384" ], "location": { "end": { @@ -51496,7 +52473,7 @@ } }, { - "id": "1482", + "id": "1507", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1041:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51504,14 +52481,14 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "381" + "382" ], "coveredBy": [ - "304", "305", - "381", + "306", "382", - "383" + "383", + "384" ], "location": { "end": { @@ -51525,7 +52502,7 @@ } }, { - "id": "1483", + "id": "1508", "mutatorName": "LogicalOperator", "replacement": "player instanceof CreateGamePlayerDto && isPlayerPowerful(player)", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(146,92): 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", @@ -51533,11 +52510,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "381", + "306", "382", - "383" + "383", + "384" ], "location": { "end": { @@ -51551,7 +52528,7 @@ } }, { - "id": "1484", + "id": "1509", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(147,31): error TS2322: Type '() => undefined' is not assignable to type '(game: Game | CreateGameDto, gamePlay?: GamePlay | undefined) => boolean'.\n Type 'undefined' is not assignable to type 'boolean'.\n", @@ -51559,12 +52536,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "376", + "311", "377", "378", "379", @@ -51579,9 +52555,10 @@ "388", "389", "390", - "455", + "391", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -51595,7 +52572,7 @@ } }, { - "id": "1485", + "id": "1510", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1106:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51603,12 +52580,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "386" + "387" ], "coveredBy": [ - "384", "385", - "386" + "386", + "387" ], "location": { "end": { @@ -51622,7 +52599,7 @@ } }, { - "id": "1486", + "id": "1511", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1080:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51630,12 +52607,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "384" + "385" ], "coveredBy": [ - "384", "385", - "386" + "386", + "387" ], "location": { "end": { @@ -51649,7 +52626,7 @@ } }, { - "id": "1487", + "id": "1512", "mutatorName": "LogicalOperator", "replacement": "player instanceof CreateGamePlayerDto && isPlayerPowerful(player)", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(150,95): 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", @@ -51657,9 +52634,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "384", "385", - "386" + "386", + "387" ], "location": { "end": { @@ -51673,7 +52650,7 @@ } }, { - "id": "1488", + "id": "1513", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(152,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", @@ -51681,12 +52658,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "376", + "311", "377", "378", "379", @@ -51701,9 +52677,10 @@ "388", "389", "390", - "455", + "391", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -51717,7 +52694,7 @@ } }, { - "id": "1489", + "id": "1514", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:968:62)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51725,15 +52702,14 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "376" + "377" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "376", + "311", "377", "378", "379", @@ -51748,9 +52724,10 @@ "388", "389", "390", - "455", + "391", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -51764,7 +52741,7 @@ } }, { - "id": "1490", + "id": "1515", "mutatorName": "EqualityOperator", "replacement": "specificRoleMethods[source] === undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 15\n+ Received + 0\n\n@@ -152,25 +152,10 @@\n \"status\": \"over\",\n \"tick\": 6668973548503040,\n \"turn\": 4062744049352704,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"look\",\n- \"cause\": undefined,\n- \"source\": \"seer\",\n- },\n- GamePlay {\n- \"action\": \"shoot\",\n- \"cause\": undefined,\n- \"source\": \"hunter\",\n- },\n- GamePlay {\n- \"action\": \"use-potions\",\n- \"cause\": undefined,\n- \"source\": \"witch\",\n- },\n- GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n ],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:49:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51772,15 +52749,14 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "304" + "305" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "376", + "311", "377", "378", "379", @@ -51795,9 +52771,10 @@ "388", "389", "390", - "455", + "391", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -51811,7 +52788,7 @@ } }, { - "id": "1491", + "id": "1516", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -157,15 +157,10 @@\n \"action\": \"look\",\n \"cause\": undefined,\n \"source\": \"seer\",\n },\n GamePlay {\n- \"action\": \"shoot\",\n- \"cause\": undefined,\n- \"source\": \"hunter\",\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"cause\": undefined,\n \"source\": \"witch\",\n },\n GamePlay {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:49:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51819,13 +52796,12 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "304" + "305" ], "coveredBy": [ - "304", "305", - "309", - "376", + "306", + "310", "377", "378", "379", @@ -51836,7 +52812,8 @@ "384", "385", "386", - "455" + "387", + "456" ], "location": { "end": { @@ -51850,7 +52827,7 @@ } }, { - "id": "1492", + "id": "1517", "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:968:62)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -51858,13 +52835,12 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "376" + "377" ], "coveredBy": [ - "304", - "305", - "309", - "376", + "305", + "306", + "310", "377", "378", "379", @@ -51875,7 +52851,8 @@ "384", "385", "386", - "455" + "387", + "456" ], "location": { "end": { @@ -51889,7 +52866,7 @@ } }, { - "id": "1493", + "id": "1518", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 4\n+ Received + 0\n\n@@ -193,12 +193,8 @@\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"werewolves\",\n },\n- Object {\n- \"action\": \"eat\",\n- \"source\": \"white-werewolf\",\n- },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -51897,13 +52874,12 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "455" + "456" ], "coveredBy": [ - "304", "305", - "309", - "376", + "306", + "310", "377", "378", "379", @@ -51914,7 +52890,8 @@ "384", "385", "386", - "455" + "387", + "456" ], "location": { "end": { @@ -51928,17 +52905,16 @@ } }, { - "id": "1494", + "id": "1519", "mutatorName": "EqualityOperator", "replacement": "specificRoleMethods[source]?.(game, gamePlay) !== true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "309", - "376", + "306", + "310", "377", "378", "379", @@ -51949,7 +52925,8 @@ "384", "385", "386", - "455" + "387", + "456" ], "location": { "end": { @@ -51963,7 +52940,7 @@ } }, { - "id": "1495", + "id": "1520", "mutatorName": "OptionalChaining", "replacement": "specificRoleMethods[source](game, gamePlay)", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(150,14): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -51971,10 +52948,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "309", - "376", + "306", + "310", "377", "378", "379", @@ -51985,7 +52961,8 @@ "384", "385", "386", - "455" + "387", + "456" ], "location": { "end": { @@ -51999,17 +52976,16 @@ } }, { - "id": "1496", + "id": "1521", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "309", - "376", + "306", + "310", "377", "378", "379", @@ -52020,7 +52996,8 @@ "384", "385", "386", - "455" + "387", + "456" ], "location": { "end": { @@ -52034,7 +53011,7 @@ } }, { - "id": "1497", + "id": "1522", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 10\n\n@@ -159,13 +159,23 @@\n \"status\": \"over\",\n \"tick\": 3290700047187968,\n \"turn\": 6842536461074432,\n \"upcomingPlays\": Array [\n GamePlay {\n+ \"action\": \"look\",\n+ \"cause\": undefined,\n+ \"source\": \"seer\",\n+ },\n+ GamePlay {\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n+ },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"cause\": undefined,\n+ \"source\": \"witch\",\n },\n GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:74:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -52042,21 +53019,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "305" + "306" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "387", + "311", "388", "389", "390", - "455", + "391", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -52070,7 +53047,7 @@ } }, { - "id": "1498", + "id": "1523", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 0\n\n@@ -152,23 +152,13 @@\n \"status\": \"playing\",\n \"tick\": 6796164483514368,\n \"turn\": 5425495868964864,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"look\",\n- \"cause\": undefined,\n- \"source\": \"seer\",\n- },\n- GamePlay {\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n- },\n- GamePlay {\n- \"action\": \"use-potions\",\n- \"cause\": undefined,\n- \"source\": \"witch\",\n },\n GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:49:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -52078,21 +53055,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "304" + "305" ], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "387", + "311", "388", "389", "390", - "455", + "391", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -52106,7 +53083,7 @@ } }, { - "id": "1499", + "id": "1524", "mutatorName": "LogicalOperator", "replacement": "player instanceof CreateGamePlayerDto && isPlayerAliveAndPowerful(player)", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(152,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", @@ -52114,18 +53091,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "304", "305", - "308", + "306", "309", "310", - "387", + "311", "388", "389", "390", - "455", + "391", "456", - "467" + "457", + "468" ], "location": { "end": { @@ -52139,7 +53116,7 @@ } }, { - "id": "1500", + "id": "1525", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(155,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -52147,11 +53124,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "391", "392", "393", "394", - "395" + "395", + "396" ], "location": { "end": { @@ -52165,7 +53142,7 @@ } }, { - "id": "1501", + "id": "1526", "mutatorName": "BooleanLiteral", "replacement": "game.options.roles.sheriff.isEnabled", "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/sandbox1350515/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1199:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -52173,14 +53150,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "391" + "392" ], "coveredBy": [ - "391", "392", "393", "394", - "395" + "395", + "396" ], "location": { "end": { @@ -52194,7 +53171,7 @@ } }, { - "id": "1502", + "id": "1527", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(162,50): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", @@ -52202,11 +53179,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "391", "392", "393", "394", - "395" + "395", + "396" ], "location": { "end": { @@ -52220,7 +53197,7 @@ } }, { - "id": "1503", + "id": "1528", "mutatorName": "ConditionalExpression", "replacement": "false", "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/sandbox1350515/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1199:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -52228,14 +53205,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "391" + "392" ], "coveredBy": [ - "391", "392", "393", "394", - "395" + "395", + "396" ], "location": { "end": { @@ -52249,7 +53226,7 @@ } }, { - "id": "1504", + "id": "1529", "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/sandbox1350515/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1199:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -52257,10 +53234,11 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "391" + "392" ], "coveredBy": [ - "391" + "392", + "396" ], "location": { "end": { @@ -52274,7 +53252,7 @@ } }, { - "id": "1505", + "id": "1530", "mutatorName": "BooleanLiteral", "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/sandbox1350515/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1199:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -52282,10 +53260,11 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "391" + "392" ], "coveredBy": [ - "391" + "392", + "396" ], "location": { "end": { @@ -52299,90 +53278,13 @@ } }, { - "id": "1508", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(163,50): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", + "id": "1531", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(165,50): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", "status": "CompileError", "static": false, "killedBy": [], - "coveredBy": [ - "392" - ], - "location": { - "end": { - "column": 6, - "line": 164 - }, - "start": { - "column": 40, - "line": 162 - } - } - }, - { - "id": "1509", - "mutatorName": "BooleanLiteral", - "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1174:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "392" - ], - "coveredBy": [ - "392" - ], - "location": { - "end": { - "column": 18, - "line": 163 - }, - "start": { - "column": 14, - "line": 163 - } - } - }, - { - "id": "1510", - "mutatorName": "BooleanLiteral", - "replacement": "!sheriffPlayer", - "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1187:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "393" - ], - "coveredBy": [ - "393", - "394", - "395" - ], - "location": { - "end": { - "column": 27, - "line": 166 - }, - "start": { - "column": 12, - "line": 166 - } - } - }, - { - "id": "1511", - "mutatorName": "BooleanLiteral", - "replacement": "sheriffPlayer", - "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1187:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "393" - ], "coveredBy": [ "393", "394", @@ -52390,553 +53292,373 @@ ], "location": { "end": { - "column": 27, - "line": 166 - }, - "start": { - "column": 13, - "line": 166 - } - } - }, - { - "id": "1512", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(166,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": [ - "304", - "305", - "308", - "309", - "310", - "395", - "396", - "397", - "455", - "456", - "467", - "468" - ], - "location": { - "end": { - "column": 4, - "line": 176 - }, - "start": { - "column": 102, - "line": 169 - } - } - }, - { - "id": "1513", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 0\n\n@@ -186,18 +186,10 @@\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n },\n Object {\n- \"action\": \"meet-each-other\",\n- \"source\": \"lovers\",\n- },\n- Object {\n- \"action\": \"eat\",\n- \"source\": \"werewolves\",\n- },\n- Object {\n \"action\": \"eat\",\n \"source\": \"white-werewolf\",\n },\n ],\n \"updatedAt\": Any,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 12, - "static": false, - "killedBy": [ - "455" - ], - "coveredBy": [ - "304", - "305", - "308", - "309", - "310", - "395", - "396", - "397", - "455", - "456", - "467", - "468" - ], - "location": { - "end": { - "column": 42, - "line": 170 + "column": 38, + "line": 162 }, "start": { "column": 9, - "line": 170 + "line": 162 } } }, { - "id": "1514", + "id": "1532", "mutatorName": "ConditionalExpression", "replacement": "false", - "status": "Timeout", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(165,50): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "304", - "305", - "308", - "309", - "310", - "395", - "396", - "397", - "455", - "456", - "467", - "468" + "393", + "394", + "395" ], "location": { "end": { - "column": 42, - "line": 170 + "column": 38, + "line": 162 }, "start": { "column": 9, - "line": 170 + "line": 162 } } }, { - "id": "1515", + "id": "1533", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 48\n\n@@ -178,27 +178,75 @@\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n Object {\n+ \"action\": \"choose-card\",\n+ \"source\": \"thief\",\n+ },\n+ Object {\n+ \"action\": \"choose-side\",\n+ \"source\": \"dog-wolf\",\n+ },\n+ Object {\n \"action\": \"charm\",\n \"source\": \"cupid\",\n },\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n+ },\n+ Object {\n+ \"action\": \"sniff\",\n+ \"source\": \"fox\",\n },\n Object {\n \"action\": \"meet-each-other\",\n \"source\": \"lovers\",\n+ },\n+ Object {\n+ \"action\": \"choose-sign\",\n+ \"source\": \"stuttering-judge\",\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"source\": \"two-sisters\",\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"source\": \"three-brothers\",\n+ },\n+ Object {\n+ \"action\": \"choose-model\",\n+ \"source\": \"wild-child\",\n+ },\n+ Object {\n+ \"action\": \"mark\",\n+ \"source\": \"raven\",\n+ },\n+ Object {\n+ \"action\": \"protect\",\n+ \"source\": \"guard\",\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"werewolves\",\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"white-werewolf\",\n+ },\n+ Object {\n+ \"action\": \"eat\",\n+ \"source\": \"big-bad-wolf\",\n+ },\n+ Object {\n+ \"action\": \"use-potions\",\n+ \"source\": \"witch\",\n+ },\n+ Object {\n+ \"action\": \"charm\",\n+ \"source\": \"pied-piper\",\n },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 7, + "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(163,50): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", + "status": "CompileError", "static": false, - "killedBy": [ - "455" - ], + "killedBy": [], "coveredBy": [ - "304", - "305", - "308", - "309", - "310", - "396", - "455", - "456", - "467" + "393" ], "location": { "end": { "column": 6, - "line": 172 - }, - "start": { - "column": 44, - "line": 170 - } - } - }, - { - "id": "1516", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "TypeError: specificGroupMethods[source] is not a function\n at GamePlaysManagerService.isGroupGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/src/modules/game/providers/services/game-play/game-plays-manager.service.ts:197:42)\n at GamePlaysManagerService.isGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/src/modules/game/providers/services/game-play/game-plays-manager.service.ts:381:23)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1209:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "395" - ], - "coveredBy": [ - "304", - "305", - "308", - "309", - "310", - "395", - "397", - "455", - "456", - "467", - "468" - ], - "location": { - "end": { - "column": 50, - "line": 172 + "line": 164 }, "start": { - "column": 16, - "line": 172 + "column": 40, + "line": 162 } } }, { - "id": "1517", - "mutatorName": "ConditionalExpression", + "id": "1534", + "mutatorName": "BooleanLiteral", "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 8\n\n@@ -178,10 +178,14 @@\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n Object {\n+ \"action\": \"vote\",\n+ \"source\": \"all\",\n+ },\n+ Object {\n \"action\": \"charm\",\n \"source\": \"cupid\",\n },\n Object {\n \"action\": \"look\",\n@@ -196,9 +200,13 @@\n \"source\": \"werewolves\",\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"white-werewolf\",\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"source\": \"charmed\",\n },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1174:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 1, "static": false, "killedBy": [ - "455" + "393" ], "coveredBy": [ - "304", - "305", - "308", - "309", - "310", - "395", - "397", - "455", - "456", - "467", - "468" + "393" ], "location": { "end": { - "column": 50, - "line": 172 + "column": 18, + "line": 163 }, "start": { - "column": 16, - "line": 172 + "column": 14, + "line": 163 } } }, { - "id": "1518", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -166,14 +166,9 @@\n GamePlay {\n \"action\": \"use-potions\",\n \"cause\": undefined,\n \"source\": \"witch\",\n },\n- GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n ],\n \"updatedAt\": 2023-06-24T04:15:07.968Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:49:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1535", + "mutatorName": "BooleanLiteral", + "replacement": "!sheriffPlayer", + "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1187:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 2, "static": false, "killedBy": [ - "304" - ], - "coveredBy": [ - "304", - "305", - "308", - "309", - "310", - "397", - "455", - "456", - "467", - "468" - ], - "location": { - "end": { - "column": 6, - "line": 174 - }, - "start": { - "column": 52, - "line": 172 - } - } - }, - { - "id": "1317", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(40,5): error TS2322: Type 'GamePlay & { isFirstNightOnly?: boolean | undefined; }' is not assignable to type 'GamePlay[]'.\nsrc/modules/game/providers/services/game-play/game-plays-manager.service.ts(40,38): error TS2769: No overload matches this call.\n Overload 1 of 3, '(callbackfn: (previousValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentIndex: number, array: (GamePlay & { ...; })[]) => GamePlay & { ...; }, initialValue: GamePlay & { ...; }): GamePlay & { ...; }', gave the following error.\n Argument of type '(acc: GamePlay[], gamePlay: GamePlay & { isFirstNightOnly?: boolean | undefined; }) => void' is not assignable to parameter of type '(previousValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentIndex: number, array: (GamePlay & { ...; })[]) => GamePlay & { ...; }'.\n Types of parameters 'acc' and 'previousValue' are incompatible.\n Type 'GamePlay & { isFirstNightOnly?: boolean | undefined; }' is missing the following properties from type 'GamePlay[]': length, pop, push, concat, and 31 more.\n Overload 2 of 3, '(callbackfn: (previousValue: GamePlay[], currentValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentIndex: number, array: (GamePlay & { isFirstNightOnly?: boolean | undefined; })[]) => GamePlay[], initialValue: GamePlay[]): GamePlay[]', gave the following error.\n Argument of type '(acc: GamePlay[], gamePlay: GamePlay & { isFirstNightOnly?: boolean | undefined; }) => void' is not assignable to parameter of type '(previousValue: GamePlay[], currentValue: GamePlay & { isFirstNightOnly?: boolean | undefined; }, currentIndex: number, array: (GamePlay & { isFirstNightOnly?: boolean | undefined; })[]) => GamePlay[]'.\n Type 'void' is not assignable to type 'GamePlay[]'.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "308", - "309", - "310", - "455", - "456" - ], - "location": { - "end": { - "column": 6, - "line": 45 - }, - "start": { - "column": 69, - "line": 40 - } - } - }, - { - "id": "1303", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(35,61): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "308", - "309", - "310", - "455", - "456" + "394" ], - "location": { - "end": { - "column": 4, - "line": 46 - }, - "start": { - "column": 72, - "line": 35 - } - } - }, - { - "id": "1506", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(165,50): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", - "status": "CompileError", - "static": false, "coveredBy": [ - "392", - "393", "394", "395" ], "location": { "end": { - "column": 38, - "line": 162 + "column": 27, + "line": 166 }, "start": { - "column": 9, - "line": 162 + "column": 12, + "line": 166 } } }, { - "id": "1507", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(165,50): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' is not assignable to parameter of type 'Player[]'.\n Type 'CreateGamePlayerDto[]' is not assignable to type 'Player[]'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", - "status": "CompileError", + "id": "1536", + "mutatorName": "BooleanLiteral", + "replacement": "sheriffPlayer", + "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/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1187:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "394" + ], "coveredBy": [ - "392", - "393", "394", "395" ], "location": { "end": { - "column": 38, - "line": 162 + "column": 27, + "line": 166 }, "start": { - "column": 9, - "line": 162 + "column": 13, + "line": 166 } } }, { - "id": "1319", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 0\n\n@@ -2,16 +2,6 @@\n GamePlay {\n \"action\": \"elect-sheriff\",\n \"cause\": undefined,\n \"source\": \"all\",\n },\n- GamePlay {\n- \"action\": \"look\",\n- \"cause\": undefined,\n- \"source\": \"seer\",\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js: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": "1537", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-manager.service.ts(166,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "testsCompleted": 5, - "killedBy": [ - "308" - ], + "killedBy": [], "coveredBy": [ - "308", + "305", + "306", "309", "310", - "455", - "456" + "311", + "396", + "397", + "398", + "456", + "457", + "468", + "469" ], "location": { "end": { - "column": 65, - "line": 41 + "column": 4, + "line": 176 }, "start": { - "column": 11, - "line": 41 + "column": 102, + "line": 169 } } }, { - "id": "1320", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 0\n\n@@ -2,16 +2,6 @@\n GamePlay {\n \"action\": \"elect-sheriff\",\n \"cause\": undefined,\n \"source\": \"all\",\n },\n- GamePlay {\n- \"action\": \"look\",\n- \"cause\": undefined,\n- \"source\": \"seer\",\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1538", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 0\n\n@@ -186,18 +186,10 @@\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n },\n Object {\n- \"action\": \"meet-each-other\",\n- \"source\": \"lovers\",\n- },\n- Object {\n- \"action\": \"eat\",\n- \"source\": \"werewolves\",\n- },\n- Object {\n \"action\": \"eat\",\n \"source\": \"white-werewolf\",\n },\n ],\n \"updatedAt\": Any,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", + "testsCompleted": 12, "static": false, - "testsCompleted": 5, "killedBy": [ - "308" + "456" ], "coveredBy": [ - "308", + "305", + "306", "309", "310", - "455", - "456" + "311", + "396", + "397", + "398", + "456", + "457", + "468", + "469" ], "location": { "end": { - "column": 8, - "line": 43 + "column": 42, + "line": 170 }, "start": { - "column": 67, - "line": 41 + "column": 9, + "line": 170 } } }, { - "id": "1472", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -45,15 +45,10 @@\n \"source\": \"stuttering-judge\",\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n- \"source\": \"two-sisters\",\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n \"source\": \"three-brothers\",\n },\n GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js: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": "1539", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, - "testsCompleted": 5, - "killedBy": [ - "309" - ], + "killedBy": [], "coveredBy": [ + "305", + "306", "309", - "372", - "373", - "374", - "376" + "310", + "311", + "396", + "397", + "398", + "456", + "457", + "468", + "469" ], "location": { "end": { - "column": 120, - "line": 134 + "column": 42, + "line": 170 }, "start": { - "column": 96, - "line": 134 + "column": 9, + "line": 170 } } }, { - "id": "1321", - "mutatorName": "ArrayDeclaration", - "replacement": "[]", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 17\n+ Received + 1\n\n- Array [\n- GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"cause\": undefined,\n- \"source\": \"all\",\n- },\n- GamePlay {\n- \"action\": \"look\",\n- \"cause\": undefined,\n- \"source\": \"seer\",\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n- ]\n+ Array []\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1540", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 48\n\n@@ -178,27 +178,75 @@\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n Object {\n+ \"action\": \"choose-card\",\n+ \"source\": \"thief\",\n+ },\n+ Object {\n+ \"action\": \"choose-side\",\n+ \"source\": \"dog-wolf\",\n+ },\n+ Object {\n \"action\": \"charm\",\n \"source\": \"cupid\",\n },\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n+ },\n+ Object {\n+ \"action\": \"sniff\",\n+ \"source\": \"fox\",\n },\n Object {\n \"action\": \"meet-each-other\",\n \"source\": \"lovers\",\n+ },\n+ Object {\n+ \"action\": \"choose-sign\",\n+ \"source\": \"stuttering-judge\",\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"source\": \"two-sisters\",\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"source\": \"three-brothers\",\n+ },\n+ Object {\n+ \"action\": \"choose-model\",\n+ \"source\": \"wild-child\",\n+ },\n+ Object {\n+ \"action\": \"mark\",\n+ \"source\": \"raven\",\n+ },\n+ Object {\n+ \"action\": \"protect\",\n+ \"source\": \"guard\",\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"werewolves\",\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"white-werewolf\",\n+ },\n+ Object {\n+ \"action\": \"eat\",\n+ \"source\": \"big-bad-wolf\",\n+ },\n+ Object {\n+ \"action\": \"use-potions\",\n+ \"source\": \"witch\",\n+ },\n+ Object {\n+ \"action\": \"charm\",\n+ \"source\": \"pied-piper\",\n },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", + "testsCompleted": 7, "static": false, - "testsCompleted": 5, "killedBy": [ - "308" + "456" ], "coveredBy": [ - "308", + "305", + "306", "309", "310", - "455", - "456" + "311", + "397", + "456", + "457", + "468" ], "location": { "end": { - "column": 50, - "line": 42 + "column": 6, + "line": 172 }, "start": { - "column": 16, - "line": 42 + "column": 44, + "line": 170 } } }, { - "id": "1468", + "id": "1541", "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/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:918:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "TypeError: specificGroupMethods[source] is not a function\n at GamePlaysManagerService.isGroupGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/src/modules/game/providers/services/game-play/game-plays-manager.service.ts:197:42)\n at GamePlaysManagerService.isGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/src/modules/game/providers/services/game-play/game-plays-manager.service.ts:381:23)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:1209:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, - "testsCompleted": 6, "killedBy": [ - "370" + "396" ], "coveredBy": [ + "305", + "306", "309", - "370", - "372", - "373", - "374", - "376" + "310", + "311", + "396", + "398", + "456", + "457", + "468", + "469" ], "location": { "end": { - "column": 68, - "line": 134 + "column": 50, + "line": 172 }, "start": { - "column": 40, - "line": 134 + "column": 16, + "line": 172 } } }, { - "id": "1447", - "mutatorName": "EqualityOperator", - "replacement": "threeBrothersPlayers.filter(brother => brother.isAlive).length < minimumBrotherCountToCall", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -48,15 +48,10 @@\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n \"source\": \"two-sisters\",\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"cause\": undefined,\n- \"source\": \"three-brothers\",\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n \"source\": \"wild-child\",\n },\n GamePlay {\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1542", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 8\n\n@@ -178,10 +178,14 @@\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n Object {\n+ \"action\": \"vote\",\n+ \"source\": \"all\",\n+ },\n+ Object {\n \"action\": \"charm\",\n \"source\": \"cupid\",\n },\n Object {\n \"action\": \"look\",\n@@ -196,9 +200,13 @@\n \"source\": \"werewolves\",\n },\n Object {\n \"action\": \"eat\",\n \"source\": \"white-werewolf\",\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"source\": \"charmed\",\n },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:409:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", + "testsCompleted": 9, "static": false, - "testsCompleted": 6, "killedBy": [ - "309" + "456" ], "coveredBy": [ + "305", + "306", "309", - "363", - "364", - "365", - "366", - "377" + "310", + "311", + "396", + "398", + "456", + "457", + "468", + "469" ], "location": { "end": { - "column": 134, - "line": 124 + "column": 50, + "line": 172 }, "start": { - "column": 43, - "line": 124 + "column": 16, + "line": 172 } } }, { - "id": "1318", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 85\n\n@@ -3,15 +3,100 @@\n \"action\": \"elect-sheriff\",\n \"cause\": undefined,\n \"source\": \"all\",\n },\n GamePlay {\n+ \"action\": \"vote\",\n+ \"cause\": \"angel-presence\",\n+ \"source\": \"all\",\n+ },\n+ GamePlay {\n+ \"action\": \"choose-card\",\n+ \"cause\": undefined,\n+ \"source\": \"thief\",\n+ },\n+ GamePlay {\n+ \"action\": \"choose-side\",\n+ \"cause\": undefined,\n+ \"source\": \"dog-wolf\",\n+ },\n+ GamePlay {\n+ \"action\": \"charm\",\n+ \"cause\": undefined,\n+ \"source\": \"cupid\",\n+ },\n+ GamePlay {\n \"action\": \"look\",\n \"cause\": undefined,\n \"source\": \"seer\",\n+ },\n+ GamePlay {\n+ \"action\": \"sniff\",\n+ \"cause\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"lovers\",\n+ },\n+ GamePlay {\n+ \"action\": \"choose-sign\",\n+ \"cause\": undefined,\n+ \"source\": \"stuttering-judge\",\n },\n GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"two-sisters\",\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"three-brothers\",\n+ },\n+ GamePlay {\n+ \"action\": \"choose-model\",\n+ \"cause\": undefined,\n+ \"source\": \"wild-child\",\n+ },\n+ GamePlay {\n+ \"action\": \"mark\",\n+ \"cause\": undefined,\n+ \"source\": \"raven\",\n+ },\n+ GamePlay {\n+ \"action\": \"protect\",\n+ \"cause\": undefined,\n+ \"source\": \"guard\",\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n+ },\n+ GamePlay {\n+ \"action\": \"eat\",\n+ \"cause\": undefined,\n+ \"source\": \"white-werewolf\",\n+ },\n+ GamePlay {\n+ \"action\": \"eat\",\n+ \"cause\": undefined,\n+ \"source\": \"big-bad-wolf\",\n+ },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"cause\": undefined,\n+ \"source\": \"witch\",\n+ },\n+ GamePlay {\n+ \"action\": \"charm\",\n+ \"cause\": undefined,\n+ \"source\": \"pied-piper\",\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"cause\": undefined,\n+ \"source\": \"charmed\",\n },\n ]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5013226/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:189:69\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1543", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -166,14 +166,9 @@\n GamePlay {\n \"action\": \"use-potions\",\n \"cause\": undefined,\n \"source\": \"witch\",\n },\n- GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n ],\n \"updatedAt\": 2023-06-24T04:15:07.968Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts:49:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 5, "killedBy": [ - "308" + "305" ], "coveredBy": [ - "308", + "305", + "306", "309", "310", - "455", - "456" + "311", + "398", + "456", + "457", + "468", + "469" ], "location": { "end": { - "column": 65, - "line": 41 + "column": 6, + "line": 174 }, "start": { - "column": 11, - "line": 41 + "column": 52, + "line": 172 } } } @@ -52947,7 +53669,7 @@ "language": "typescript", "mutants": [ { - "id": "1519", + "id": "1544", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 200\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:643:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -52955,13 +53677,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "466" + "467" ], "coveredBy": [ "0", - "466", "467", - "468" + "468", + "469" ], "location": { "end": { @@ -52975,7 +53697,7 @@ } }, { - "id": "1520", + "id": "1545", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:126:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -52990,8 +53712,8 @@ "2", "3", "4", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -53005,7 +53727,7 @@ } }, { - "id": "1521", + "id": "1546", "mutatorName": "BooleanLiteral", "replacement": "chosenCard", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:126:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53020,8 +53742,8 @@ "2", "3", "4", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -53035,7 +53757,7 @@ } }, { - "id": "1522", + "id": "1547", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:141:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53050,8 +53772,8 @@ "2", "3", "4", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -53065,7 +53787,7 @@ } }, { - "id": "1523", + "id": "1548", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -53076,8 +53798,8 @@ "2", "3", "4", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -53091,7 +53813,7 @@ } }, { - "id": "1524", + "id": "1549", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:126:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53104,8 +53826,8 @@ "coveredBy": [ "1", "2", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -53119,7 +53841,7 @@ } }, { - "id": "1525", + "id": "1550", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:122:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53132,8 +53854,8 @@ "coveredBy": [ "1", "2", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -53147,7 +53869,7 @@ } }, { - "id": "1526", + "id": "1551", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:126:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53160,8 +53882,8 @@ "coveredBy": [ "1", "2", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -53175,7 +53897,7 @@ } }, { - "id": "1527", + "id": "1552", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_CARD", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:126:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53188,8 +53910,8 @@ "coveredBy": [ "1", "2", - "467", - "468" + "468", + "469" ], "location": { "end": { @@ -53203,7 +53925,7 @@ } }, { - "id": "1528", + "id": "1553", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:126:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53228,7 +53950,7 @@ } }, { - "id": "1529", + "id": "1554", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:149:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53254,7 +53976,7 @@ } }, { - "id": "1530", + "id": "1555", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:141:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53280,7 +54002,7 @@ } }, { - "id": "1531", + "id": "1556", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_CARD", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:141:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53306,7 +54028,7 @@ } }, { - "id": "1532", + "id": "1557", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:141:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53331,7 +54053,7 @@ } }, { - "id": "1533", + "id": "1558", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -53344,7 +54066,7 @@ "8", "9", "14", - "468" + "469" ], "location": { "end": { @@ -53358,7 +54080,7 @@ } }, { - "id": "1534", + "id": "1559", "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:718:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -53366,7 +54088,7 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ "5", @@ -53375,7 +54097,7 @@ "8", "9", "14", - "468" + "469" ], "location": { "end": { @@ -53389,7 +54111,7 @@ } }, { - "id": "1535", + "id": "1560", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"There are too much targets which drank life potion (`targets.drankPotion`)\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:161:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53406,7 +54128,7 @@ "8", "9", "14", - "468" + "469" ], "location": { "end": { @@ -53420,7 +54142,7 @@ } }, { - "id": "1536", + "id": "1561", "mutatorName": "EqualityOperator", "replacement": "drankLifePotionTargets.length >= 1", "status": "Timeout", @@ -53433,7 +54155,7 @@ "8", "9", "14", - "468" + "469" ], "location": { "end": { @@ -53447,7 +54169,7 @@ } }, { - "id": "1537", + "id": "1562", "mutatorName": "EqualityOperator", "replacement": "drankLifePotionTargets.length <= 1", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"There are too much targets which drank life potion (`targets.drankPotion`)\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:161:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53464,7 +54186,7 @@ "8", "9", "14", - "468" + "469" ], "location": { "end": { @@ -53478,7 +54200,7 @@ } }, { - "id": "1538", + "id": "1563", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"There are too much targets which drank life potion (`targets.drankPotion`)\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:161:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53503,7 +54225,7 @@ } }, { - "id": "1539", + "id": "1564", "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/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:721:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -53511,7 +54233,7 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ "6", @@ -53519,7 +54241,7 @@ "8", "9", "14", - "468" + "469" ], "location": { "end": { @@ -53533,7 +54255,7 @@ } }, { - "id": "1540", + "id": "1565", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:168:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53549,7 +54271,7 @@ "8", "9", "14", - "468" + "469" ], "location": { "end": { @@ -53563,7 +54285,7 @@ } }, { - "id": "1541", + "id": "1566", "mutatorName": "LogicalOperator", "replacement": "drankLifePotionTargets.length || !doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) || !drankLifePotionTargets[0].player.isAlive", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"TypeError\"\nError message: \"Cannot read properties of undefined (reading 'player')\"\n\n 129 | }\n 130 | }\n > 131 | if (stryMutAct_9fa48(\"1457\") ? drankLifePotionTargets.length || !doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) || !drankLifePotionTargets[0].player.isAlive : stryMutAct_9fa48(\"1456\") ? false : stryMutAct_9fa48(\"1455\") ? true : (stryCov_9fa48(\"1455\", \"1456\", \"1457\"), drankLifePotionTargets.length && (stryMutAct_9fa48(\"1459\") ? !doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) && !drankLifePotionTargets[0].player.isAlive : stryMutAct_9fa48(\"1458\") ? true : (stryCov_9fa48(\"1458\", \"1459\"), (stryMutAct_9fa48(\"1460\") ? doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) : (stryCov_9fa48(\"1460\"), !doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN))) || (stryMutAct_9fa48(\"1461\") ? drankLifePotionTargets[0].player.isAlive : (stryCov_9fa48(\"1461\"), !drankLifePotionTargets[0].player.isAlive)))))) {\n | ^\n 132 | if (stryMutAct_9fa48(\"1462\")) {\n 133 | {}\n 134 | } else {\n\n at GamePlaysValidatorService.validateDrankLifePotionTargets (src/modules/game/providers/services/game-play/game-plays-validator.service.ts:131:122)\n at tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:169:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:312:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:169:91)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:169:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53579,7 +54301,7 @@ "8", "9", "14", - "468" + "469" ], "location": { "end": { @@ -53593,7 +54315,7 @@ } }, { - "id": "1542", + "id": "1567", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:176:111)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53620,7 +54342,7 @@ } }, { - "id": "1543", + "id": "1568", "mutatorName": "LogicalOperator", "replacement": "!doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) && !drankLifePotionTargets[0].player.isAlive", "status": "Timeout", @@ -53643,7 +54365,7 @@ } }, { - "id": "1544", + "id": "1569", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN)", "status": "Timeout", @@ -53666,7 +54388,7 @@ } }, { - "id": "1545", + "id": "1570", "mutatorName": "BooleanLiteral", "replacement": "drankLifePotionTargets[0].player.isAlive", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:168:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53692,7 +54414,7 @@ } }, { - "id": "1546", + "id": "1571", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -53714,7 +54436,7 @@ } }, { - "id": "1547", + "id": "1572", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:199:109)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53730,7 +54452,7 @@ "12", "13", "14", - "468" + "469" ], "location": { "end": { @@ -53744,7 +54466,7 @@ } }, { - "id": "1548", + "id": "1573", "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/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:721:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -53752,7 +54474,7 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ "10", @@ -53760,7 +54482,7 @@ "12", "13", "14", - "468" + "469" ], "location": { "end": { @@ -53774,7 +54496,7 @@ } }, { - "id": "1549", + "id": "1574", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"There are too much targets which drank death potion (`targets.drankPotion`)\"], but it was called with \"Death potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:200:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53790,7 +54512,7 @@ "12", "13", "14", - "468" + "469" ], "location": { "end": { @@ -53804,7 +54526,7 @@ } }, { - "id": "1550", + "id": "1575", "mutatorName": "EqualityOperator", "replacement": "drankDeathPotionTargets.length >= 1", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"Death potion can't be applied to this target (`targets.drankPotion`)\"], but it was called with \"There are too much targets which drank death potion (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:208:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53820,7 +54542,7 @@ "12", "13", "14", - "468" + "469" ], "location": { "end": { @@ -53834,7 +54556,7 @@ } }, { - "id": "1551", + "id": "1576", "mutatorName": "EqualityOperator", "replacement": "drankDeathPotionTargets.length <= 1", "status": "Timeout", @@ -53846,7 +54568,7 @@ "12", "13", "14", - "468" + "469" ], "location": { "end": { @@ -53860,7 +54582,7 @@ } }, { - "id": "1552", + "id": "1577", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"There are too much targets which drank death potion (`targets.drankPotion`)\"], but it was called with \"Death potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:200:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53885,7 +54607,7 @@ } }, { - "id": "1553", + "id": "1578", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:200:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53900,7 +54622,7 @@ "12", "13", "14", - "468" + "469" ], "location": { "end": { @@ -53914,7 +54636,7 @@ } }, { - "id": "1554", + "id": "1579", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -53925,7 +54647,7 @@ "12", "13", "14", - "468" + "469" ], "location": { "end": { @@ -53939,7 +54661,7 @@ } }, { - "id": "1555", + "id": "1580", "mutatorName": "LogicalOperator", "replacement": "drankDeathPotionTargets.length || !drankDeathPotionTargets[0].player.isAlive", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"TypeError\"\nError message: \"Cannot read properties of undefined (reading 'player')\"\n\n 152 | }\n 153 | }\n > 154 | if (stryMutAct_9fa48(\"1471\") ? drankDeathPotionTargets.length || !drankDeathPotionTargets[0].player.isAlive : stryMutAct_9fa48(\"1470\") ? false : stryMutAct_9fa48(\"1469\") ? true : (stryCov_9fa48(\"1469\", \"1470\", \"1471\"), drankDeathPotionTargets.length && (stryMutAct_9fa48(\"1472\") ? drankDeathPotionTargets[0].player.isAlive : (stryCov_9fa48(\"1472\"), !drankDeathPotionTargets[0].player.isAlive)))) {\n | ^\n 155 | if (stryMutAct_9fa48(\"1473\")) {\n 156 | {}\n 157 | } else {\n\n at GamePlaysValidatorService.validateDrankDeathPotionTargets (src/modules/game/providers/services/game-play/game-plays-validator.service.ts:154:100)\n at tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:200:82\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:312:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:200:92)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:200:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53954,7 +54676,7 @@ "12", "13", "14", - "468" + "469" ], "location": { "end": { @@ -53968,7 +54690,7 @@ } }, { - "id": "1556", + "id": "1581", "mutatorName": "BooleanLiteral", "replacement": "drankDeathPotionTargets[0].player.isAlive", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:207:109)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -53994,7 +54716,7 @@ } }, { - "id": "1557", + "id": "1582", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:207:109)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54019,7 +54741,7 @@ } }, { - "id": "1558", + "id": "1583", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -54037,7 +54759,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54051,7 +54773,7 @@ } }, { - "id": "1559", + "id": "1584", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:234:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54073,7 +54795,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54087,7 +54809,7 @@ } }, { - "id": "1560", + "id": "1585", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:247:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54109,7 +54831,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54123,7 +54845,7 @@ } }, { - "id": "1561", + "id": "1586", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:234:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54144,7 +54866,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54158,7 +54880,7 @@ } }, { - "id": "1562", + "id": "1587", "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:718:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -54166,7 +54888,7 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ "14", @@ -54179,7 +54901,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54193,7 +54915,7 @@ } }, { - "id": "1563", + "id": "1588", "mutatorName": "EqualityOperator", "replacement": "drankPotion === undefined", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:234:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54214,7 +54936,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54228,7 +54950,7 @@ } }, { - "id": "1564", + "id": "1589", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -54246,7 +54968,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54260,7 +54982,7 @@ } }, { - "id": "1565", + "id": "1590", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:283:43)", @@ -54282,7 +55004,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54296,7 +55018,7 @@ } }, { - "id": "1566", + "id": "1591", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:367:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54318,7 +55040,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54332,7 +55054,7 @@ } }, { - "id": "1567", + "id": "1592", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.LIFE)).length <= 0", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:283:43)", @@ -54354,7 +55076,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54368,7 +55090,7 @@ } }, { - "id": "1568", + "id": "1593", "mutatorName": "MethodExpression", "replacement": "drankPotionTargets", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[{\"drankPotion\": \"life\", \"player\": {\"_id\": \"33db0f5bf47bf1aee4d7585b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Devyn\", \"position\": 8919100329820160, \"role\": {\"current\": \"seer\", \"isRevealed\": true, \"original\": \"witch\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]], but it was called with [{\"drankPotion\": \"life\", \"player\": {\"_id\": \"33db0f5bf47bf1aee4d7585b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Devyn\", \"position\": 8919100329820160, \"role\": {\"current\": \"seer\", \"isRevealed\": true, \"original\": \"witch\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}, {\"drankPotion\": \"death\", \"player\": {\"_id\": \"b89de696a1c698a1a8b21fac\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Vanessa\", \"position\": 5352032529547264, \"role\": {\"current\": \"white-werewolf\", \"isRevealed\": true, \"original\": \"bear-tamer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:368:49)", @@ -54390,7 +55112,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54404,7 +55126,7 @@ } }, { - "id": "1569", + "id": "1594", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:282:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54426,7 +55148,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54440,7 +55162,7 @@ } }, { - "id": "1570", + "id": "1595", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[{\"drankPotion\": \"life\", \"player\": {\"_id\": \"dacddfd30a80a9ea56bf01a9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Coby\", \"position\": 5515105005469696, \"role\": {\"current\": \"raven\", \"isRevealed\": true, \"original\": \"dog-wolf\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}]], but it was called with [{\"drankPotion\": \"life\", \"player\": {\"_id\": \"dacddfd30a80a9ea56bf01a9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Coby\", \"position\": 5515105005469696, \"role\": {\"current\": \"raven\", \"isRevealed\": true, \"original\": \"dog-wolf\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}, {\"drankPotion\": \"death\", \"player\": {\"_id\": \"c3d7288bc148d72d66aaf091\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Camron\", \"position\": 4097897899491328, \"role\": {\"current\": \"angel\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:368:49)", @@ -54473,7 +55195,7 @@ } }, { - "id": "1571", + "id": "1596", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -54502,7 +55224,7 @@ } }, { - "id": "1572", + "id": "1597", "mutatorName": "EqualityOperator", "replacement": "drankPotion !== WITCH_POTIONS.LIFE", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:282:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54535,7 +55257,7 @@ } }, { - "id": "1573", + "id": "1598", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:367:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54557,7 +55279,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54571,7 +55293,7 @@ } }, { - "id": "1574", + "id": "1599", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -54589,7 +55311,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54603,7 +55325,7 @@ } }, { - "id": "1575", + "id": "1600", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:367:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54625,7 +55347,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54639,7 +55361,7 @@ } }, { - "id": "1576", + "id": "1601", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.DEATH)).length <= 0", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Death potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:322:43)", @@ -54661,7 +55383,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54675,7 +55397,7 @@ } }, { - "id": "1577", + "id": "1602", "mutatorName": "MethodExpression", "replacement": "drankPotionTargets", "status": "Timeout", @@ -54693,7 +55415,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54707,7 +55429,7 @@ } }, { - "id": "1578", + "id": "1603", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:321:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54729,7 +55451,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54743,7 +55465,7 @@ } }, { - "id": "1579", + "id": "1604", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[{\"drankPotion\": \"death\", \"player\": {\"_id\": \"2fb1af16a3abba17ee2ceab6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Christine\", \"position\": 7415678795513856, \"role\": {\"current\": \"angel\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}]], but it was called with [{\"drankPotion\": \"life\", \"player\": {\"_id\": \"baadbeebc31ed40a8fe6fdcc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lauretta\", \"position\": 2868291055910912, \"role\": {\"current\": \"villager\", \"isRevealed\": true, \"original\": \"vile-father-of-wolves\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}, {\"drankPotion\": \"death\", \"player\": {\"_id\": \"2fb1af16a3abba17ee2ceab6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Christine\", \"position\": 7415678795513856, \"role\": {\"current\": \"angel\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:369:50)", @@ -54776,7 +55498,7 @@ } }, { - "id": "1580", + "id": "1605", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:321:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54809,7 +55531,7 @@ } }, { - "id": "1581", + "id": "1606", "mutatorName": "EqualityOperator", "replacement": "drankPotion !== WITCH_POTIONS.DEATH", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:321:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54842,7 +55564,7 @@ } }, { - "id": "1582", + "id": "1607", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:234:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -54864,7 +55586,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54878,7 +55600,7 @@ } }, { - "id": "1583", + "id": "1608", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:248:43)", @@ -54900,7 +55622,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54914,7 +55636,7 @@ } }, { - "id": "1584", + "id": "1609", "mutatorName": "LogicalOperator", "replacement": "((game.currentPlay.action !== GAME_PLAY_ACTIONS.USE_POTIONS || game.currentPlay.source !== ROLE_NAMES.WITCH) && drankPotionTargets.length || hasWitchUsedLifePotion && drankLifePotionTargets.length) && hasWitchUsedDeathPotion && drankDeathPotionTargets.length", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:248:43)", @@ -54936,7 +55658,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54950,7 +55672,7 @@ } }, { - "id": "1585", + "id": "1610", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:248:43)", @@ -54972,7 +55694,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -54986,7 +55708,7 @@ } }, { - "id": "1586", + "id": "1611", "mutatorName": "LogicalOperator", "replacement": "(game.currentPlay.action !== GAME_PLAY_ACTIONS.USE_POTIONS || game.currentPlay.source !== ROLE_NAMES.WITCH) && drankPotionTargets.length && hasWitchUsedLifePotion && drankLifePotionTargets.length", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:248:43)", @@ -55008,7 +55730,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -55022,7 +55744,7 @@ } }, { - "id": "1587", + "id": "1612", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:248:43)", @@ -55044,7 +55766,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -55058,7 +55780,7 @@ } }, { - "id": "1588", + "id": "1613", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.USE_POTIONS || game.currentPlay.source !== ROLE_NAMES.WITCH || drankPotionTargets.length", "status": "Timeout", @@ -55076,7 +55798,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -55090,7 +55812,7 @@ } }, { - "id": "1589", + "id": "1614", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:367:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55112,7 +55834,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -55126,7 +55848,7 @@ } }, { - "id": "1590", + "id": "1615", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.USE_POTIONS && game.currentPlay.source !== ROLE_NAMES.WITCH", "status": "Timeout", @@ -55144,7 +55866,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -55158,7 +55880,7 @@ } }, { - "id": "1591", + "id": "1616", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:248:43)", @@ -55180,7 +55902,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -55194,7 +55916,7 @@ } }, { - "id": "1592", + "id": "1617", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.USE_POTIONS", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:248:43)", @@ -55216,7 +55938,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -55230,7 +55952,7 @@ } }, { - "id": "1593", + "id": "1618", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:262:43)", @@ -55263,7 +55985,7 @@ } }, { - "id": "1594", + "id": "1619", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source === ROLE_NAMES.WITCH", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:262:43)", @@ -55296,7 +56018,7 @@ } }, { - "id": "1595", + "id": "1620", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:283:43)", @@ -55316,7 +56038,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -55330,7 +56052,7 @@ } }, { - "id": "1596", + "id": "1621", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:367:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55350,7 +56072,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -55364,7 +56086,7 @@ } }, { - "id": "1597", + "id": "1622", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:321:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55382,7 +56104,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -55396,7 +56118,7 @@ } }, { - "id": "1598", + "id": "1623", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:367:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55414,7 +56136,7 @@ "22", "23", "24", - "468" + "469" ], "location": { "end": { @@ -55428,7 +56150,7 @@ } }, { - "id": "1599", + "id": "1624", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"`targets.drankPotion` can't be set on this current game's state\"], but it was called with \"Life potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:248:43)", @@ -55458,7 +56180,7 @@ } }, { - "id": "1600", + "id": "1625", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:415:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55476,7 +56198,7 @@ "29", "30", "31", - "468" + "469" ], "location": { "end": { @@ -55490,7 +56212,7 @@ } }, { - "id": "1601", + "id": "1626", "mutatorName": "MethodExpression", "replacement": "playTargets", "status": "Timeout", @@ -55504,7 +56226,7 @@ "29", "30", "31", - "468" + "469" ], "location": { "end": { @@ -55518,7 +56240,7 @@ } }, { - "id": "1602", + "id": "1627", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:415:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55536,7 +56258,7 @@ "29", "30", "31", - "468" + "469" ], "location": { "end": { @@ -55550,7 +56272,7 @@ } }, { - "id": "1603", + "id": "1628", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:492:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55568,7 +56290,7 @@ "29", "30", "31", - "468" + "469" ], "location": { "end": { @@ -55582,7 +56304,7 @@ } }, { - "id": "1604", + "id": "1629", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -55596,7 +56318,7 @@ "29", "30", "31", - "468" + "469" ], "location": { "end": { @@ -55610,7 +56332,7 @@ } }, { - "id": "1605", + "id": "1630", "mutatorName": "EqualityOperator", "replacement": "isInfected !== true", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:415:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55628,7 +56350,7 @@ "29", "30", "31", - "468" + "469" ], "location": { "end": { @@ -55642,7 +56364,7 @@ } }, { - "id": "1606", + "id": "1631", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:415:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55660,7 +56382,7 @@ "29", "30", "31", - "468" + "469" ], "location": { "end": { @@ -55674,7 +56396,7 @@ } }, { - "id": "1607", + "id": "1632", "mutatorName": "BooleanLiteral", "replacement": "infectedTargets.length", "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/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:721:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -55682,7 +56404,7 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ "25", @@ -55692,7 +56414,7 @@ "29", "30", "31", - "468" + "469" ], "location": { "end": { @@ -55706,7 +56428,7 @@ } }, { - "id": "1608", + "id": "1633", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(82,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", @@ -55721,7 +56443,7 @@ "29", "30", "31", - "468" + "469" ], "location": { "end": { @@ -55735,7 +56457,7 @@ } }, { - "id": "1609", + "id": "1634", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:492:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55753,7 +56475,7 @@ "29", "30", "31", - "468" + "469" ], "location": { "end": { @@ -55767,7 +56489,7 @@ } }, { - "id": "1610", + "id": "1635", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:492:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55779,7 +56501,7 @@ ], "coveredBy": [ "30", - "468" + "469" ], "location": { "end": { @@ -55793,7 +56515,7 @@ } }, { - "id": "1611", + "id": "1636", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:506:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55823,7 +56545,7 @@ } }, { - "id": "1612", + "id": "1637", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:484:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55853,7 +56575,7 @@ } }, { - "id": "1613", + "id": "1638", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords(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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:506:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55883,7 +56605,7 @@ } }, { - "id": "1614", + "id": "1639", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords(game._id)).length <= 0", "status": "Timeout", @@ -55909,7 +56631,7 @@ } }, { - "id": "1615", + "id": "1640", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:506:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55939,7 +56661,7 @@ } }, { - "id": "1616", + "id": "1641", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:415:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55969,7 +56691,7 @@ } }, { - "id": "1617", + "id": "1642", "mutatorName": "LogicalOperator", "replacement": "(game.currentPlay.action !== GAME_PLAY_ACTIONS.EAT || game.currentPlay.source !== PLAYER_GROUPS.WEREWOLVES || !vileFatherOfWolvesPlayer || !isPlayerAliveAndPowerful(vileFatherOfWolvesPlayer)) && hasVileFatherOfWolvesInfected", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:415:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -55999,7 +56721,7 @@ } }, { - "id": "1618", + "id": "1643", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:415:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56029,7 +56751,7 @@ } }, { - "id": "1619", + "id": "1644", "mutatorName": "LogicalOperator", "replacement": "(game.currentPlay.action !== GAME_PLAY_ACTIONS.EAT || game.currentPlay.source !== PLAYER_GROUPS.WEREWOLVES || !vileFatherOfWolvesPlayer) && !isPlayerAliveAndPowerful(vileFatherOfWolvesPlayer)", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(81,175): 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", @@ -56056,7 +56778,7 @@ } }, { - "id": "1620", + "id": "1645", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(81,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", @@ -56083,7 +56805,7 @@ } }, { - "id": "1621", + "id": "1646", "mutatorName": "LogicalOperator", "replacement": "(game.currentPlay.action !== GAME_PLAY_ACTIONS.EAT || game.currentPlay.source !== PLAYER_GROUPS.WEREWOLVES) && !vileFatherOfWolvesPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(81,175): 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", @@ -56110,7 +56832,7 @@ } }, { - "id": "1622", + "id": "1647", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:415:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56140,7 +56862,7 @@ } }, { - "id": "1623", + "id": "1648", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.EAT && game.currentPlay.source !== PLAYER_GROUPS.WEREWOLVES", "status": "Timeout", @@ -56166,7 +56888,7 @@ } }, { - "id": "1624", + "id": "1649", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -56192,7 +56914,7 @@ } }, { - "id": "1625", + "id": "1650", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.EAT", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:415:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56222,7 +56944,7 @@ } }, { - "id": "1626", + "id": "1651", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:430:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56251,7 +56973,7 @@ } }, { - "id": "1627", + "id": "1652", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:430:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56280,7 +57002,7 @@ } }, { - "id": "1628", + "id": "1653", "mutatorName": "BooleanLiteral", "replacement": "vileFatherOfWolvesPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(82,61): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -56305,7 +57027,7 @@ } }, { - "id": "1629", + "id": "1654", "mutatorName": "BooleanLiteral", "replacement": "isPlayerAliveAndPowerful(vileFatherOfWolvesPlayer)", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:506:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56332,7 +57054,7 @@ } }, { - "id": "1630", + "id": "1655", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:415:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56361,7 +57083,7 @@ } }, { - "id": "1631", + "id": "1656", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(85,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", @@ -56383,7 +57105,7 @@ } }, { - "id": "1632", + "id": "1657", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:542:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56413,7 +57135,7 @@ } }, { - "id": "1633", + "id": "1658", "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/sandbox2074014/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:504:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56443,7 +57165,7 @@ } }, { - "id": "1634", + "id": "1659", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(94,7): error TS2418: Type of computed property's value is '{}', which is not assignable to type '{ min: number; max: number; }'.\n Type '{}' is missing the following properties from type '{ min: number; max: number; }': min, max\n", @@ -56470,7 +57192,7 @@ } }, { - "id": "1635", + "id": "1660", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(95,7): error TS2418: Type of computed property's value is '{}', which is not assignable to type '{ min: number; max: number; }'.\n Type '{}' is missing the following properties from type '{ min: number; max: number; }': min, max\n", @@ -56497,7 +57219,7 @@ } }, { - "id": "1636", + "id": "1661", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(96,7): error TS2418: Type of computed property's value is '{}', which is not assignable to type '{ min: number; max: number; }'.\n Type '{}' is missing the following properties from type '{ min: number; max: number; }': min, max\n", @@ -56524,7 +57246,7 @@ } }, { - "id": "1637", + "id": "1662", "mutatorName": "BooleanLiteral", "replacement": "targetsBoundaries", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(102,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type '{ min: number; max: number; }'.\n", @@ -56551,7 +57273,7 @@ } }, { - "id": "1638", + "id": "1663", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(102,57): error TS2345: Argument of type '{ min: number; max: number; } | 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", @@ -56578,7 +57300,7 @@ } }, { - "id": "1639", + "id": "1664", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(102,57): error TS2345: Argument of type '{ min: number; max: number; } | 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", @@ -56605,7 +57327,7 @@ } }, { - "id": "1640", + "id": "1665", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(100,57): error TS2345: Argument of type '{ min: number; max: number; } | 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", @@ -56627,7 +57349,7 @@ } }, { - "id": "1641", + "id": "1666", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:607:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56651,7 +57373,7 @@ "48", "49", "50", - "468" + "469" ], "location": { "end": { @@ -56665,7 +57387,7 @@ } }, { - "id": "1642", + "id": "1667", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -56685,7 +57407,7 @@ "48", "49", "50", - "468" + "469" ], "location": { "end": { @@ -56699,7 +57421,7 @@ } }, { - "id": "1643", + "id": "1668", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"c3bcfdb6bbecb7cd26c9a6df\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Clare\", \"position\": 5655092950728704, \"role\": {\"current\": \"werewolf\", \"isRevealed\": true, \"original\": \"little-girl\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"_id\": \"92aa80becbba195d9164f3c0\", \"additionalCards\": undefined, \"createdAt\": 2023-06-21T01:04:44.367Z, \"currentPlay\": {\"action\": \"use-potions\", \"cause\": undefined, \"source\": \"werewolves\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 670553046253568}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [], \"status\": \"playing\", \"tick\": 1826868216987648, \"turn\": 8222806540025856, \"upcomingPlays\": [], \"updatedAt\": 2023-06-21T01:25:41.670Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:594:55)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56723,7 +57445,7 @@ "48", "49", "50", - "468" + "469" ], "location": { "end": { @@ -56737,7 +57459,7 @@ } }, { - "id": "1644", + "id": "1669", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.EAT", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:589: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:582: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -56761,7 +57483,7 @@ "48", "49", "50", - "468" + "469" ], "location": { "end": { @@ -56775,7 +57497,7 @@ } }, { - "id": "1645", + "id": "1670", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:589: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:582: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -56787,7 +57509,7 @@ ], "coveredBy": [ "38", - "468" + "469" ], "location": { "end": { @@ -56801,7 +57523,7 @@ } }, { - "id": "1646", + "id": "1671", "mutatorName": "BooleanLiteral", "replacement": "playTargets.length", "status": "Timeout", @@ -56833,7 +57555,7 @@ } }, { - "id": "1647", + "id": "1672", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:607:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56869,7 +57591,7 @@ } }, { - "id": "1648", + "id": "1673", "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 279 | }\n 280 | }\n > 281 | const targetedPlayer = playTargets[0].player;\n | ^\n 282 | if (stryMutAct_9fa48(\"1593\") ? game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES || !targetedPlayer.isAlive || !isPlayerOnVillagersSide(targetedPlayer) : stryMutAct_9fa48(\"1592\") ? false : stryMutAct_9fa48(\"1591\") ? true : (stryCov_9fa48(\"1591\", \"1592\", \"1593\"), (stryMutAct_9fa48(\"1595\") ? game.currentPlay.source !== PLAYER_GROUPS.WEREWOLVES : stryMutAct_9fa48(\"1594\") ? true : (stryCov_9fa48(\"1594\", \"1595\"), game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES)) && (stryMutAct_9fa48(\"1597\") ? !targetedPlayer.isAlive && !isPlayerOnVillagersSide(targetedPlayer) : stryMutAct_9fa48(\"1596\") ? true : (stryCov_9fa48(\"1596\", \"1597\"), (stryMutAct_9fa48(\"1598\") ? targetedPlayer.isAlive : (stryCov_9fa48(\"1598\"), !targetedPlayer.isAlive)) || (stryMutAct_9fa48(\"1599\") ? isPlayerOnVillagersSide(targetedPlayer) : (stryCov_9fa48(\"1599\"), !isPlayerOnVillagersSide(targetedPlayer))))))) {\n 283 | if (stryMutAct_9fa48(\"1600\")) {\n 284 | {}\n\n at GamePlaysValidatorService.validateGamePlayWerewolvesTargets (src/modules/game/providers/services/game-play/game-plays-validator.service.ts:281:45)\n at tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:600:84\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:312:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:600:133)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:600:133)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56905,7 +57627,7 @@ } }, { - "id": "1649", + "id": "1674", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"TypeError\"\nError message: \"Cannot read properties of undefined (reading 'player')\"\n\n 279 | }\n 280 | }\n > 281 | const targetedPlayer = playTargets[0].player;\n | ^\n 282 | if (stryMutAct_9fa48(\"1593\") ? game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES || !targetedPlayer.isAlive || !isPlayerOnVillagersSide(targetedPlayer) : stryMutAct_9fa48(\"1592\") ? false : stryMutAct_9fa48(\"1591\") ? true : (stryCov_9fa48(\"1591\", \"1592\", \"1593\"), (stryMutAct_9fa48(\"1595\") ? game.currentPlay.source !== PLAYER_GROUPS.WEREWOLVES : stryMutAct_9fa48(\"1594\") ? true : (stryCov_9fa48(\"1594\", \"1595\"), game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES)) && (stryMutAct_9fa48(\"1597\") ? !targetedPlayer.isAlive && !isPlayerOnVillagersSide(targetedPlayer) : stryMutAct_9fa48(\"1596\") ? true : (stryCov_9fa48(\"1596\", \"1597\"), (stryMutAct_9fa48(\"1598\") ? targetedPlayer.isAlive : (stryCov_9fa48(\"1598\"), !targetedPlayer.isAlive)) || (stryMutAct_9fa48(\"1599\") ? isPlayerOnVillagersSide(targetedPlayer) : (stryCov_9fa48(\"1599\"), !isPlayerOnVillagersSide(targetedPlayer))))))) {\n 283 | if (stryMutAct_9fa48(\"1600\")) {\n 284 | {}\n\n at GamePlaysValidatorService.validateGamePlayWerewolvesTargets (src/modules/game/providers/services/game-play/game-plays-validator.service.ts:281:45)\n at tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:600:84\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:312:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:600:133)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:600:133)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56930,7 +57652,7 @@ } }, { - "id": "1650", + "id": "1675", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"Big bad wolf can't eat this target\"], but it was called with \"Werewolves can't eat this target\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:624:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -56965,7 +57687,7 @@ } }, { - "id": "1651", + "id": "1676", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:607:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57000,7 +57722,7 @@ } }, { - "id": "1652", + "id": "1677", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES || !targetedPlayer.isAlive || !isPlayerOnVillagersSide(targetedPlayer)", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"Big bad wolf can't eat this target\"], but it was called with \"Werewolves can't eat this target\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:624:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57035,7 +57757,7 @@ } }, { - "id": "1653", + "id": "1678", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"Big bad wolf can't eat this target\"], but it was called with \"Werewolves can't eat this target\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:624:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57070,7 +57792,7 @@ } }, { - "id": "1654", + "id": "1679", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source !== PLAYER_GROUPS.WEREWOLVES", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:607:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57105,7 +57827,7 @@ } }, { - "id": "1655", + "id": "1680", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:687:133)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57132,7 +57854,7 @@ } }, { - "id": "1656", + "id": "1681", "mutatorName": "LogicalOperator", "replacement": "!targetedPlayer.isAlive && !isPlayerOnVillagersSide(targetedPlayer)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:607:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57159,7 +57881,7 @@ } }, { - "id": "1657", + "id": "1682", "mutatorName": "BooleanLiteral", "replacement": "targetedPlayer.isAlive", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:607:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57186,7 +57908,7 @@ } }, { - "id": "1658", + "id": "1683", "mutatorName": "BooleanLiteral", "replacement": "isPlayerOnVillagersSide(targetedPlayer)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:615:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57212,7 +57934,7 @@ } }, { - "id": "1659", + "id": "1684", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:607:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57238,7 +57960,7 @@ } }, { - "id": "1660", + "id": "1685", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"White werewolf can't eat this target\"], but it was called with \"Big bad wolf can't eat this target\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:648:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57271,7 +57993,7 @@ } }, { - "id": "1661", + "id": "1686", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -57300,7 +58022,7 @@ } }, { - "id": "1662", + "id": "1687", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.source === ROLE_NAMES.BIG_BAD_WOLF || !targetedPlayer.isAlive || !isPlayerOnVillagersSide(targetedPlayer) || doesPlayerHaveAttribute(targetedPlayer, PLAYER_ATTRIBUTE_NAMES.EATEN)", "status": "Timeout", @@ -57329,7 +58051,7 @@ } }, { - "id": "1663", + "id": "1688", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"White werewolf can't eat this target\"], but it was called with \"Big bad wolf can't eat this target\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:648:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57362,7 +58084,7 @@ } }, { - "id": "1664", + "id": "1689", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source !== ROLE_NAMES.BIG_BAD_WOLF", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:623:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57395,7 +58117,7 @@ } }, { - "id": "1665", + "id": "1690", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:680:133)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57423,7 +58145,7 @@ } }, { - "id": "1666", + "id": "1691", "mutatorName": "LogicalOperator", "replacement": "(!targetedPlayer.isAlive || !isPlayerOnVillagersSide(targetedPlayer)) && doesPlayerHaveAttribute(targetedPlayer, PLAYER_ATTRIBUTE_NAMES.EATEN)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:623:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57451,7 +58173,7 @@ } }, { - "id": "1667", + "id": "1692", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:623:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57479,7 +58201,7 @@ } }, { - "id": "1668", + "id": "1693", "mutatorName": "LogicalOperator", "replacement": "!targetedPlayer.isAlive && !isPlayerOnVillagersSide(targetedPlayer)", "status": "Timeout", @@ -57503,7 +58225,7 @@ } }, { - "id": "1669", + "id": "1694", "mutatorName": "BooleanLiteral", "replacement": "targetedPlayer.isAlive", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:623:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57531,7 +58253,7 @@ } }, { - "id": "1670", + "id": "1695", "mutatorName": "BooleanLiteral", "replacement": "isPlayerOnVillagersSide(targetedPlayer)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:631:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57558,7 +58280,7 @@ } }, { - "id": "1671", + "id": "1696", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -57581,7 +58303,7 @@ } }, { - "id": "1672", + "id": "1697", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:673:133)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57611,7 +58333,7 @@ } }, { - "id": "1673", + "id": "1698", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:647:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57641,7 +58363,7 @@ } }, { - "id": "1674", + "id": "1699", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.source === ROLE_NAMES.WHITE_WEREWOLF || !targetedPlayer.isAlive || !isPlayerOnWerewolvesSide(targetedPlayer) || whiteWerewolfPlayer?._id === targetedPlayer._id", "status": "Timeout", @@ -57667,7 +58389,7 @@ } }, { - "id": "1675", + "id": "1700", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -57693,7 +58415,7 @@ } }, { - "id": "1676", + "id": "1701", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source !== ROLE_NAMES.WHITE_WEREWOLF", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:647:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57723,7 +58445,7 @@ } }, { - "id": "1677", + "id": "1702", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:673:133)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57751,7 +58473,7 @@ } }, { - "id": "1678", + "id": "1703", "mutatorName": "LogicalOperator", "replacement": "(!targetedPlayer.isAlive || !isPlayerOnWerewolvesSide(targetedPlayer)) && whiteWerewolfPlayer?._id === targetedPlayer._id", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:647:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57779,7 +58501,7 @@ } }, { - "id": "1679", + "id": "1704", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:647:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57807,7 +58529,7 @@ } }, { - "id": "1680", + "id": "1705", "mutatorName": "LogicalOperator", "replacement": "!targetedPlayer.isAlive && !isPlayerOnWerewolvesSide(targetedPlayer)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:647:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57835,7 +58557,7 @@ } }, { - "id": "1681", + "id": "1706", "mutatorName": "BooleanLiteral", "replacement": "targetedPlayer.isAlive", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:647:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57863,7 +58585,7 @@ } }, { - "id": "1682", + "id": "1707", "mutatorName": "BooleanLiteral", "replacement": "isPlayerOnWerewolvesSide(targetedPlayer)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:655:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57890,7 +58612,7 @@ } }, { - "id": "1683", + "id": "1708", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:665:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57916,7 +58638,7 @@ } }, { - "id": "1684", + "id": "1709", "mutatorName": "EqualityOperator", "replacement": "whiteWerewolfPlayer?._id !== targetedPlayer._id", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:665:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -57942,7 +58664,7 @@ } }, { - "id": "1685", + "id": "1710", "mutatorName": "OptionalChaining", "replacement": "whiteWerewolfPlayer._id", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(123,7): error TS18048: 'whiteWerewolfPlayer' is possibly 'undefined'.\n", @@ -57965,7 +58687,7 @@ } }, { - "id": "1686", + "id": "1711", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -57988,7 +58710,7 @@ } }, { - "id": "1687", + "id": "1712", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -57999,7 +58721,7 @@ "52", "53", "54", - "468" + "469" ], "location": { "end": { @@ -58013,7 +58735,7 @@ } }, { - "id": "1688", + "id": "1713", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:718:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58028,7 +58750,7 @@ "52", "53", "54", - "468" + "469" ], "location": { "end": { @@ -58042,7 +58764,7 @@ } }, { - "id": "1689", + "id": "1714", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:698: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:691: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -58057,7 +58779,7 @@ "52", "53", "54", - "468" + "469" ], "location": { "end": { @@ -58071,7 +58793,7 @@ } }, { - "id": "1690", + "id": "1715", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.SHOOT && game.currentPlay.source !== ROLE_NAMES.HUNTER", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:698: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:691: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -58086,7 +58808,7 @@ "52", "53", "54", - "468" + "469" ], "location": { "end": { @@ -58100,7 +58822,7 @@ } }, { - "id": "1691", + "id": "1716", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"55ecc6942590fd9f7606cb4c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dedrick\", \"position\": 3373510797819904, \"role\": {\"current\": \"wild-child\", \"isRevealed\": false, \"original\": \"little-girl\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:703:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58115,7 +58837,7 @@ "52", "53", "54", - "468" + "469" ], "location": { "end": { @@ -58129,7 +58851,7 @@ } }, { - "id": "1692", + "id": "1717", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.SHOOT", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"3aceee403dfe62a0b70ad0a2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kaya\", \"position\": 1988074848387072, \"role\": {\"current\": \"witch\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:703:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58144,7 +58866,7 @@ "52", "53", "54", - "468" + "469" ], "location": { "end": { @@ -58158,7 +58880,7 @@ } }, { - "id": "1693", + "id": "1718", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"11de337bdffeb3a6de2a9141\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Zaria\", \"position\": 6108338171412480, \"role\": {\"current\": \"big-bad-wolf\", \"isRevealed\": false, \"original\": \"three-brothers\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:711:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58185,7 +58907,7 @@ } }, { - "id": "1694", + "id": "1719", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source === ROLE_NAMES.HUNTER", "status": "Timeout", @@ -58208,7 +58930,7 @@ } }, { - "id": "1695", + "id": "1720", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -58217,7 +58939,7 @@ "coveredBy": [ "51", "52", - "468" + "469" ], "location": { "end": { @@ -58231,7 +58953,7 @@ } }, { - "id": "1696", + "id": "1721", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(132,57): 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", @@ -58254,7 +58976,7 @@ } }, { - "id": "1697", + "id": "1722", "mutatorName": "BooleanLiteral", "replacement": "targetedPlayer.isAlive", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:718:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58280,7 +59002,7 @@ } }, { - "id": "1698", + "id": "1723", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:726:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58306,7 +59028,7 @@ } }, { - "id": "1699", + "id": "1724", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:718:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58332,7 +59054,7 @@ } }, { - "id": "1700", + "id": "1725", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:718:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58357,7 +59079,7 @@ } }, { - "id": "1701", + "id": "1726", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:761:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58372,7 +59094,7 @@ "56", "57", "58", - "468" + "469" ], "location": { "end": { @@ -58386,7 +59108,7 @@ } }, { - "id": "1702", + "id": "1727", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:761:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58401,7 +59123,7 @@ "56", "57", "58", - "468" + "469" ], "location": { "end": { @@ -58415,7 +59137,7 @@ } }, { - "id": "1703", + "id": "1728", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"1efbcad7cbafea3b707ecb25\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Delfina\", \"position\": 6051293837656064, \"role\": {\"current\": \"scapegoat\", \"isRevealed\": true, \"original\": \"three-brothers\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 0, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:742:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58430,7 +59152,7 @@ "56", "57", "58", - "468" + "469" ], "location": { "end": { @@ -58444,7 +59166,7 @@ } }, { - "id": "1704", + "id": "1729", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.BAN_VOTING && game.currentPlay.source !== ROLE_NAMES.SCAPEGOAT", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"9bd195f03dd242dabcd38fbf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Winnifred\", \"position\": 2342499834134528, \"role\": {\"current\": \"dog-wolf\", \"isRevealed\": false, \"original\": \"dog-wolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 0, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:742:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58459,7 +59181,7 @@ "56", "57", "58", - "468" + "469" ], "location": { "end": { @@ -58473,7 +59195,7 @@ } }, { - "id": "1705", + "id": "1730", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"14c7600f96fbaeca8d8bddd5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Abbey\", \"position\": 4276457320742912, \"role\": {\"current\": \"fox\", \"isRevealed\": true, \"original\": \"wild-child\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 0, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:742:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58488,7 +59210,7 @@ "56", "57", "58", - "468" + "469" ], "location": { "end": { @@ -58502,7 +59224,7 @@ } }, { - "id": "1706", + "id": "1731", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.BAN_VOTING", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:737: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:730: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -58517,7 +59239,7 @@ "56", "57", "58", - "468" + "469" ], "location": { "end": { @@ -58531,7 +59253,7 @@ } }, { - "id": "1707", + "id": "1732", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"5bfdbb914ad9a235d0dc4385\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Frances\", \"position\": 4749920508575744, \"role\": {\"current\": \"little-girl\", \"isRevealed\": false, \"original\": \"pied-piper\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}], {\"max\": 0, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:750:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58558,7 +59280,7 @@ } }, { - "id": "1708", + "id": "1733", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source === ROLE_NAMES.SCAPEGOAT", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"f9d3d4cece38ba6aaa0d4e3f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lavinia\", \"position\": 2996460096323584, \"role\": {\"current\": \"white-werewolf\", \"isRevealed\": true, \"original\": \"idiot\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 0, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:750:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58585,7 +59307,7 @@ } }, { - "id": "1709", + "id": "1734", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -58594,7 +59316,7 @@ "coveredBy": [ "55", "56", - "468" + "469" ], "location": { "end": { @@ -58608,7 +59330,7 @@ } }, { - "id": "1710", + "id": "1735", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(143,57): 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", @@ -58631,7 +59353,7 @@ } }, { - "id": "1711", + "id": "1736", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:773:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58657,7 +59379,7 @@ } }, { - "id": "1712", + "id": "1737", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:761:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58683,7 +59405,7 @@ } }, { - "id": "1713", + "id": "1738", "mutatorName": "MethodExpression", "replacement": "playTargets.every(({\n player\n}) => !player.isAlive)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:761:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58709,7 +59431,7 @@ } }, { - "id": "1714", + "id": "1739", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:761:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58735,7 +59457,7 @@ } }, { - "id": "1715", + "id": "1740", "mutatorName": "BooleanLiteral", "replacement": "player.isAlive", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:773:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58761,7 +59483,7 @@ } }, { - "id": "1716", + "id": "1741", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:761:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58786,7 +59508,7 @@ } }, { - "id": "1717", + "id": "1742", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:807:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58801,7 +59523,7 @@ "60", "61", "62", - "468" + "469" ], "location": { "end": { @@ -58815,7 +59537,7 @@ } }, { - "id": "1718", + "id": "1743", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -58826,7 +59548,7 @@ "60", "61", "62", - "468" + "469" ], "location": { "end": { @@ -58840,7 +59562,7 @@ } }, { - "id": "1719", + "id": "1744", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"b6afe65e57a52dad98662eae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Holly\", \"position\": 5254676880556032, \"role\": {\"current\": \"cupid\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}], {\"max\": 2, \"min\": 2}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:789:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58855,7 +59577,7 @@ "60", "61", "62", - "468" + "469" ], "location": { "end": { @@ -58869,7 +59591,7 @@ } }, { - "id": "1720", + "id": "1745", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.source !== ROLE_NAMES.CUPID && game.currentPlay.action !== GAME_PLAY_ACTIONS.CHARM", "status": "Timeout", @@ -58880,7 +59602,7 @@ "60", "61", "62", - "468" + "469" ], "location": { "end": { @@ -58894,7 +59616,7 @@ } }, { - "id": "1721", + "id": "1746", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:792: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:777: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -58909,7 +59631,7 @@ "60", "61", "62", - "468" + "469" ], "location": { "end": { @@ -58923,7 +59645,7 @@ } }, { - "id": "1722", + "id": "1747", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source === ROLE_NAMES.CUPID", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:792: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:777: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -58938,7 +59660,7 @@ "60", "61", "62", - "468" + "469" ], "location": { "end": { @@ -58952,7 +59674,7 @@ } }, { - "id": "1723", + "id": "1748", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"eb8941cf26c9c49dfb1fea8b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Carmel\", \"position\": 6660704429932544, \"role\": {\"current\": \"scapegoat\", \"isRevealed\": false, \"original\": \"stuttering-judge\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}], {\"max\": 2, \"min\": 2}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:789:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -58979,7 +59701,7 @@ } }, { - "id": "1724", + "id": "1749", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.CHARM", "status": "Timeout", @@ -59002,7 +59724,7 @@ } }, { - "id": "1725", + "id": "1750", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"cacac5ec32abbceacc077aab\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Carmelo\", \"position\": 812635018756096, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 2, \"min\": 2}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:789:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59015,7 +59737,7 @@ "coveredBy": [ "59", "60", - "468" + "469" ], "location": { "end": { @@ -59029,7 +59751,7 @@ } }, { - "id": "1726", + "id": "1751", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(153,57): 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", @@ -59052,7 +59774,7 @@ } }, { - "id": "1727", + "id": "1752", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:818:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59078,7 +59800,7 @@ } }, { - "id": "1728", + "id": "1753", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -59100,7 +59822,7 @@ } }, { - "id": "1729", + "id": "1754", "mutatorName": "MethodExpression", "replacement": "playTargets.every(({\n player\n}) => !player.isAlive)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:807:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59126,7 +59848,7 @@ } }, { - "id": "1730", + "id": "1755", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:807:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59152,7 +59874,7 @@ } }, { - "id": "1731", + "id": "1756", "mutatorName": "BooleanLiteral", "replacement": "player.isAlive", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:818:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59178,7 +59900,7 @@ } }, { - "id": "1732", + "id": "1757", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:807:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59203,7 +59925,7 @@ } }, { - "id": "1733", + "id": "1758", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:849:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59218,7 +59940,7 @@ "64", "65", "66", - "468" + "469" ], "location": { "end": { @@ -59232,7 +59954,7 @@ } }, { - "id": "1734", + "id": "1759", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -59243,7 +59965,7 @@ "64", "65", "66", - "468" + "469" ], "location": { "end": { @@ -59257,7 +59979,7 @@ } }, { - "id": "1735", + "id": "1760", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"321cd6b1ae159cebfc57ede2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dolly\", \"position\": 3021795191947264, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:834:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59272,7 +59994,7 @@ "64", "65", "66", - "468" + "469" ], "location": { "end": { @@ -59286,7 +60008,7 @@ } }, { - "id": "1736", + "id": "1761", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.source !== ROLE_NAMES.FOX && game.currentPlay.action !== GAME_PLAY_ACTIONS.SNIFF", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"fe91509baabbe8feec29eaa9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jeffrey\", \"position\": 1870291907117056, \"role\": {\"current\": \"raven\", \"isRevealed\": true, \"original\": \"pied-piper\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:834:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59301,7 +60023,7 @@ "64", "65", "66", - "468" + "469" ], "location": { "end": { @@ -59315,7 +60037,7 @@ } }, { - "id": "1737", + "id": "1762", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:837: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:822: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -59330,7 +60052,7 @@ "64", "65", "66", - "468" + "469" ], "location": { "end": { @@ -59344,7 +60066,7 @@ } }, { - "id": "1738", + "id": "1763", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source === ROLE_NAMES.FOX", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:837: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:822: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -59359,7 +60081,7 @@ "64", "65", "66", - "468" + "469" ], "location": { "end": { @@ -59373,7 +60095,7 @@ } }, { - "id": "1739", + "id": "1764", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"a4bef7e58adea21bf0a4f3f7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Sam\", \"position\": 880760806440960, \"role\": {\"current\": \"dog-wolf\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:834:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59400,7 +60122,7 @@ } }, { - "id": "1740", + "id": "1765", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.SNIFF", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:829: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:822: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -59427,7 +60149,7 @@ } }, { - "id": "1741", + "id": "1766", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:829: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:822: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -59440,7 +60162,7 @@ "coveredBy": [ "63", "64", - "468" + "469" ], "location": { "end": { @@ -59454,7 +60176,7 @@ } }, { - "id": "1742", + "id": "1767", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(163,57): 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", @@ -59477,7 +60199,7 @@ } }, { - "id": "1743", + "id": "1768", "mutatorName": "BooleanLiteral", "replacement": "targetedPlayer.isAlive", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:849:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59503,7 +60225,7 @@ } }, { - "id": "1744", + "id": "1769", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:857:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59529,7 +60251,7 @@ } }, { - "id": "1745", + "id": "1770", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:849:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59555,7 +60277,7 @@ } }, { - "id": "1746", + "id": "1771", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -59576,7 +60298,7 @@ } }, { - "id": "1747", + "id": "1772", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:888:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59592,7 +60314,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59606,7 +60328,7 @@ } }, { - "id": "1748", + "id": "1773", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:888:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59622,7 +60344,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59636,7 +60358,7 @@ } }, { - "id": "1749", + "id": "1774", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:868: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:861: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", @@ -59652,7 +60374,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59666,7 +60388,7 @@ } }, { - "id": "1750", + "id": "1775", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.source !== ROLE_NAMES.SEER && game.currentPlay.action !== GAME_PLAY_ACTIONS.LOOK", "status": "Timeout", @@ -59678,7 +60400,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59692,7 +60414,7 @@ } }, { - "id": "1751", + "id": "1776", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"fee3173dfaf51e0b6be71fea\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marianna\", \"position\": 7812974255276032, \"role\": {\"current\": \"werewolf\", \"isRevealed\": true, \"original\": \"three-brothers\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:881:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59708,7 +60430,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59722,7 +60444,7 @@ } }, { - "id": "1752", + "id": "1777", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source === ROLE_NAMES.SEER", "status": "Timeout", @@ -59734,7 +60456,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59748,7 +60470,7 @@ } }, { - "id": "1753", + "id": "1778", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"3ee2c7aafa39c8e635a2a9d6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Nikita\", \"position\": 288266783817728, \"role\": {\"current\": \"angel\", \"isRevealed\": true, \"original\": \"three-brothers\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:873:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59763,7 +60485,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59777,7 +60499,7 @@ } }, { - "id": "1754", + "id": "1779", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.LOOK", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"b5a8735df2bdce1d2ef4f2a3\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kirsten\", \"position\": 6796294582435840, \"role\": {\"current\": \"stuttering-judge\", \"isRevealed\": true, \"original\": \"three-brothers\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:873:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59792,7 +60514,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59806,7 +60528,7 @@ } }, { - "id": "1755", + "id": "1780", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"f0be30c99f2e613218e68b53\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Virginia\", \"position\": 9006160558424064, \"role\": {\"current\": \"vile-father-of-wolves\", \"isRevealed\": false, \"original\": \"witch\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:873:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59832,7 +60554,7 @@ } }, { - "id": "1756", + "id": "1781", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(174,57): 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", @@ -59843,7 +60565,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59857,7 +60579,7 @@ } }, { - "id": "1757", + "id": "1782", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:906:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59871,7 +60593,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59885,7 +60607,7 @@ } }, { - "id": "1758", + "id": "1783", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:888:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59899,7 +60621,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59913,7 +60635,7 @@ } }, { - "id": "1759", + "id": "1784", "mutatorName": "LogicalOperator", "replacement": "!targetedPlayer.isAlive && targetedPlayer._id === seerPlayer?._id", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:888:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59927,7 +60649,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59941,7 +60663,7 @@ } }, { - "id": "1760", + "id": "1785", "mutatorName": "BooleanLiteral", "replacement": "targetedPlayer.isAlive", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:888:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59955,7 +60677,7 @@ "69", "70", "71", - "468" + "469" ], "location": { "end": { @@ -59969,7 +60691,7 @@ } }, { - "id": "1761", + "id": "1786", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:898:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59982,7 +60704,7 @@ "coveredBy": [ "70", "71", - "468" + "469" ], "location": { "end": { @@ -59996,7 +60718,7 @@ } }, { - "id": "1762", + "id": "1787", "mutatorName": "EqualityOperator", "replacement": "targetedPlayer._id !== seerPlayer?._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/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:721:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -60004,12 +60726,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "468" + "469" ], "coveredBy": [ "70", "71", - "468" + "469" ], "location": { "end": { @@ -60023,7 +60745,7 @@ } }, { - "id": "1763", + "id": "1788", "mutatorName": "OptionalChaining", "replacement": "seerPlayer._id", "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(177,59): error TS18048: 'seerPlayer' is possibly 'undefined'.\n", @@ -60033,7 +60755,7 @@ "coveredBy": [ "70", "71", - "468" + "469" ], "location": { "end": { @@ -60047,7 +60769,7 @@ } }, { - "id": "1764", + "id": "1789", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:888:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60073,7 +60795,7 @@ } }, { - "id": "1765", + "id": "1790", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -60085,7 +60807,7 @@ "74", "75", "76", - "468" + "469" ], "location": { "end": { @@ -60099,7 +60821,7 @@ } }, { - "id": "1766", + "id": "1791", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:937:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60115,5423 +60837,6144 @@ "74", "75", "76", - "468" + "469" + ], + "location": { + "end": { + "column": 107, + "line": 183 + }, + "start": { + "column": 9, + "line": 183 + } + } + }, + { + "id": "1792", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"b131ecec84b1cb66df346fce\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Mack\", \"position\": 5874246154715136, \"role\": {\"current\": \"bear-tamer\", \"isRevealed\": true, \"original\": \"three-brothers\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:922:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "72" + ], + "coveredBy": [ + "72", + "73", + "74", + "75", + "76", + "469" + ], + "location": { + "end": { + "column": 107, + "line": 183 + }, + "start": { + "column": 9, + "line": 183 + } + } + }, + { + "id": "1793", + "mutatorName": "LogicalOperator", + "replacement": "game.currentPlay.source !== ROLE_NAMES.RAVEN && game.currentPlay.action !== GAME_PLAY_ACTIONS.MARK", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:917: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:910: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", + "testsCompleted": 6, + "static": false, + "killedBy": [ + "72" + ], + "coveredBy": [ + "72", + "73", + "74", + "75", + "76", + "469" + ], + "location": { + "end": { + "column": 107, + "line": 183 + }, + "start": { + "column": 9, + "line": 183 + } + } + }, + { + "id": "1794", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:925: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:910: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", + "testsCompleted": 6, + "static": false, + "killedBy": [ + "73" + ], + "coveredBy": [ + "72", + "73", + "74", + "75", + "76", + "469" + ], + "location": { + "end": { + "column": 53, + "line": 183 + }, + "start": { + "column": 9, + "line": 183 + } + } + }, + { + "id": "1795", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.source === ROLE_NAMES.RAVEN", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"c1f2da9ae1effefe5bcfb86f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Newell\", \"position\": 2979434470572032, \"role\": {\"current\": \"thief\", \"isRevealed\": true, \"original\": \"three-brothers\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:930:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "73" + ], + "coveredBy": [ + "72", + "73", + "74", + "75", + "76", + "469" + ], + "location": { + "end": { + "column": 53, + "line": 183 + }, + "start": { + "column": 9, + "line": 183 + } + } + }, + { + "id": "1796", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"20ffaf39ef16c86d597cfb31\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Archibald\", \"position\": 8857725876305920, \"role\": {\"current\": \"raven\", \"isRevealed\": true, \"original\": \"pied-piper\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:922:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "72" + ], + "coveredBy": [ + "72", + "74", + "75", + "76" + ], + "location": { + "end": { + "column": 107, + "line": 183 + }, + "start": { + "column": 57, + "line": 183 + } + } + }, + { + "id": "1797", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.MARK", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"aca7a080d8f5f3e3195194ca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brandon\", \"position\": 1931525905973248, \"role\": {\"current\": \"idiot\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:922:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "72" + ], + "coveredBy": [ + "72", + "74", + "75", + "76" + ], + "location": { + "end": { + "column": 107, + "line": 183 + }, + "start": { + "column": 57, + "line": 183 + } + } + }, + { + "id": "1798", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:917: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:910: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", + "testsCompleted": 3, + "static": false, + "killedBy": [ + "72" + ], + "coveredBy": [ + "72", + "73", + "469" + ], + "location": { + "end": { + "column": 6, + "line": 185 + }, + "start": { + "column": 109, + "line": 183 + } + } + }, + { + "id": "1799", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(186,57): 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", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "74", + "75", + "76" + ], + "location": { + "end": { + "column": 75, + "line": 186 + }, + "start": { + "column": 57, + "line": 186 + } + } + }, + { + "id": "1800", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:945:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "75" + ], + "coveredBy": [ + "74", + "75", + "76" + ], + "location": { + "end": { + "column": 61, + "line": 187 + }, + "start": { + "column": 9, + "line": 187 + } + } + }, + { + "id": "1801", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "74", + "75", + "76" + ], + "location": { + "end": { + "column": 61, + "line": 187 + }, + "start": { + "column": 9, + "line": 187 + } + } + }, + { + "id": "1802", + "mutatorName": "LogicalOperator", + "replacement": "playTargets.length || !playTargets[0].player.isAlive", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "74", + "75", + "76" + ], + "location": { + "end": { + "column": 61, + "line": 187 + }, + "start": { + "column": 9, + "line": 187 + } + } + }, + { + "id": "1803", + "mutatorName": "BooleanLiteral", + "replacement": "playTargets[0].player.isAlive", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:937:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "74" + ], + "coveredBy": [ + "74", + "76" + ], + "location": { + "end": { + "column": 61, + "line": 187 + }, + "start": { + "column": 31, + "line": 187 + } + } + }, + { + "id": "1804", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "74" + ], + "location": { + "end": { + "column": 6, + "line": 189 + }, + "start": { + "column": 63, + "line": 187 + } + } + }, + { + "id": "1805", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:983:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "79" + ], + "coveredBy": [ + "77", + "78", + "79", + "80", + "81", + "469" + ], + "location": { + "end": { + "column": 4, + "line": 202 + }, + "start": { + "column": 113, + "line": 192 + } + } + }, + { + "id": "1806", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:983:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "79" + ], + "coveredBy": [ + "77", + "78", + "79", + "80", + "81", + "469" ], "location": { "end": { - "column": 107, - "line": 183 + "column": 120, + "line": 193 }, "start": { "column": 9, - "line": 183 + "line": 193 } } }, { - "id": "1767", + "id": "1807", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"b131ecec84b1cb66df346fce\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Mack\", \"position\": 5874246154715136, \"role\": {\"current\": \"bear-tamer\", \"isRevealed\": true, \"original\": \"three-brothers\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:922:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"28dc7f4fab5ad1f60cf98c48\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jovany\", \"position\": 3796410919026688, \"role\": {\"current\": \"villager-villager\", \"isRevealed\": true, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:968:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "72" + "77" ], "coveredBy": [ - "72", - "73", - "74", - "75", - "76", - "468" + "77", + "78", + "79", + "80", + "81", + "469" ], "location": { "end": { - "column": 107, - "line": 183 + "column": 120, + "line": 193 }, "start": { "column": 9, - "line": 183 + "line": 193 } } }, { - "id": "1768", + "id": "1808", "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.source !== ROLE_NAMES.RAVEN && game.currentPlay.action !== GAME_PLAY_ACTIONS.MARK", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:917: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:910: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "replacement": "game.currentPlay.source !== ROLE_NAMES.WILD_CHILD && game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_MODEL", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:963: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:956: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", "testsCompleted": 6, "static": false, "killedBy": [ - "72" + "77" ], "coveredBy": [ - "72", - "73", - "74", - "75", - "76", - "468" + "77", + "78", + "79", + "80", + "81", + "469" ], "location": { "end": { - "column": 107, - "line": 183 + "column": 120, + "line": 193 }, "start": { "column": 9, - "line": 183 + "line": 193 } } }, { - "id": "1769", + "id": "1809", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:925: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:910: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"dde951abbf2d512f5487cc23\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Keyshawn\", \"position\": 3967407626387456, \"role\": {\"current\": \"pied-piper\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:976:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "73" + "78" ], "coveredBy": [ - "72", - "73", - "74", - "75", - "76", - "468" + "77", + "78", + "79", + "80", + "81", + "469" ], "location": { "end": { - "column": 53, - "line": 183 + "column": 58, + "line": 193 }, "start": { "column": 9, - "line": 183 + "line": 193 } } }, { - "id": "1770", + "id": "1810", "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.source === ROLE_NAMES.RAVEN", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"c1f2da9ae1effefe5bcfb86f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Newell\", \"position\": 2979434470572032, \"role\": {\"current\": \"thief\", \"isRevealed\": true, \"original\": \"three-brothers\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:930:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "game.currentPlay.source === ROLE_NAMES.WILD_CHILD", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"f5e2fbc2c7ca778fb704b2ea\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Antonette\", \"position\": 4637577411821568, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"dog-wolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:976:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "73" + "78" ], "coveredBy": [ - "72", - "73", - "74", - "75", - "76", - "468" + "77", + "78", + "79", + "80", + "81", + "469" ], "location": { "end": { - "column": 53, - "line": 183 + "column": 58, + "line": 193 }, "start": { "column": 9, - "line": 183 + "line": 193 } } }, { - "id": "1771", + "id": "1811", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"20ffaf39ef16c86d597cfb31\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Archibald\", \"position\": 8857725876305920, \"role\": {\"current\": \"raven\", \"isRevealed\": true, \"original\": \"pied-piper\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:922:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"bc9fa80e342dc57aa59bd8dd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brooklyn\", \"position\": 4988450319106048, \"role\": {\"current\": \"raven\", \"isRevealed\": true, \"original\": \"vile-father-of-wolves\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:968:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "72" + "77" ], "coveredBy": [ - "72", - "74", - "75", - "76" + "77", + "79", + "80", + "81" ], "location": { "end": { - "column": 107, - "line": 183 + "column": 120, + "line": 193 }, "start": { - "column": 57, - "line": 183 + "column": 62, + "line": 193 } } }, { - "id": "1772", + "id": "1812", "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.MARK", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"aca7a080d8f5f3e3195194ca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brandon\", \"position\": 1931525905973248, \"role\": {\"current\": \"idiot\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 0}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:922:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_MODEL", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:963: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:956: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", "testsCompleted": 4, "static": false, "killedBy": [ - "72" + "77" ], "coveredBy": [ - "72", - "74", - "75", - "76" + "77", + "79", + "80", + "81" ], "location": { "end": { - "column": 107, - "line": 183 + "column": 120, + "line": 193 }, "start": { - "column": 57, - "line": 183 + "column": 62, + "line": 193 } } }, { - "id": "1773", + "id": "1813", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:917: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:910: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"e7b1e198f84ef31acb9df577\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brayan\", \"position\": 3432888429182976, \"role\": {\"current\": \"guard\", \"isRevealed\": true, \"original\": \"thief\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:968:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "72" + "77" ], "coveredBy": [ - "72", - "73", - "468" + "77", + "78", + "469" ], "location": { "end": { "column": 6, - "line": 185 + "line": 195 }, "start": { - "column": 109, - "line": 183 + "column": 122, + "line": 193 } } }, { - "id": "1774", + "id": "1814", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(186,57): 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", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(196,57): 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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "74", - "75", - "76" + "79", + "80", + "81" ], "location": { "end": { "column": 75, - "line": 186 + "line": 196 }, "start": { "column": 57, - "line": 186 + "line": 196 } } }, { - "id": "1775", + "id": "1815", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:945:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1001:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "75" + "81" ], "coveredBy": [ - "74", - "75", - "76" + "79", + "80", + "81" ], "location": { "end": { - "column": 61, - "line": 187 + "column": 79, + "line": 199 }, "start": { "column": 9, - "line": 187 + "line": 199 } } }, { - "id": "1776", + "id": "1816", "mutatorName": "ConditionalExpression", "replacement": "false", - "status": "Timeout", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:983:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "79" + ], "coveredBy": [ - "74", - "75", - "76" + "79", + "80", + "81" ], "location": { "end": { - "column": 61, - "line": 187 + "column": 79, + "line": 199 }, "start": { "column": 9, - "line": 187 + "line": 199 } } }, { - "id": "1777", + "id": "1817", "mutatorName": "LogicalOperator", - "replacement": "playTargets.length || !playTargets[0].player.isAlive", + "replacement": "!targetedPlayer.isAlive && targetedPlayer._id === wildChildPlayer?._id", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:983:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "79" + ], + "coveredBy": [ + "79", + "80", + "81" + ], + "location": { + "end": { + "column": 79, + "line": 199 + }, + "start": { + "column": 9, + "line": 199 + } + } + }, + { + "id": "1818", + "mutatorName": "BooleanLiteral", + "replacement": "targetedPlayer.isAlive", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "74", - "75", - "76" + "79", + "80", + "81" ], "location": { "end": { - "column": 61, - "line": 187 + "column": 32, + "line": 199 }, "start": { "column": 9, - "line": 187 + "line": 199 } } }, { - "id": "1778", - "mutatorName": "BooleanLiteral", - "replacement": "playTargets[0].player.isAlive", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:937:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1819", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "80", + "81" + ], + "location": { + "end": { + "column": 79, + "line": 199 + }, + "start": { + "column": 36, + "line": 199 + } + } + }, + { + "id": "1820", + "mutatorName": "EqualityOperator", + "replacement": "targetedPlayer._id !== wildChildPlayer?._id", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:993:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "74" + "80" ], "coveredBy": [ - "74", - "76" + "80", + "81" ], "location": { "end": { - "column": 61, - "line": 187 + "column": 79, + "line": 199 }, "start": { - "column": 31, - "line": 187 + "column": 36, + "line": 199 } } }, { - "id": "1779", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1821", + "mutatorName": "OptionalChaining", + "replacement": "wildChildPlayer._id", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(199,59): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "74" + "80", + "81" ], "location": { "end": { - "column": 6, - "line": 189 + "column": 79, + "line": 199 }, "start": { - "column": 63, - "line": 187 + "column": 59, + "line": 199 } } }, { - "id": "1780", + "id": "1822", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:983:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ "79" ], "coveredBy": [ - "77", - "78", "79", - "80", - "81", - "468" + "80" + ], + "location": { + "end": { + "column": 6, + "line": 201 + }, + "start": { + "column": 81, + "line": 199 + } + } + }, + { + "id": "1823", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "82", + "83", + "84", + "85", + "86", + "469" ], "location": { "end": { "column": 4, - "line": 202 + "line": 216 }, "start": { "column": 113, - "line": 192 + "line": 204 } } }, { - "id": "1781", + "id": "1824", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:983:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1043:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "79" + "84" ], "coveredBy": [ - "77", - "78", - "79", - "80", - "81", - "468" + "82", + "83", + "84", + "85", + "86", + "469" ], "location": { "end": { - "column": 120, - "line": 193 + "column": 113, + "line": 205 }, "start": { "column": 9, - "line": 193 + "line": 205 } } }, { - "id": "1782", + "id": "1825", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"28dc7f4fab5ad1f60cf98c48\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jovany\", \"position\": 3796410919026688, \"role\": {\"current\": \"villager-villager\", \"isRevealed\": true, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:968:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1012: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", "testsCompleted": 6, "static": false, "killedBy": [ - "77" + "82" ], "coveredBy": [ - "77", - "78", - "79", - "80", - "81", - "468" + "82", + "83", + "84", + "85", + "86", + "469" ], "location": { "end": { - "column": 120, - "line": 193 + "column": 113, + "line": 205 }, "start": { "column": 9, - "line": 193 + "line": 205 } } }, { - "id": "1783", + "id": "1826", "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.source !== ROLE_NAMES.WILD_CHILD && game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_MODEL", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:963: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:956: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", - "testsCompleted": 6, + "replacement": "game.currentPlay.source !== ROLE_NAMES.PIED_PIPER && game.currentPlay.action !== GAME_PLAY_ACTIONS.CHARM", + "status": "Timeout", "static": false, - "killedBy": [ - "77" - ], + "killedBy": [], "coveredBy": [ - "77", - "78", - "79", - "80", - "81", - "468" + "82", + "83", + "84", + "85", + "86", + "469" ], "location": { "end": { - "column": 120, - "line": 193 + "column": 113, + "line": 205 }, "start": { "column": 9, - "line": 193 + "line": 205 } } }, { - "id": "1784", + "id": "1827", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"dde951abbf2d512f5487cc23\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Keyshawn\", \"position\": 3967407626387456, \"role\": {\"current\": \"pied-piper\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:976:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1020: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", "testsCompleted": 6, "static": false, "killedBy": [ - "78" + "83" ], "coveredBy": [ - "77", - "78", - "79", - "80", - "81", - "468" + "82", + "83", + "84", + "85", + "86", + "469" ], "location": { "end": { "column": 58, - "line": 193 + "line": 205 }, "start": { "column": 9, - "line": 193 + "line": 205 } } }, { - "id": "1785", + "id": "1828", "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.source === ROLE_NAMES.WILD_CHILD", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"f5e2fbc2c7ca778fb704b2ea\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Antonette\", \"position\": 4637577411821568, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"dog-wolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:976:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "game.currentPlay.source === ROLE_NAMES.PIED_PIPER", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1020: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", "testsCompleted": 6, "static": false, "killedBy": [ - "78" + "83" ], "coveredBy": [ - "77", - "78", - "79", - "80", - "81", - "468" + "82", + "83", + "84", + "85", + "86", + "469" ], "location": { "end": { "column": 58, - "line": 193 + "line": 205 }, "start": { "column": 9, - "line": 193 + "line": 205 + } + } + }, + { + "id": "1829", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1012: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", + "testsCompleted": 4, + "static": false, + "killedBy": [ + "82" + ], + "coveredBy": [ + "82", + "84", + "85", + "86" + ], + "location": { + "end": { + "column": 113, + "line": 205 + }, + "start": { + "column": 62, + "line": 205 } } }, { - "id": "1786", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"bc9fa80e342dc57aa59bd8dd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brooklyn\", \"position\": 4988450319106048, \"role\": {\"current\": \"raven\", \"isRevealed\": true, \"original\": \"vile-father-of-wolves\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:968:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1830", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.CHARM", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1012: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", "testsCompleted": 4, "static": false, "killedBy": [ - "77" + "82" ], "coveredBy": [ - "77", - "79", - "80", - "81" + "82", + "84", + "85", + "86" ], "location": { "end": { - "column": 120, - "line": 193 + "column": 113, + "line": 205 }, "start": { "column": 62, - "line": 193 + "line": 205 } } }, { - "id": "1787", - "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_MODEL", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:963: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:956: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "id": "1831", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1012: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", - "testsCompleted": 4, + "testsCompleted": 3, "static": false, "killedBy": [ - "77" + "82" ], "coveredBy": [ - "77", - "79", - "80", - "81" + "82", + "83", + "469" ], "location": { "end": { - "column": 120, - "line": 193 + "column": 6, + "line": 207 }, "start": { - "column": 62, - "line": 193 + "column": 115, + "line": 205 } } }, { - "id": "1788", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"e7b1e198f84ef31acb9df577\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brayan\", \"position\": 3432888429182976, \"role\": {\"current\": \"guard\", \"isRevealed\": true, \"original\": \"thief\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:968:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1832", + "mutatorName": "MethodExpression", + "replacement": "Math.max(charmedPeopleCountPerNight, leftToCharmByPiedPiperPlayersCount)", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[{\"player\": {\"_id\": \"5f2babfd493c7b8ebecbda1d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jarret\", \"position\": 3905289147383808, \"role\": {\"current\": \"wild-child\", \"isRevealed\": false, \"original\": \"wild-child\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}, {\"player\": {\"_id\": \"d8dbcecfede58c6a66eb9cea\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ladarius\", \"position\": 6371851666194432, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"max\": 2, \"min\": 2}], but it was called with [{\"player\": {\"_id\": \"5f2babfd493c7b8ebecbda1d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jarret\", \"position\": 3905289147383808, \"role\": {\"current\": \"wild-child\", \"isRevealed\": false, \"original\": \"wild-child\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}, {\"player\": {\"_id\": \"d8dbcecfede58c6a66eb9cea\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ladarius\", \"position\": 6371851666194432, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1062:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "77" + "85" ], "coveredBy": [ - "77", - "78", - "468" + "84", + "85", + "86" ], "location": { "end": { - "column": 6, - "line": 195 + "column": 98, + "line": 211 }, "start": { - "column": 122, - "line": 193 + "column": 26, + "line": 211 } } }, { - "id": "1789", + "id": "1833", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(196,57): 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", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(212,57): 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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "79", - "80", - "81" + "84", + "85", + "86" ], "location": { "end": { - "column": 75, - "line": 196 + "column": 97, + "line": 212 }, "start": { "column": 57, - "line": 196 + "line": 212 } } }, { - "id": "1790", + "id": "1834", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1001:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1061:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "81" + "85" ], "coveredBy": [ - "79", - "80", - "81" + "84", + "85", + "86" ], "location": { "end": { - "column": 79, - "line": 199 + "column": 111, + "line": 213 }, "start": { "column": 9, - "line": 199 + "line": 213 } } }, { - "id": "1791", + "id": "1835", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:983:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "79" + "killedBy": [], + "coveredBy": [ + "84", + "85", + "86" ], + "location": { + "end": { + "column": 111, + "line": 213 + }, + "start": { + "column": 9, + "line": 213 + } + } + }, + { + "id": "1836", + "mutatorName": "MethodExpression", + "replacement": "playTargets.every(({\n player\n}) => !leftToCharmByPiedPiperPlayers.find(({\n _id\n}) => player._id === _id))", + "status": "Timeout", + "static": false, + "killedBy": [], "coveredBy": [ - "79", - "80", - "81" + "84", + "85", + "86" ], "location": { "end": { - "column": 79, - "line": 199 + "column": 111, + "line": 213 }, "start": { "column": 9, - "line": 199 + "line": 213 } } }, { - "id": "1792", - "mutatorName": "LogicalOperator", - "replacement": "!targetedPlayer.isAlive && targetedPlayer._id === wildChildPlayer?._id", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:983:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1837", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "84", + "85", + "86" + ], + "location": { + "end": { + "column": 110, + "line": 213 + }, + "start": { + "column": 26, + "line": 213 + } + } + }, + { + "id": "1838", + "mutatorName": "BooleanLiteral", + "replacement": "leftToCharmByPiedPiperPlayers.find(({\n _id\n}) => player._id === _id)", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1061:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "79" + "85" ], "coveredBy": [ - "79", - "80", - "81" + "84", + "85", + "86" ], "location": { "end": { - "column": 79, - "line": 199 + "column": 110, + "line": 213 }, "start": { - "column": 9, - "line": 199 + "column": 42, + "line": 213 } } }, { - "id": "1793", - "mutatorName": "BooleanLiteral", - "replacement": "targetedPlayer.isAlive", + "id": "1839", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "79", - "80", - "81" + "84", + "85", + "86" ], "location": { "end": { - "column": 32, - "line": 199 + "column": 109, + "line": 213 }, "start": { - "column": 9, - "line": 199 + "column": 78, + "line": 213 } } }, { - "id": "1794", + "id": "1840", "mutatorName": "ConditionalExpression", - "replacement": "false", + "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "80", - "81" + "84", + "85", + "86" ], "location": { "end": { - "column": 79, - "line": 199 + "column": 109, + "line": 213 }, "start": { - "column": 36, - "line": 199 + "column": 91, + "line": 213 } } }, { - "id": "1795", - "mutatorName": "EqualityOperator", - "replacement": "targetedPlayer._id !== wildChildPlayer?._id", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:993:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1841", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1061:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "80" + "85" ], "coveredBy": [ - "80", - "81" + "84", + "85", + "86" ], "location": { "end": { - "column": 79, - "line": 199 + "column": 109, + "line": 213 }, "start": { - "column": 36, - "line": 199 + "column": 91, + "line": 213 } } }, { - "id": "1796", - "mutatorName": "OptionalChaining", - "replacement": "wildChildPlayer._id", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(199,59): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1842", + "mutatorName": "EqualityOperator", + "replacement": "player._id !== _id", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1043:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "84" + ], "coveredBy": [ - "80", - "81" + "84", + "85", + "86" ], "location": { "end": { - "column": 79, - "line": 199 + "column": 109, + "line": 213 }, "start": { - "column": 59, - "line": 199 + "column": 91, + "line": 213 } } }, { - "id": "1797", + "id": "1843", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:983:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1043:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 1, "static": false, "killedBy": [ - "79" + "84" ], "coveredBy": [ - "79", - "80" + "84" ], "location": { "end": { "column": 6, - "line": 201 + "line": 215 }, "start": { - "column": 81, - "line": 199 + "column": 113, + "line": 213 } } }, { - "id": "1798", + "id": "1844", "mutatorName": "BlockStatement", "replacement": "{}", - "status": "Timeout", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1105:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "89" + ], "coveredBy": [ - "82", - "83", - "84", - "85", - "86", - "468" + "87", + "88", + "89", + "90", + "91", + "92", + "469" ], "location": { "end": { "column": 4, - "line": 216 + "line": 230 }, "start": { - "column": 113, - "line": 204 + "column": 124, + "line": 218 } } }, { - "id": "1799", + "id": "1845", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1043:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1105:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 7, "static": false, "killedBy": [ - "84" + "89" ], "coveredBy": [ - "82", - "83", - "84", - "85", - "86", - "468" + "87", + "88", + "89", + "90", + "91", + "92", + "469" ], "location": { "end": { - "column": 113, - "line": 205 + "column": 110, + "line": 219 }, "start": { "column": 9, - "line": 205 + "line": 219 } } }, { - "id": "1800", + "id": "1846", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1012: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"3034a96a0f6c8b7f1ca2e3b4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Olen\", \"position\": 6311237107318784, \"role\": {\"current\": \"stuttering-judge\", \"isRevealed\": true, \"original\": \"scapegoat\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1089:57)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 7, "static": false, "killedBy": [ - "82" + "87" ], "coveredBy": [ - "82", - "83", - "84", - "85", - "86", - "468" + "87", + "88", + "89", + "90", + "91", + "92", + "469" ], "location": { "end": { - "column": 113, - "line": 205 + "column": 110, + "line": 219 }, "start": { "column": 9, - "line": 205 + "line": 219 } } }, { - "id": "1801", + "id": "1847", "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.source !== ROLE_NAMES.PIED_PIPER && game.currentPlay.action !== GAME_PLAY_ACTIONS.CHARM", - "status": "Timeout", + "replacement": "game.currentPlay.source !== ROLE_NAMES.GUARD && game.currentPlay.action !== GAME_PLAY_ACTIONS.PROTECT", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1084: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1077: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", + "testsCompleted": 7, "static": false, - "killedBy": [], + "killedBy": [ + "87" + ], "coveredBy": [ - "82", - "83", - "84", - "85", - "86", - "468" + "87", + "88", + "89", + "90", + "91", + "92", + "469" ], "location": { "end": { - "column": 113, - "line": 205 + "column": 110, + "line": 219 }, "start": { "column": 9, - "line": 205 + "line": 219 } } }, { - "id": "1802", + "id": "1848", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1020: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1092: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1077: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", - "testsCompleted": 6, + "testsCompleted": 7, "static": false, "killedBy": [ - "83" + "88" ], "coveredBy": [ - "82", - "83", - "84", - "85", - "86", - "468" + "87", + "88", + "89", + "90", + "91", + "92", + "469" ], "location": { "end": { - "column": 58, - "line": 205 + "column": 53, + "line": 219 }, "start": { "column": 9, - "line": 205 + "line": 219 } } }, { - "id": "1803", + "id": "1849", "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.source === ROLE_NAMES.PIED_PIPER", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1020: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "replacement": "game.currentPlay.source === ROLE_NAMES.GUARD", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1092: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1077: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", - "testsCompleted": 6, + "testsCompleted": 7, "static": false, "killedBy": [ - "83" + "88" ], "coveredBy": [ - "82", - "83", - "84", - "85", - "86", - "468" + "87", + "88", + "89", + "90", + "91", + "92", + "469" ], "location": { "end": { - "column": 58, - "line": 205 + "column": 53, + "line": 219 }, "start": { "column": 9, - "line": 205 + "line": 219 } } }, { - "id": "1804", + "id": "1850", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1012: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1084: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1077: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", - "testsCompleted": 4, + "testsCompleted": 5, "static": false, "killedBy": [ - "82" + "87" ], "coveredBy": [ - "82", - "84", - "85", - "86" + "87", + "89", + "90", + "91", + "92" + ], + "location": { + "end": { + "column": 110, + "line": 219 + }, + "start": { + "column": 57, + "line": 219 + } + } + }, + { + "id": "1851", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.PROTECT", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1084: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1077: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", + "testsCompleted": 5, + "static": false, + "killedBy": [ + "87" + ], + "coveredBy": [ + "87", + "89", + "90", + "91", + "92" ], "location": { "end": { - "column": 113, - "line": 205 + "column": 110, + "line": 219 }, "start": { - "column": 62, - "line": 205 + "column": 57, + "line": 219 } } }, { - "id": "1805", - "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.CHARM", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1012: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", - "testsCompleted": 4, + "id": "1852", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, - "killedBy": [ - "82" - ], + "killedBy": [], "coveredBy": [ - "82", - "84", - "85", - "86" + "87", + "88", + "469" ], "location": { "end": { - "column": 113, - "line": 205 + "column": 6, + "line": 221 }, "start": { - "column": 62, - "line": 205 + "column": 112, + "line": 219 } } }, { - "id": "1806", - "mutatorName": "BlockStatement", + "id": "1853", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1012: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1005: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", - "testsCompleted": 3, + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(223,57): 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", + "status": "CompileError", "static": false, - "killedBy": [ - "82" - ], + "killedBy": [], "coveredBy": [ - "82", - "83", - "468" + "89", + "90", + "91", + "92" ], "location": { "end": { - "column": 6, - "line": 207 + "column": 75, + "line": 223 }, "start": { - "column": 115, - "line": 205 + "column": 57, + "line": 223 } } }, { - "id": "1807", - "mutatorName": "MethodExpression", - "replacement": "Math.max(charmedPeopleCountPerNight, leftToCharmByPiedPiperPlayersCount)", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[{\"player\": {\"_id\": \"5f2babfd493c7b8ebecbda1d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jarret\", \"position\": 3905289147383808, \"role\": {\"current\": \"wild-child\", \"isRevealed\": false, \"original\": \"wild-child\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}, {\"player\": {\"_id\": \"d8dbcecfede58c6a66eb9cea\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ladarius\", \"position\": 6371851666194432, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"max\": 2, \"min\": 2}], but it was called with [{\"player\": {\"_id\": \"5f2babfd493c7b8ebecbda1d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jarret\", \"position\": 3905289147383808, \"role\": {\"current\": \"wild-child\", \"isRevealed\": false, \"original\": \"wild-child\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}, {\"player\": {\"_id\": \"d8dbcecfede58c6a66eb9cea\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ladarius\", \"position\": 6371851666194432, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1062:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1854", + "mutatorName": "OptionalChaining", + "replacement": "lastGuardHistoryRecord?.play.targets[0]", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(225,33): error TS18048: 'lastGuardHistoryRecord.play.targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "85" - ], + "killedBy": [], "coveredBy": [ - "84", - "85", - "86" + "89", + "90", + "91", + "92" ], "location": { "end": { - "column": 98, - "line": 211 + "column": 74, + "line": 225 }, "start": { - "column": 26, - "line": 211 + "column": 33, + "line": 225 } } }, { - "id": "1808", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(212,57): 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", + "id": "1855", + "mutatorName": "OptionalChaining", + "replacement": "lastGuardHistoryRecord.play", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(225,33): error TS18047: 'lastGuardHistoryRecord' is possibly 'null'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "84", - "85", - "86" + "89", + "90", + "91", + "92" ], "location": { "end": { - "column": 97, - "line": 212 + "column": 61, + "line": 225 }, "start": { - "column": 57, - "line": 212 + "column": 33, + "line": 225 } } }, { - "id": "1809", + "id": "1856", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1061:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1127:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 4, "static": false, "killedBy": [ - "85" + "91" ], "coveredBy": [ - "84", - "85", - "86" + "89", + "90", + "91", + "92" ], "location": { "end": { - "column": 111, - "line": 213 + "column": 103, + "line": 227 }, "start": { "column": 9, - "line": 213 + "line": 227 } } }, { - "id": "1810", + "id": "1857", "mutatorName": "ConditionalExpression", "replacement": "false", - "status": "Timeout", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1105:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "89" + ], "coveredBy": [ - "84", - "85", - "86" + "89", + "90", + "91", + "92" ], "location": { "end": { - "column": 111, - "line": 213 + "column": 103, + "line": 227 }, "start": { "column": 9, - "line": 213 + "line": 227 } } }, { - "id": "1811", - "mutatorName": "MethodExpression", - "replacement": "playTargets.every(({\n player\n}) => !leftToCharmByPiedPiperPlayers.find(({\n _id\n}) => player._id === _id))", - "status": "Timeout", + "id": "1858", + "mutatorName": "LogicalOperator", + "replacement": "!targetedPlayer.isAlive && !canProtectTwice && lastProtectedPlayer?._id === targetedPlayer._id", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1105:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "89" + ], "coveredBy": [ - "84", - "85", - "86" + "89", + "90", + "91", + "92" ], "location": { "end": { - "column": 111, - "line": 213 + "column": 103, + "line": 227 }, "start": { "column": 9, - "line": 213 + "line": 227 } } }, { - "id": "1812", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "status": "Timeout", + "id": "1859", + "mutatorName": "BooleanLiteral", + "replacement": "targetedPlayer.isAlive", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1105:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "89" + ], "coveredBy": [ - "84", - "85", - "86" + "89", + "90", + "91", + "92" ], "location": { "end": { - "column": 110, - "line": 213 + "column": 32, + "line": 227 }, "start": { - "column": 26, - "line": 213 + "column": 9, + "line": 227 } } }, { - "id": "1813", - "mutatorName": "BooleanLiteral", - "replacement": "leftToCharmByPiedPiperPlayers.find(({\n _id\n}) => player._id === _id)", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1061:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1860", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1116:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "85" + "90" ], "coveredBy": [ - "84", - "85", - "86" + "90", + "91", + "92" ], "location": { "end": { - "column": 110, - "line": 213 + "column": 103, + "line": 227 }, "start": { - "column": 42, - "line": 213 + "column": 36, + "line": 227 } } }, { - "id": "1814", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "status": "Timeout", + "id": "1861", + "mutatorName": "LogicalOperator", + "replacement": "!canProtectTwice || lastProtectedPlayer?._id === targetedPlayer._id", + "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1127:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "91" + ], "coveredBy": [ - "84", - "85", - "86" + "90", + "91", + "92" ], "location": { "end": { - "column": 109, - "line": 213 + "column": 103, + "line": 227 }, "start": { - "column": 78, - "line": 213 + "column": 36, + "line": 227 } } }, { - "id": "1815", - "mutatorName": "ConditionalExpression", - "replacement": "true", + "id": "1862", + "mutatorName": "BooleanLiteral", + "replacement": "canProtectTwice", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "84", - "85", - "86" + "90", + "91", + "92" ], "location": { "end": { - "column": 109, - "line": 213 + "column": 52, + "line": 227 }, "start": { - "column": 91, - "line": 213 + "column": 36, + "line": 227 } } }, { - "id": "1816", + "id": "1863", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1061:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1137:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "85" + "92" ], "coveredBy": [ - "84", - "85", - "86" + "90", + "92" ], "location": { "end": { - "column": 109, - "line": 213 + "column": 103, + "line": 227 }, "start": { - "column": 91, - "line": 213 + "column": 56, + "line": 227 } } }, { - "id": "1817", + "id": "1864", "mutatorName": "EqualityOperator", - "replacement": "player._id !== _id", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1043:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "lastProtectedPlayer?._id !== targetedPlayer._id", + "status": "Timeout", "static": false, - "killedBy": [ - "84" + "killedBy": [], + "coveredBy": [ + "90", + "92" ], + "location": { + "end": { + "column": 103, + "line": 227 + }, + "start": { + "column": 56, + "line": 227 + } + } + }, + { + "id": "1865", + "mutatorName": "OptionalChaining", + "replacement": "lastProtectedPlayer._id", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(227,56): error TS18048: 'lastProtectedPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "84", - "85", - "86" + "90", + "92" ], "location": { "end": { - "column": 109, - "line": 213 + "column": 80, + "line": 227 }, "start": { - "column": 91, - "line": 213 + "column": 56, + "line": 227 } } }, { - "id": "1818", + "id": "1866", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1043:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "84" - ], + "killedBy": [], "coveredBy": [ - "84" + "89", + "90" ], "location": { "end": { "column": 6, - "line": 215 + "line": 229 }, "start": { - "column": 113, - "line": 213 + "column": 105, + "line": 227 } } }, { - "id": "1819", + "id": "1867", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1105:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1168:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "89" + "95" ], "coveredBy": [ - "87", - "88", - "89", - "90", - "91", - "92", - "468" + "93", + "94", + "95", + "96", + "97", + "98", + "469" ], "location": { "end": { "column": 4, - "line": 230 + "line": 246 }, "start": { - "column": 124, - "line": 218 + "column": 126, + "line": 232 } } }, { - "id": "1820", + "id": "1868", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1105:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "89" - ], + "killedBy": [], "coveredBy": [ - "87", - "88", - "89", - "90", - "91", - "92", - "468" + "93", + "94", + "95", + "96", + "97", + "98", + "469" ], "location": { "end": { - "column": 110, - "line": 219 + "column": 166, + "line": 233 }, "start": { "column": 9, - "line": 219 + "line": 233 } } }, { - "id": "1821", + "id": "1869", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"3034a96a0f6c8b7f1ca2e3b4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Olen\", \"position\": 6311237107318784, \"role\": {\"current\": \"stuttering-judge\", \"isRevealed\": true, \"original\": \"scapegoat\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1089:57)", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"fa1f8ac3ecbb2bb47621b8bc\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Jamil\", \"position\": 3607114377330688, \"role\": {\"current\": \"witch\", \"isRevealed\": true, \"original\": \"villager-villager\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1153:57)", "status": "Killed", "testsCompleted": 7, "static": false, "killedBy": [ - "87" + "93" ], "coveredBy": [ - "87", - "88", - "89", - "90", - "91", - "92", - "468" + "93", + "94", + "95", + "96", + "97", + "98", + "469" ], "location": { "end": { - "column": 110, - "line": 219 + "column": 166, + "line": 233 }, "start": { "column": 9, - "line": 219 + "line": 233 } } }, { - "id": "1822", + "id": "1870", "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.source !== ROLE_NAMES.GUARD && game.currentPlay.action !== GAME_PLAY_ACTIONS.PROTECT", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1084: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1077: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "replacement": "game.currentPlay.source !== PLAYER_ATTRIBUTE_NAMES.SHERIFF && ![GAME_PLAY_ACTIONS.DELEGATE, GAME_PLAY_ACTIONS.SETTLE_VOTES].includes(game.currentPlay.action)", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"4dd3a2ce70cde22fded36fbc\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Johnpaul\", \"position\": 7468777216147456, \"role\": {\"current\": \"stuttering-judge\", \"isRevealed\": true, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1153:57)", "status": "Killed", "testsCompleted": 7, "static": false, "killedBy": [ - "87" + "93" ], "coveredBy": [ - "87", - "88", - "89", - "90", - "91", - "92", - "468" + "93", + "94", + "95", + "96", + "97", + "98", + "469" ], "location": { "end": { - "column": 110, - "line": 219 + "column": 166, + "line": 233 }, "start": { "column": 9, - "line": 219 + "line": 233 } } }, { - "id": "1823", + "id": "1871", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1092: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1077: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1156: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1141: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", "testsCompleted": 7, "static": false, "killedBy": [ - "88" + "94" ], "coveredBy": [ - "87", - "88", - "89", - "90", - "91", - "92", - "468" + "93", + "94", + "95", + "96", + "97", + "98", + "469" ], "location": { "end": { - "column": 53, - "line": 219 + "column": 67, + "line": 233 }, "start": { "column": 9, - "line": 219 + "line": 233 } } }, { - "id": "1824", + "id": "1872", "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.source === ROLE_NAMES.GUARD", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1092: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1077: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "replacement": "game.currentPlay.source === PLAYER_ATTRIBUTE_NAMES.SHERIFF", + "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1156: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1141: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", "testsCompleted": 7, "static": false, "killedBy": [ - "88" + "94" ], "coveredBy": [ - "87", - "88", - "89", - "90", - "91", - "92", - "468" + "93", + "94", + "95", + "96", + "97", + "98", + "469" ], "location": { "end": { - "column": 53, - "line": 219 + "column": 67, + "line": 233 }, "start": { "column": 9, - "line": 219 + "line": 233 } } }, { - "id": "1825", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1084: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1077: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "id": "1873", + "mutatorName": "BooleanLiteral", + "replacement": "[GAME_PLAY_ACTIONS.DELEGATE, GAME_PLAY_ACTIONS.SETTLE_VOTES].includes(game.currentPlay.action)", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"1a88bbbdbad8269afc3d0aea\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Hermina\", \"position\": 2494517244592128, \"role\": {\"current\": \"stuttering-judge\", \"isRevealed\": false, \"original\": \"thief\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1153:57)", "status": "Killed", "testsCompleted": 5, "static": false, "killedBy": [ - "87" + "93" ], "coveredBy": [ - "87", - "89", - "90", - "91", - "92" + "93", + "95", + "96", + "97", + "98" ], "location": { "end": { - "column": 110, - "line": 219 + "column": 166, + "line": 233 }, "start": { - "column": 57, - "line": 219 + "column": 71, + "line": 233 } } }, { - "id": "1826", - "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.PROTECT", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1084: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1077: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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": "Killed", - "testsCompleted": 5, + "id": "1874", + "mutatorName": "ArrayDeclaration", + "replacement": "[]", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(233,84): error TS2345: Argument of type 'import(\"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/src/modules/game/enums/game-play.enum\").GAME_PLAY_ACTIONS' is not assignable to parameter of type 'never'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "87" - ], + "killedBy": [], "coveredBy": [ - "87", - "89", - "90", - "91", - "92" + "93", + "95", + "96", + "97", + "98" ], "location": { "end": { - "column": 110, - "line": 219 + "column": 132, + "line": 233 }, "start": { - "column": 57, - "line": 219 + "column": 72, + "line": 233 } } }, { - "id": "1827", + "id": "1875", "mutatorName": "BlockStatement", "replacement": "{}", - "status": "Timeout", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"ebea98cfb1d0e2bad6ea8802\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Melisa\", \"position\": 7000767273631744, \"role\": {\"current\": \"stuttering-judge\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1153:57)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "93" + ], "coveredBy": [ - "87", - "88", - "468" + "93", + "94", + "469" ], "location": { "end": { "column": 6, - "line": 221 + "line": 235 }, "start": { - "column": 112, - "line": 219 + "column": 168, + "line": 233 } } }, { - "id": "1828", + "id": "1876", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(223,57): 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", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(236,57): 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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "89", - "90", - "91", - "92" + "95", + "96", + "97", + "98" ], "location": { "end": { "column": 75, - "line": 223 + "line": 236 }, "start": { "column": 57, - "line": 223 + "line": 236 } } }, { - "id": "1829", - "mutatorName": "OptionalChaining", - "replacement": "lastGuardHistoryRecord?.play.targets[0]", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(225,33): error TS18048: 'lastGuardHistoryRecord.play.targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1877", + "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1176:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "96" + ], "coveredBy": [ - "89", - "90", - "91", - "92" + "95", + "96", + "97", + "98" ], "location": { "end": { - "column": 74, - "line": 225 + "column": 90, + "line": 238 }, "start": { - "column": 33, - "line": 225 + "column": 9, + "line": 238 } } }, { - "id": "1830", - "mutatorName": "OptionalChaining", - "replacement": "lastGuardHistoryRecord.play", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(225,33): error TS18047: 'lastGuardHistoryRecord' is possibly 'null'.\n", - "status": "CompileError", + "id": "1878", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1168:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "95" + ], "coveredBy": [ - "89", - "90", - "91", - "92" + "95", + "96", + "97", + "98" ], "location": { "end": { - "column": 61, - "line": 225 + "column": 90, + "line": 238 }, "start": { - "column": 33, - "line": 225 + "column": 9, + "line": 238 } } }, { - "id": "1831", - "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1127:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1879", + "mutatorName": "LogicalOperator", + "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.DELEGATE || !targetedPlayer.isAlive", + "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1176:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "91" + "96" ], "coveredBy": [ - "89", - "90", - "91", - "92" + "95", + "96", + "97", + "98" ], "location": { "end": { - "column": 103, - "line": 227 + "column": 90, + "line": 238 }, "start": { "column": 9, - "line": 227 + "line": 238 } } }, { - "id": "1832", + "id": "1880", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1105:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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 with [\"Sheriff can't break the tie in votes with this target\"], but it was called with \"Sheriff can't delegate his role to this target\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1185:43)", "status": "Killed", "testsCompleted": 4, "static": false, "killedBy": [ - "89" + "97" ], "coveredBy": [ - "89", - "90", - "91", - "92" + "95", + "96", + "97", + "98" ], "location": { "end": { - "column": 103, - "line": 227 + "column": 63, + "line": 238 }, "start": { "column": 9, - "line": 227 + "line": 238 } } }, { - "id": "1833", - "mutatorName": "LogicalOperator", - "replacement": "!targetedPlayer.isAlive && !canProtectTwice && lastProtectedPlayer?._id === targetedPlayer._id", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1105:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1881", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.DELEGATE", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1168:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "89" + "95" ], "coveredBy": [ - "89", - "90", - "91", - "92" + "95", + "96", + "97", + "98" ], "location": { "end": { - "column": 103, - "line": 227 + "column": 63, + "line": 238 }, "start": { "column": 9, - "line": 227 + "line": 238 } } }, { - "id": "1834", + "id": "1882", "mutatorName": "BooleanLiteral", "replacement": "targetedPlayer.isAlive", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1105:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "89" - ], + "killedBy": [], "coveredBy": [ - "89", - "90", - "91", - "92" + "95", + "96" ], "location": { "end": { - "column": 32, - "line": 227 + "column": 90, + "line": 238 }, "start": { - "column": 9, - "line": 227 + "column": 67, + "line": 238 } } }, { - "id": "1835", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1116:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1883", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, - "killedBy": [ - "90" - ], + "killedBy": [], "coveredBy": [ - "90", - "91", - "92" + "95" ], "location": { "end": { - "column": 103, - "line": 227 + "column": 6, + "line": 240 }, "start": { - "column": 36, - "line": 227 + "column": 92, + "line": 238 } } }, { - "id": "1836", + "id": "1884", "mutatorName": "LogicalOperator", - "replacement": "!canProtectTwice || lastProtectedPlayer?._id === targetedPlayer._id", - "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1127:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "lastTieInVotesRecord?.play.targets && []", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(243,72): error TS18048: 'lastTieInVotesRecordTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(243,128): error TS2339: Property '_id' does not exist on type 'never'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "91" + "killedBy": [], + "coveredBy": [ + "96", + "97", + "98" ], + "location": { + "end": { + "column": 81, + "line": 242 + }, + "start": { + "column": 41, + "line": 242 + } + } + }, + { + "id": "1885", + "mutatorName": "OptionalChaining", + "replacement": "lastTieInVotesRecord.play", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(242,41): error TS18047: 'lastTieInVotesRecord' is possibly 'null'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "90", - "91", - "92" + "96", + "97", + "98" ], "location": { "end": { - "column": 103, - "line": 227 + "column": 67, + "line": 242 }, "start": { - "column": 36, - "line": 227 + "column": 41, + "line": 242 } } }, { - "id": "1837", - "mutatorName": "BooleanLiteral", - "replacement": "canProtectTwice", - "status": "Timeout", + "id": "1886", + "mutatorName": "ArrayDeclaration", + "replacement": "[\"Stryker was here\"]", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(243,100): error TS2349: This expression is not callable.\n Each member of the union type '{ (predicate: (value: GameHistoryRecordPlayTarget, index: number, obj: GameHistoryRecordPlayTarget[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: GameHistoryRecordPlayTarget, index: number, obj: GameHistoryRecordPlayTarget[]) => unknown, thisArg?: any): Ga...' has signatures, but none of those signatures are compatible with each other.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "90", - "91", - "92" + "96" ], "location": { "end": { - "column": 52, - "line": 227 + "column": 81, + "line": 242 }, "start": { - "column": 36, - "line": 227 + "column": 79, + "line": 242 } } }, { - "id": "1838", + "id": "1887", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1137:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1176:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "92" + "96" ], "coveredBy": [ - "90", - "92" + "96", + "97", + "98" ], "location": { "end": { - "column": 103, - "line": 227 + "column": 155, + "line": 243 }, "start": { - "column": 56, - "line": 227 + "column": 9, + "line": 243 } } }, { - "id": "1839", - "mutatorName": "EqualityOperator", - "replacement": "lastProtectedPlayer?._id !== targetedPlayer._id", - "status": "Timeout", + "id": "1888", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1184:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "97" + ], "coveredBy": [ - "90", - "92" + "96", + "97", + "98" ], "location": { "end": { - "column": 103, - "line": 227 + "column": 155, + "line": 243 }, "start": { - "column": 56, - "line": 227 + "column": 9, + "line": 243 } } }, { - "id": "1840", - "mutatorName": "OptionalChaining", - "replacement": "lastProtectedPlayer._id", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(227,56): error TS18048: 'lastProtectedPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1889", + "mutatorName": "LogicalOperator", + "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.SETTLE_VOTES || !lastTieInVotesRecordTargets.find(({\n player\n}) => player._id === targetedPlayer._id)", + "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1176:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "96" + ], "coveredBy": [ - "90", - "92" + "96", + "97", + "98" ], "location": { "end": { - "column": 80, - "line": 227 + "column": 155, + "line": 243 }, "start": { - "column": 56, - "line": 227 + "column": 9, + "line": 243 } } }, { - "id": "1841", - "mutatorName": "BlockStatement", - "replacement": "{}", + "id": "1890", + "mutatorName": "ConditionalExpression", + "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "89", - "90" + "96", + "97", + "98" ], "location": { "end": { - "column": 6, - "line": 229 + "column": 67, + "line": 243 }, "start": { - "column": 105, - "line": 227 + "column": 9, + "line": 243 } } }, { - "id": "1842", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1168:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "id": "1891", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.SETTLE_VOTES", + "status": "Timeout", "static": false, - "killedBy": [ - "95" - ], + "killedBy": [], "coveredBy": [ - "93", - "94", - "95", "96", "97", - "98", - "468" + "98" ], "location": { "end": { - "column": 4, - "line": 246 + "column": 67, + "line": 243 }, "start": { - "column": 126, - "line": 232 + "column": 9, + "line": 243 } } }, { - "id": "1843", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", + "id": "1892", + "mutatorName": "BooleanLiteral", + "replacement": "lastTieInVotesRecordTargets.find(({\n player\n}) => player._id === targetedPlayer._id)", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1184:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "97" + ], "coveredBy": [ - "93", - "94", - "95", - "96", "97", - "98", - "468" + "98" ], "location": { "end": { - "column": 166, - "line": 233 + "column": 155, + "line": 243 }, "start": { - "column": 9, - "line": 233 + "column": 71, + "line": 243 } } }, { - "id": "1844", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"fa1f8ac3ecbb2bb47621b8bc\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Jamil\", \"position\": 3607114377330688, \"role\": {\"current\": \"witch\", \"isRevealed\": true, \"original\": \"villager-villager\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1153:57)", + "id": "1893", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1193:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 2, "static": false, "killedBy": [ - "93" + "98" ], "coveredBy": [ - "93", - "94", - "95", - "96", "97", - "98", - "468" + "98" ], "location": { "end": { - "column": 166, - "line": 233 + "column": 154, + "line": 243 }, "start": { - "column": 9, - "line": 233 + "column": 105, + "line": 243 } } }, { - "id": "1845", - "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.source !== PLAYER_ATTRIBUTE_NAMES.SHERIFF && ![GAME_PLAY_ACTIONS.DELEGATE, GAME_PLAY_ACTIONS.SETTLE_VOTES].includes(game.currentPlay.action)", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"4dd3a2ce70cde22fded36fbc\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Johnpaul\", \"position\": 7468777216147456, \"role\": {\"current\": \"stuttering-judge\", \"isRevealed\": true, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1153:57)", + "id": "1894", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1184:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 2, "static": false, "killedBy": [ - "93" + "97" ], "coveredBy": [ - "93", - "94", - "95", - "96", "97", - "98", - "468" + "98" ], "location": { "end": { - "column": 166, - "line": 233 + "column": 154, + "line": 243 }, "start": { - "column": 9, - "line": 233 + "column": 121, + "line": 243 } } }, { - "id": "1846", + "id": "1895", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1156: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1141: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1193:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 2, "static": false, "killedBy": [ - "94" + "98" ], "coveredBy": [ - "93", - "94", - "95", - "96", "97", - "98", - "468" + "98" ], "location": { "end": { - "column": 67, - "line": 233 + "column": 154, + "line": 243 }, "start": { - "column": 9, - "line": 233 + "column": 121, + "line": 243 } } }, { - "id": "1847", + "id": "1896", "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.source === PLAYER_ATTRIBUTE_NAMES.SHERIFF", - "statusReason": "Error: thrown: BadGamePlayPayloadException {\n \"getResponse\": [Function getResponse],\n \"getStatus\": [Function getStatus],\n \"initCause\": [Function initCause],\n \"initMessage\": [Function initMessage],\n \"initName\": [Function initName],\n \"toString\": [Function toString],\n}\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1156: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1141: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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:29:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1429:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1013:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:873: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)", + "replacement": "player._id !== targetedPlayer._id", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1184:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 2, "static": false, "killedBy": [ - "94" + "97" ], "coveredBy": [ - "93", - "94", - "95", - "96", "97", - "98", - "468" + "98" ], "location": { "end": { - "column": 67, - "line": 233 + "column": 154, + "line": 243 }, "start": { - "column": 9, - "line": 233 + "column": 121, + "line": 243 } } }, { - "id": "1848", - "mutatorName": "BooleanLiteral", - "replacement": "[GAME_PLAY_ACTIONS.DELEGATE, GAME_PLAY_ACTIONS.SETTLE_VOTES].includes(game.currentPlay.action)", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"1a88bbbdbad8269afc3d0aea\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Hermina\", \"position\": 2494517244592128, \"role\": {\"current\": \"stuttering-judge\", \"isRevealed\": false, \"original\": \"thief\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1153:57)", + "id": "1897", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1184:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 1, "static": false, "killedBy": [ - "93" + "97" ], "coveredBy": [ - "93", - "95", - "96", - "97", - "98" + "97" ], "location": { "end": { - "column": 166, - "line": 233 + "column": 6, + "line": 245 }, "start": { - "column": 71, - "line": 233 + "column": 157, + "line": 243 } } }, { - "id": "1849", - "mutatorName": "ArrayDeclaration", - "replacement": "[]", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(233,84): error TS2345: Argument of type 'import(\"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/src/modules/game/enums/game-play.enum\").GAME_PLAY_ACTIONS' is not assignable to parameter of type 'never'.\n", - "status": "CompileError", + "id": "1898", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1205:143)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "99" + ], "coveredBy": [ - "93", - "95", - "96", - "97", - "98" + "31", + "99", + "100", + "101", + "102", + "469" ], "location": { "end": { - "column": 132, - "line": 233 + "column": 4, + "line": 255 }, "start": { - "column": 72, - "line": 233 + "column": 150, + "line": 248 } } }, { - "id": "1850", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"player\": {\"_id\": \"ebea98cfb1d0e2bad6ea8802\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Melisa\", \"position\": 7000767273631744, \"role\": {\"current\": \"stuttering-judge\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}}], {\"max\": 1, \"min\": 1}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1153:57)", + "id": "1899", + "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:506:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "93" + "31" ], "coveredBy": [ - "93", - "94", - "468" + "31", + "99", + "100", + "101", + "102", + "469" ], "location": { "end": { - "column": 6, - "line": 235 + "column": 50, + "line": 249 }, "start": { - "column": 168, - "line": 233 + "column": 9, + "line": 249 } } }, { - "id": "1851", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(236,57): 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", - "status": "CompileError", + "id": "1900", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "95", - "96", - "97", - "98" + "31", + "99", + "100", + "101", + "102", + "469" ], "location": { "end": { - "column": 75, - "line": 236 + "column": 50, + "line": 249 }, "start": { - "column": 57, - "line": 236 + "column": 9, + "line": 249 } } }, { - "id": "1852", - "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1176:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1901", + "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:506:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "96" + "31" ], "coveredBy": [ - "95", - "96", - "97", - "98" + "31", + "99", + "100", + "101", + "102", + "469" ], "location": { "end": { - "column": 90, - "line": 238 + "column": 50, + "line": 249 }, "start": { "column": 9, - "line": 238 + "line": 249 } } }, { - "id": "1853", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1168:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1902", + "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:506:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "95" + "31" ], "coveredBy": [ - "95", - "96", - "97", - "98" + "31", + "99", + "100", + "101", + "102", + "469" ], "location": { "end": { - "column": 90, - "line": 238 + "column": 50, + "line": 249 }, "start": { "column": 9, - "line": 238 + "line": 249 } } }, { - "id": "1854", - "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.DELEGATE || !targetedPlayer.isAlive", - "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1176:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1903", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, - "killedBy": [ - "96" - ], + "killedBy": [], "coveredBy": [ - "95", - "96", - "97", - "98" + "99" ], "location": { "end": { - "column": 90, - "line": 238 + "column": 6, + "line": 251 }, "start": { - "column": 9, - "line": 238 + "column": 52, + "line": 249 } } }, { - "id": "1855", + "id": "1904", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"Sheriff can't break the tie in votes with this target\"], but it was called with \"Sheriff can't delegate his role to this target\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1185:43)", - "status": "Killed", - "testsCompleted": 4, + "status": "Timeout", "static": false, - "killedBy": [ - "97" - ], + "killedBy": [], "coveredBy": [ - "95", - "96", - "97", - "98" + "31", + "100", + "101", + "102", + "469" ], "location": { "end": { - "column": 63, - "line": 238 + "column": 50, + "line": 252 }, "start": { "column": 9, - "line": 238 + "line": 252 } } }, { - "id": "1856", - "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.DELEGATE", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1168:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1905", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1216:143)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 5, "static": false, "killedBy": [ - "95" + "100" ], "coveredBy": [ - "95", - "96", - "97", - "98" + "31", + "100", + "101", + "102", + "469" ], "location": { "end": { - "column": 63, - "line": 238 + "column": 50, + "line": 252 }, "start": { "column": 9, - "line": 238 + "line": 252 } } }, { - "id": "1857", - "mutatorName": "BooleanLiteral", - "replacement": "targetedPlayer.isAlive", - "status": "Timeout", + "id": "1906", + "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:718:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "469" + ], "coveredBy": [ - "95", - "96" + "31", + "100", + "101", + "102", + "469" ], "location": { "end": { - "column": 90, - "line": 238 + "column": 50, + "line": 252 }, "start": { - "column": 67, - "line": 238 + "column": 9, + "line": 252 } } }, { - "id": "1858", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1907", + "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:718:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "469" + ], "coveredBy": [ - "95" + "31", + "100", + "101", + "102", + "469" ], "location": { "end": { - "column": 6, - "line": 240 + "column": 50, + "line": 252 }, "start": { - "column": 92, - "line": 238 + "column": 9, + "line": 252 } } }, { - "id": "1859", - "mutatorName": "LogicalOperator", - "replacement": "lastTieInVotesRecord?.play.targets && []", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(243,72): error TS18048: 'lastTieInVotesRecordTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(243,128): error TS2339: Property '_id' does not exist on type 'never'.\n", - "status": "CompileError", + "id": "1908", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1216:143)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "100" + ], "coveredBy": [ - "96", - "97", - "98" + "100" ], "location": { "end": { - "column": 81, - "line": 242 + "column": 6, + "line": 254 }, "start": { - "column": 41, - "line": 242 + "column": 52, + "line": 252 } } }, { - "id": "1860", - "mutatorName": "OptionalChaining", - "replacement": "lastTieInVotesRecord.play", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(242,41): error TS18047: 'lastTieInVotesRecord' is possibly 'null'.\n", - "status": "CompileError", + "id": "1909", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toHaveBeenCalledOnce(expected)\n\nExpected mock function to have been called exactly once, but it was called:\n 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1259:50)", + "status": "Killed", + "testsCompleted": 2, "static": false, - "killedBy": [], + "killedBy": [ + "103" + ], "coveredBy": [ - "96", - "97", - "98" + "103", + "469" ], "location": { "end": { - "column": 67, - "line": 242 + "column": 4, + "line": 271 }, "start": { - "column": 41, - "line": 242 + "column": 123, + "line": 257 } } }, { - "id": "1861", - "mutatorName": "ArrayDeclaration", - "replacement": "[\"Stryker was here\"]", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(243,100): error TS2349: This expression is not callable.\n Each member of the union type '{ (predicate: (value: GameHistoryRecordPlayTarget, index: number, obj: GameHistoryRecordPlayTarget[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: GameHistoryRecordPlayTarget, index: number, obj: GameHistoryRecordPlayTarget[]) => unknown, thisArg?: any): Ga...' has signatures, but none of those signatures are compatible with each other.\n", - "status": "CompileError", + "id": "1910", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1306:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "106" + ], "coveredBy": [ - "96" + "104", + "105", + "106", + "107", + "108", + "468", + "469" ], "location": { "end": { - "column": 81, - "line": 242 + "column": 4, + "line": 284 }, "start": { - "column": 79, - "line": 242 + "column": 151, + "line": 273 } } }, { - "id": "1862", + "id": "1911", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1176:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "96" - ], + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(283,44): 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", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "96", - "97", - "98" + "104", + "105", + "106", + "107", + "108", + "468", + "469" ], "location": { "end": { - "column": 155, - "line": 243 + "column": 57, + "line": 274 }, "start": { "column": 9, - "line": 243 + "line": 274 } } }, { - "id": "1863", + "id": "1912", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1184:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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-plays-validator.service.ts(283,44): 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", + "status": "CompileError", "static": false, - "killedBy": [ - "97" - ], + "killedBy": [], "coveredBy": [ - "96", - "97", - "98" + "104", + "105", + "106", + "107", + "108", + "468", + "469" ], "location": { "end": { - "column": 155, - "line": 243 + "column": 57, + "line": 274 }, "start": { "column": 9, - "line": 243 + "line": 274 } } }, { - "id": "1864", + "id": "1913", "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.SETTLE_VOTES || !lastTieInVotesRecordTargets.find(({\n player\n}) => player._id === targetedPlayer._id)", - "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1176:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "playTargets === undefined && !playTargets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(274,39): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(283,44): 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", + "status": "CompileError", "static": false, - "killedBy": [ - "96" - ], + "killedBy": [], "coveredBy": [ - "96", - "97", - "98" + "104", + "105", + "106", + "107", + "108", + "468", + "469" ], "location": { "end": { - "column": 155, - "line": 243 + "column": 57, + "line": 274 }, "start": { "column": 9, - "line": 243 + "line": 274 } } }, { - "id": "1865", + "id": "1914", "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(274,19): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(283,44): 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", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "96", - "97", - "98" + "104", + "105", + "106", + "107", + "108", + "468", + "469" ], "location": { "end": { - "column": 67, - "line": 243 + "column": 34, + "line": 274 }, "start": { "column": 9, - "line": 243 + "line": 274 } } }, { - "id": "1866", + "id": "1915", "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.SETTLE_VOTES", - "status": "Timeout", + "replacement": "playTargets !== undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(274,39): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(283,44): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "96", - "97", - "98" + "104", + "105", + "106", + "107", + "108", + "468", + "469" ], "location": { "end": { - "column": 67, - "line": 243 + "column": 34, + "line": 274 }, "start": { "column": 9, - "line": 243 + "line": 274 } } }, { - "id": "1867", + "id": "1916", "mutatorName": "BooleanLiteral", - "replacement": "lastTieInVotesRecordTargets.find(({\n player\n}) => player._id === targetedPlayer._id)", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1184:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1298:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 5, "static": false, "killedBy": [ - "97" + "105" ], "coveredBy": [ - "97", - "98" + "105", + "106", + "107", + "108", + "469" ], "location": { "end": { - "column": 155, - "line": 243 + "column": 57, + "line": 274 }, "start": { - "column": 71, - "line": 243 + "column": 38, + "line": 274 } } }, { - "id": "1868", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1193:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1917", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(278,44): 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", + "status": "CompileError", "static": false, - "killedBy": [ - "98" - ], + "killedBy": [], "coveredBy": [ - "97", - "98" + "104", + "105", + "106", + "468" ], "location": { "end": { - "column": 154, - "line": 243 + "column": 6, + "line": 279 }, "start": { - "column": 105, - "line": 243 + "column": 59, + "line": 274 } } }, { - "id": "1869", + "id": "1918", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1184:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1290:113)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "97" + "104" ], "coveredBy": [ - "97", - "98" + "104", + "105", + "106", + "468" ], "location": { "end": { - "column": 154, - "line": 243 + "column": 67, + "line": 275 }, "start": { - "column": 121, - "line": 243 + "column": 11, + "line": 275 } } }, { - "id": "1870", + "id": "1919", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1193:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "98" - ], - "coveredBy": [ - "97", - "98" - ], - "location": { - "end": { - "column": 154, - "line": 243 - }, - "start": { - "column": 121, - "line": 243 - } - } - }, - { - "id": "1871", - "mutatorName": "EqualityOperator", - "replacement": "player._id !== targetedPlayer._id", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1184:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1306:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "97" + "106" ], "coveredBy": [ - "97", - "98" + "104", + "105", + "106", + "468" ], "location": { "end": { - "column": 154, - "line": 243 + "column": 67, + "line": 275 }, "start": { - "column": 121, - "line": 243 + "column": 11, + "line": 275 } } }, { - "id": "1872", + "id": "1920", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1184:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1306:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "97" + "106" ], "coveredBy": [ - "97" + "106" ], "location": { "end": { - "column": 6, - "line": 245 + "column": 8, + "line": 277 }, "start": { - "column": 157, - "line": 243 + "column": 69, + "line": 275 } } }, { - "id": "1873", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1205:143)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1921", + "mutatorName": "BooleanLiteral", + "replacement": "[...requiredTargetsActions, ...optionalTargetsActions].includes(game.currentPlay.action)", + "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/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:721:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 3, "static": false, "killedBy": [ - "99" + "469" ], "coveredBy": [ - "31", - "99", - "100", - "101", - "102", - "468" + "107", + "108", + "469" ], "location": { "end": { - "column": 4, - "line": 255 + "column": 98, + "line": 280 }, "start": { - "column": 150, - "line": 248 + "column": 9, + "line": 280 } } }, { - "id": "1874", + "id": "1922", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:506:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(283,44): 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", + "status": "CompileError", "static": false, - "killedBy": [ - "31" - ], + "killedBy": [], "coveredBy": [ - "31", - "99", - "100", - "101", - "102", - "468" + "107", + "108", + "469" ], "location": { "end": { - "column": 50, - "line": 249 + "column": 98, + "line": 280 }, "start": { "column": 9, - "line": 249 + "line": 280 } } }, { - "id": "1875", + "id": "1923", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "31", - "99", - "100", - "101", - "102", - "468" + "107", + "108", + "469" ], "location": { "end": { - "column": 50, - "line": 249 + "column": 98, + "line": 280 }, "start": { "column": 9, - "line": 249 + "line": 280 } } }, { - "id": "1876", - "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:506:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1924", + "mutatorName": "ArrayDeclaration", + "replacement": "[]", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(280,22): error TS2345: Argument of type 'import(\"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/src/modules/game/enums/game-play.enum\").GAME_PLAY_ACTIONS' is not assignable to parameter of type 'never'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "31" - ], + "killedBy": [], "coveredBy": [ - "31", - "99", - "100", - "101", - "102", - "468" + "107", + "108", + "469" ], "location": { "end": { - "column": 50, - "line": 249 + "column": 64, + "line": 280 }, "start": { - "column": 9, - "line": 249 + "column": 10, + "line": 280 } } }, { - "id": "1877", - "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:506:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1925", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, - "killedBy": [ - "31" - ], + "killedBy": [], "coveredBy": [ - "31", - "99", - "100", - "101", - "102", - "468" + "107" ], "location": { "end": { - "column": 50, - "line": 249 + "column": 6, + "line": 282 }, "start": { - "column": 9, - "line": 249 + "column": 100, + "line": 280 } } }, { - "id": "1878", + "id": "1926", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "99" + "109", + "110", + "111", + "112", + "113", + "114", + "467", + "468", + "469" ], "location": { "end": { - "column": 6, - "line": 251 + "column": 4, + "line": 299 }, "start": { - "column": 52, - "line": 249 + "column": 130, + "line": 286 } } }, { - "id": "1879", + "id": "1927", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "31", - "100", - "101", - "102", - "468" + "109", + "110", + "111", + "112", + "113", + "114", + "467", + "468", + "469" ], "location": { "end": { - "column": 50, - "line": 252 + "column": 53, + "line": 287 }, "start": { "column": 9, - "line": 252 + "line": 287 } } }, { - "id": "1880", + "id": "1928", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1216:143)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "100" - ], + "killedBy": [], "coveredBy": [ - "31", - "100", - "101", - "102", - "468" + "109", + "110", + "111", + "112", + "113", + "114", + "467", + "468", + "469" ], "location": { "end": { - "column": 50, - "line": 252 + "column": 53, + "line": 287 }, "start": { "column": 9, - "line": 252 + "line": 287 } } }, { - "id": "1881", - "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:718:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 5, + "id": "1929", + "mutatorName": "LogicalOperator", + "replacement": "playVotes === undefined && !playVotes.length", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(287,37): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "468" - ], + "killedBy": [], "coveredBy": [ - "31", - "100", - "101", - "102", - "468" + "109", + "110", + "111", + "112", + "113", + "114", + "467", + "468", + "469" ], "location": { "end": { - "column": 50, - "line": 252 + "column": 53, + "line": 287 }, "start": { "column": 9, - "line": 252 + "line": 287 } } }, { - "id": "1882", - "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:718:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 5, + "id": "1930", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(287,19): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "468" - ], + "killedBy": [], "coveredBy": [ - "31", - "100", - "101", - "102", - "468" + "109", + "110", + "111", + "112", + "113", + "114", + "467", + "468", + "469" ], "location": { "end": { - "column": 50, - "line": 252 + "column": 32, + "line": 287 }, "start": { "column": 9, - "line": 252 + "line": 287 } } }, { - "id": "1883", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1216:143)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "id": "1931", + "mutatorName": "EqualityOperator", + "replacement": "playVotes !== undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(287,37): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "100" - ], + "killedBy": [], "coveredBy": [ - "100" + "109", + "110", + "111", + "112", + "113", + "114", + "467", + "468", + "469" ], "location": { "end": { - "column": 6, - "line": 254 + "column": 32, + "line": 287 }, "start": { - "column": 52, - "line": 252 + "column": 9, + "line": 287 } } }, { - "id": "1884", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toHaveBeenCalledOnce(expected)\n\nExpected mock function to have been called exactly once, but it was called:\n 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1259:50)", + "id": "1932", + "mutatorName": "BooleanLiteral", + "replacement": "playVotes.length", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1337:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "103" + "110" ], "coveredBy": [ - "103", + "110", + "111", + "112", + "113", + "114", "468" ], "location": { "end": { - "column": 4, - "line": 271 + "column": 53, + "line": 287 }, "start": { - "column": 123, - "line": 257 + "column": 36, + "line": 287 } } }, { - "id": "1885", + "id": "1933", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1306:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(291,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "106" - ], + "killedBy": [], "coveredBy": [ - "104", - "105", - "106", - "107", - "108", + "109", + "110", + "111", "467", - "468" + "469" ], "location": { "end": { - "column": 4, - "line": 284 + "column": 6, + "line": 292 }, "start": { - "column": 151, - "line": 273 + "column": 55, + "line": 287 } } }, { - "id": "1886", + "id": "1934", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(283,44): 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", - "status": "CompileError", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1331:115)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "109" + ], "coveredBy": [ - "104", - "105", - "106", - "107", - "108", + "109", + "110", + "111", "467", - "468" + "469" ], "location": { "end": { - "column": 57, - "line": 274 + "column": 65, + "line": 288 }, "start": { - "column": 9, - "line": 274 + "column": 11, + "line": 288 } } }, { - "id": "1887", + "id": "1935", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(283,44): 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", - "status": "CompileError", + "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\": \"`targets` 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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:644:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "467" + ], "coveredBy": [ - "104", - "105", - "106", - "107", - "108", + "109", + "110", + "111", "467", - "468" + "469" ], "location": { "end": { - "column": 57, - "line": 274 + "column": 65, + "line": 288 }, "start": { - "column": 9, - "line": 274 + "column": 11, + "line": 288 } } }, { - "id": "1888", - "mutatorName": "LogicalOperator", - "replacement": "playTargets === undefined && !playTargets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(274,39): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(283,44): 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", - "status": "CompileError", + "id": "1936", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "104", - "105", - "106", - "107", - "108", - "467", - "468" + "111", + "467" ], "location": { "end": { - "column": 57, - "line": 274 + "column": 8, + "line": 290 }, "start": { - "column": 9, - "line": 274 + "column": 67, + "line": 288 } } }, { - "id": "1889", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(274,19): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(283,44): 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", - "status": "CompileError", + "id": "1937", + "mutatorName": "BooleanLiteral", + "replacement": "requiredVotesActions.includes(game.currentPlay.action)", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1351:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "112" + ], "coveredBy": [ - "104", - "105", - "106", - "107", - "108", - "467", + "112", + "113", + "114", "468" ], "location": { "end": { - "column": 34, - "line": 274 + "column": 64, + "line": 293 }, "start": { "column": 9, - "line": 274 + "line": 293 } } }, { - "id": "1890", - "mutatorName": "EqualityOperator", - "replacement": "playTargets !== undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(274,39): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(283,44): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n", + "id": "1938", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "104", - "105", - "106", - "107", - "108", - "467", + "112", + "113", + "114", "468" ], "location": { "end": { - "column": 34, - "line": 274 + "column": 64, + "line": 293 }, "start": { "column": 9, - "line": 274 + "line": 293 } } }, { - "id": "1891", - "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1298:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1939", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1351:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 4, "static": false, "killedBy": [ - "105" + "112" ], "coveredBy": [ - "105", - "106", - "107", - "108", + "112", + "113", + "114", "468" ], "location": { "end": { - "column": 57, - "line": 274 + "column": 64, + "line": 293 }, "start": { - "column": 38, - "line": 274 + "column": 9, + "line": 293 } } }, { - "id": "1892", + "id": "1940", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(278,44): 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", - "status": "CompileError", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1351:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "112" + ], "coveredBy": [ - "104", - "105", - "106", - "467" + "112" ], "location": { "end": { "column": 6, - "line": 279 + "line": 295 }, "start": { - "column": 59, - "line": 274 + "column": 66, + "line": 293 } } }, { - "id": "1893", + "id": "1941", "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1290:113)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1370:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "104" + "114" ], "coveredBy": [ - "104", - "105", - "106", - "467" + "113", + "114", + "468" ], "location": { "end": { - "column": 67, - "line": 275 + "column": 74, + "line": 296 }, "start": { - "column": 11, - "line": 275 + "column": 9, + "line": 296 } } }, { - "id": "1894", + "id": "1942", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1306:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1362:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "106" + "113" ], "coveredBy": [ - "104", - "105", - "106", - "467" + "113", + "114", + "468" ], "location": { "end": { - "column": 67, - "line": 275 + "column": 74, + "line": 296 }, "start": { - "column": 11, - "line": 275 + "column": 9, + "line": 296 } } }, { - "id": "1895", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1306:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1943", + "mutatorName": "MethodExpression", + "replacement": "playVotes.every(({\n source,\n target\n}) => source._id === target._id)", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1362:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "106" + "113" ], "coveredBy": [ - "106" + "113", + "114", + "468" ], "location": { "end": { - "column": 8, - "line": 277 + "column": 74, + "line": 296 }, "start": { - "column": 69, - "line": 275 + "column": 9, + "line": 296 } } }, { - "id": "1896", - "mutatorName": "BooleanLiteral", - "replacement": "[...requiredTargetsActions, ...optionalTargetsActions].includes(game.currentPlay.action)", - "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/sandbox7729612/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:721:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1944", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1362:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "468" + "113" ], "coveredBy": [ - "107", - "108", + "113", + "114", "468" ], "location": { "end": { - "column": 98, - "line": 280 + "column": 73, + "line": 296 }, "start": { - "column": 9, - "line": 280 + "column": 24, + "line": 296 } } }, { - "id": "1897", + "id": "1945", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(283,44): 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", - "status": "CompileError", + "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/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:681:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "468" + ], "coveredBy": [ - "107", - "108", + "113", + "114", "468" ], "location": { "end": { - "column": 98, - "line": 280 + "column": 73, + "line": 296 }, "start": { - "column": 9, - "line": 280 + "column": 48, + "line": 296 } } }, { - "id": "1898", + "id": "1946", "mutatorName": "ConditionalExpression", "replacement": "false", - "status": "Timeout", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1362:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "113" + ], "coveredBy": [ - "107", - "108", + "113", + "114", "468" ], "location": { "end": { - "column": 98, - "line": 280 + "column": 73, + "line": 296 }, "start": { - "column": 9, - "line": 280 + "column": 48, + "line": 296 } } }, { - "id": "1899", - "mutatorName": "ArrayDeclaration", - "replacement": "[]", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(280,22): error TS2345: Argument of type 'import(\"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/src/modules/game/enums/game-play.enum\").GAME_PLAY_ACTIONS' is not assignable to parameter of type 'never'.\n", - "status": "CompileError", + "id": "1947", + "mutatorName": "EqualityOperator", + "replacement": "source._id !== 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/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:681:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "468" + ], "coveredBy": [ - "107", - "108", + "113", + "114", "468" ], "location": { "end": { - "column": 64, - "line": 280 + "column": 73, + "line": 296 }, "start": { - "column": 10, - "line": 280 + "column": 48, + "line": 296 } } }, { - "id": "1900", + "id": "1948", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "107" + "113" ], "location": { "end": { "column": 6, - "line": 282 + "line": 298 }, "start": { - "column": 100, - "line": 280 + "column": 76, + "line": 296 } } }, { - "id": "1901", + "id": "1949", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "109", - "110", - "111", - "112", - "113", - "114", - "466", + "115", + "116", + "117", + "118", "467", - "468" + "468", + "469" ], "location": { "end": { "column": 4, - "line": 299 + "line": 308 }, "start": { - "column": 130, - "line": 286 + "column": 122, + "line": 301 } } }, { - "id": "1902", + "id": "1950", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "109", - "110", - "111", - "112", - "113", - "114", - "466", - "467", - "468" - ], - "location": { - "end": { - "column": 53, - "line": 287 - }, - "start": { - "column": 9, - "line": 287 - } - } - }, - { - "id": "1903", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"`chosenSide` is required on this current game's state\"\nReceived: \"`chosenSide` can't be set on this current game's state\"\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1380:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "115" + ], "coveredBy": [ - "109", - "110", - "111", - "112", - "113", - "114", - "466", + "115", + "116", + "117", + "118", "467", - "468" + "468", + "469" ], "location": { "end": { - "column": 53, - "line": 287 + "column": 80, + "line": 302 }, "start": { "column": 9, - "line": 287 + "line": 302 } } }, { - "id": "1904", - "mutatorName": "LogicalOperator", - "replacement": "playVotes === undefined && !playVotes.length", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(287,37): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1951", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1387:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "116" + ], "coveredBy": [ - "109", - "110", - "111", - "112", - "113", - "114", - "466", + "115", + "116", + "117", + "118", "467", - "468" + "468", + "469" ], "location": { "end": { - "column": 53, - "line": 287 + "column": 80, + "line": 302 }, "start": { "column": 9, - "line": 287 + "line": 302 } } }, { - "id": "1905", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(287,19): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1952", + "mutatorName": "LogicalOperator", + "replacement": "chosenSide || game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_SIDE", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1395:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "117" + ], "coveredBy": [ - "109", - "110", - "111", - "112", - "113", - "114", - "466", + "115", + "116", + "117", + "118", "467", - "468" + "468", + "469" ], "location": { "end": { - "column": 32, - "line": 287 + "column": 80, + "line": 302 }, "start": { "column": 9, - "line": 287 + "line": 302 } } }, { - "id": "1906", - "mutatorName": "EqualityOperator", - "replacement": "playVotes !== undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(287,37): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1953", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1402:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "118" + ], "coveredBy": [ - "109", - "110", - "111", - "112", - "113", - "114", - "466", - "467", - "468" + "116", + "118" ], "location": { "end": { - "column": 32, - "line": 287 + "column": 80, + "line": 302 }, "start": { - "column": 9, - "line": 287 + "column": 23, + "line": 302 } } }, { - "id": "1907", - "mutatorName": "BooleanLiteral", - "replacement": "playVotes.length", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1337:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1954", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_SIDE", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1387:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "110" + "116" ], "coveredBy": [ - "110", - "111", - "112", - "113", - "114", - "467" + "116", + "118" ], "location": { "end": { - "column": 53, - "line": 287 + "column": 80, + "line": 302 }, "start": { - "column": 36, - "line": 287 + "column": 23, + "line": 302 } } }, { - "id": "1908", + "id": "1955", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(291,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1387:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "116" + ], "coveredBy": [ - "109", - "110", - "111", - "466", - "468" + "116" ], "location": { "end": { "column": 6, - "line": 292 + "line": 304 }, "start": { - "column": 55, - "line": 287 + "column": 82, + "line": 302 } } }, { - "id": "1909", + "id": "1956", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1331:115)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "109" - ], + "killedBy": [], "coveredBy": [ - "109", - "110", - "111", - "466", - "468" + "115", + "117", + "118", + "467", + "468", + "469" ], "location": { "end": { - "column": 65, - "line": 288 + "column": 81, + "line": 305 }, "start": { - "column": 11, - "line": 288 + "column": 9, + "line": 305 } } }, { - "id": "1910", + "id": "1957", "mutatorName": "ConditionalExpression", "replacement": "false", - "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\": \"`targets` 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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:644:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1379:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "466" + "115" ], "coveredBy": [ - "109", - "110", - "111", - "466", - "468" + "115", + "117", + "118", + "467", + "468", + "469" ], "location": { "end": { - "column": 65, - "line": 288 + "column": 81, + "line": 305 }, "start": { - "column": 11, - "line": 288 + "column": 9, + "line": 305 } } }, { - "id": "1911", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1958", + "mutatorName": "LogicalOperator", + "replacement": "!chosenSide || game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_SIDE", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1395:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "117" + ], "coveredBy": [ - "111", - "466" + "115", + "117", + "118", + "467", + "468", + "469" ], "location": { "end": { - "column": 8, - "line": 290 + "column": 81, + "line": 305 }, "start": { - "column": 67, - "line": 288 + "column": 9, + "line": 305 } } }, { - "id": "1912", + "id": "1959", "mutatorName": "BooleanLiteral", - "replacement": "requiredVotesActions.includes(game.currentPlay.action)", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1351:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "chosenSide", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1379:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "112" + "115" ], "coveredBy": [ - "112", - "113", - "114", - "467" + "115", + "117", + "118", + "467", + "468", + "469" ], "location": { "end": { - "column": 64, - "line": 293 + "column": 20, + "line": 305 }, "start": { "column": 9, - "line": 293 + "line": 305 } } }, { - "id": "1913", + "id": "1960", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(296,9): error TS18048: 'playVotes' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1395:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "117" + ], "coveredBy": [ - "112", - "113", - "114", - "467" + "115", + "117", + "467", + "468", + "469" ], "location": { "end": { - "column": 64, - "line": 293 + "column": 81, + "line": 305 }, "start": { - "column": 9, - "line": 293 + "column": 24, + "line": 305 } } }, { - "id": "1914", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1351:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1961", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_SIDE", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1379:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 5, "static": false, "killedBy": [ - "112" + "115" ], "coveredBy": [ - "112", - "113", - "114", - "467" + "115", + "117", + "467", + "468", + "469" ], "location": { "end": { - "column": 64, - "line": 293 + "column": 81, + "line": 305 }, "start": { - "column": 9, - "line": 293 + "column": 24, + "line": 305 } } }, { - "id": "1915", + "id": "1962", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1351:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1379:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "112" + "115" ], "coveredBy": [ - "112" + "115" ], "location": { "end": { "column": 6, - "line": 295 + "line": 307 }, "start": { - "column": 66, - "line": 293 + "column": 83, + "line": 305 } } }, { - "id": "1916", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1370:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1963", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1418:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "114" + "120" ], "coveredBy": [ - "113", - "114", - "467" + "119", + "120", + "121", + "122", + "123", + "124", + "467", + "468", + "469" ], "location": { "end": { - "column": 74, - "line": 296 + "column": 4, + "line": 322 }, "start": { - "column": 9, - "line": 296 + "column": 156, + "line": 310 } } }, { - "id": "1917", + "id": "1964", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1362:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(318,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", + "status": "CompileError", "static": false, - "killedBy": [ - "113" - ], + "killedBy": [], "coveredBy": [ - "113", - "114", - "467" + "119", + "120", + "121", + "122", + "123", + "124", + "467", + "468", + "469" ], "location": { "end": { - "column": 74, - "line": 296 + "column": 50, + "line": 311 }, "start": { "column": 9, - "line": 296 + "line": 311 } } }, { - "id": "1918", - "mutatorName": "MethodExpression", - "replacement": "playVotes.every(({\n source,\n target\n}) => source._id === target._id)", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1362:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1965", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:644:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 9, "static": false, "killedBy": [ - "113" - ], - "coveredBy": [ - "113", - "114", "467" ], - "location": { - "end": { - "column": 74, - "line": 296 - }, - "start": { - "column": 9, - "line": 296 - } - } - }, - { - "id": "1919", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1362:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "113" - ], "coveredBy": [ - "113", - "114", - "467" + "119", + "120", + "121", + "122", + "123", + "124", + "467", + "468", + "469" ], "location": { "end": { - "column": 73, - "line": 296 + "column": 50, + "line": 311 }, "start": { - "column": 24, - "line": 296 + "column": 9, + "line": 311 } } }, { - "id": "1920", - "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/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:681:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1966", + "mutatorName": "EqualityOperator", + "replacement": "doesJudgeRequestAnotherVote !== 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\": \"`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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:644:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 9, "static": false, "killedBy": [ "467" ], "coveredBy": [ - "113", - "114", - "467" + "119", + "120", + "121", + "122", + "123", + "124", + "467", + "468", + "469" ], "location": { "end": { - "column": 73, - "line": 296 + "column": 50, + "line": 311 }, "start": { - "column": 48, - "line": 296 + "column": 9, + "line": 311 } } }, { - "id": "1921", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1362:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1967", + "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:644:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 4, "static": false, "killedBy": [ - "113" + "467" ], "coveredBy": [ - "113", - "114", - "467" + "119", + "467", + "468", + "469" ], "location": { "end": { - "column": 73, - "line": 296 + "column": 6, + "line": 313 }, "start": { - "column": 48, - "line": 296 + "column": 52, + "line": 311 } } }, { - "id": "1922", - "mutatorName": "EqualityOperator", - "replacement": "source._id !== 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/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:681:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1968", + "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1481:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 5, "static": false, "killedBy": [ - "467" + "124" ], "coveredBy": [ - "113", - "114", - "467" + "120", + "121", + "122", + "123", + "124" ], "location": { "end": { - "column": 73, - "line": 296 + "column": 67, + "line": 319 }, "start": { - "column": 48, - "line": 296 + "column": 9, + "line": 317 } } }, { - "id": "1923", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1969", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1418:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "120" + ], "coveredBy": [ - "113" + "120", + "121", + "122", + "123", + "124" ], "location": { "end": { - "column": 6, - "line": 298 + "column": 67, + "line": 319 }, "start": { - "column": 76, - "line": 296 + "column": 9, + "line": 317 } } }, { - "id": "1924", - "mutatorName": "BlockStatement", - "replacement": "{}", + "id": "1970", + "mutatorName": "LogicalOperator", + "replacement": "(!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) || !stutteringJudgePlayer || !isPlayerAliveAndPowerful(stutteringJudgePlayer)) && gameHistoryJudgeRequestRecords.length >= voteRequestsCount", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "115", - "116", - "117", - "118", - "466", - "467", - "468" + "120", + "121", + "122", + "123", + "124" ], "location": { "end": { - "column": 4, - "line": 308 + "column": 67, + "line": 319 }, "start": { - "column": 122, - "line": 301 + "column": 9, + "line": 317 } } }, { - "id": "1925", + "id": "1971", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"`chosenSide` is required on this current game's state\"\nReceived: \"`chosenSide` can't be set on this current game's state\"\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1380:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"`doesJudgeRequestAnotherVote` can't be set on this current game's state\"\n\nNumber of calls: 0\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1419:43)", "status": "Killed", - "testsCompleted": 7, + "testsCompleted": 5, "static": false, "killedBy": [ - "115" + "120" ], "coveredBy": [ - "115", - "116", - "117", - "118", - "466", - "467", - "468" + "120", + "121", + "122", + "123", + "124" ], "location": { "end": { - "column": 80, - "line": 302 + "column": 83, + "line": 318 }, "start": { "column": 9, - "line": 302 + "line": 317 } } }, { - "id": "1926", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1387:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "id": "1972", + "mutatorName": "LogicalOperator", + "replacement": "(!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) || !stutteringJudgePlayer) && !isPlayerAliveAndPowerful(stutteringJudgePlayer)", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(317,142): 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": [ - "116" - ], + "killedBy": [], "coveredBy": [ - "115", - "116", - "117", - "118", - "466", - "467", - "468" + "120", + "121", + "122", + "123", + "124" ], "location": { "end": { - "column": 80, - "line": 302 + "column": 83, + "line": 318 }, "start": { "column": 9, - "line": 302 + "line": 317 } } }, { - "id": "1927", - "mutatorName": "LogicalOperator", - "replacement": "chosenSide || game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_SIDE", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1395:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "id": "1973", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(317,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", + "status": "CompileError", "static": false, - "killedBy": [ - "117" - ], + "killedBy": [], "coveredBy": [ - "115", - "116", - "117", - "118", - "466", - "467", - "468" + "120", + "121", + "122", + "123", + "124" ], "location": { "end": { - "column": 80, - "line": 302 + "column": 31, + "line": 318 }, "start": { "column": 9, - "line": 302 + "line": 317 } } }, { - "id": "1928", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1402:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1974", + "mutatorName": "LogicalOperator", + "replacement": "!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) && !stutteringJudgePlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(317,140): 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": [ - "118" - ], + "killedBy": [], "coveredBy": [ - "116", - "118" + "120", + "121", + "122", + "123", + "124" ], "location": { "end": { - "column": 80, - "line": 302 + "column": 31, + "line": 318 }, "start": { - "column": 23, - "line": 302 + "column": 9, + "line": 317 } } }, { - "id": "1929", - "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_SIDE", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1387:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1975", + "mutatorName": "BooleanLiteral", + "replacement": "stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action)", + "status": "Timeout", "static": false, - "killedBy": [ - "116" - ], + "killedBy": [], "coveredBy": [ - "116", - "118" + "120", + "121", + "122", + "123", + "124" ], "location": { "end": { - "column": 80, - "line": 302 + "column": 84, + "line": 317 }, "start": { - "column": 23, - "line": 302 + "column": 9, + "line": 317 } } }, { - "id": "1930", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1387:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "id": "1976", + "mutatorName": "BooleanLiteral", + "replacement": "stutteringJudgePlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(318,60): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "116" - ], + "killedBy": [], "coveredBy": [ - "116" + "121", + "122", + "123", + "124" ], "location": { "end": { - "column": 6, - "line": 304 + "column": 31, + "line": 318 }, "start": { - "column": 82, - "line": 302 + "column": 9, + "line": 318 } } }, { - "id": "1931", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", + "id": "1977", + "mutatorName": "BooleanLiteral", + "replacement": "isPlayerAliveAndPowerful(stutteringJudgePlayer)", + "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"`doesJudgeRequestAnotherVote` can't be set on this current game's state\"\n\nNumber of calls: 0\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1447:43)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "122" + ], "coveredBy": [ - "115", - "117", - "118", - "466", - "467", - "468" + "122", + "123", + "124" ], "location": { "end": { - "column": 81, - "line": 305 + "column": 83, + "line": 318 }, "start": { - "column": 9, - "line": 305 + "column": 35, + "line": 318 } } }, { - "id": "1932", + "id": "1978", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1379:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1465:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "115" + "123" ], "coveredBy": [ - "115", - "117", - "118", - "466", - "467", - "468" + "123", + "124" ], "location": { "end": { - "column": 81, - "line": 305 + "column": 67, + "line": 319 }, "start": { "column": 9, - "line": 305 + "line": 319 } } }, { - "id": "1933", - "mutatorName": "LogicalOperator", - "replacement": "!chosenSide || game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_SIDE", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1395:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1979", + "mutatorName": "EqualityOperator", + "replacement": "gameHistoryJudgeRequestRecords.length > voteRequestsCount", + "status": "Timeout", "static": false, - "killedBy": [ - "117" - ], + "killedBy": [], "coveredBy": [ - "115", - "117", - "118", - "466", - "467", - "468" + "123", + "124" ], "location": { "end": { - "column": 81, - "line": 305 + "column": 67, + "line": 319 }, "start": { "column": 9, - "line": 305 + "line": 319 } } }, { - "id": "1934", - "mutatorName": "BooleanLiteral", - "replacement": "chosenSide", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1379:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1980", + "mutatorName": "EqualityOperator", + "replacement": "gameHistoryJudgeRequestRecords.length < voteRequestsCount", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1465:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "115" + "123" ], "coveredBy": [ - "115", - "117", - "118", - "466", - "467", - "468" + "123", + "124" ], "location": { "end": { - "column": 20, - "line": 305 + "column": 67, + "line": 319 }, "start": { "column": 9, - "line": 305 + "line": 319 } } }, { - "id": "1935", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1395:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1981", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1418:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 4, "static": false, "killedBy": [ - "117" + "120" ], "coveredBy": [ - "115", - "117", - "466", - "467", - "468" + "120", + "121", + "122", + "123" ], "location": { "end": { - "column": 81, - "line": 305 + "column": 6, + "line": 321 }, "start": { - "column": 24, - "line": 305 + "column": 69, + "line": 319 } } - }, + } + ], + "source": "import { Injectable } from \"@nestjs/common\";\nimport { BAD_GAME_PLAY_PAYLOAD_REASONS } from \"../../../../../shared/exception/enums/bad-game-play-payload-error.enum\";\nimport { BadGamePlayPayloadException } from \"../../../../../shared/exception/types/bad-game-play-payload-exception.type\";\nimport { ROLE_NAMES } from \"../../../../role/enums/role.enum\";\nimport { optionalTargetsActions, requiredTargetsActions, requiredVotesActions, stutteringJudgeRequestOpportunityActions } from \"../../../constants/game-play.constant\";\nimport type { MakeGamePlayTargetWithRelationsDto } from \"../../../dto/make-game-play/make-game-play-target/make-game-play-target-with-relations.dto\";\nimport type { MakeGamePlayVoteWithRelationsDto } from \"../../../dto/make-game-play/make-game-play-vote/make-game-play-vote-with-relations.dto\";\nimport type { MakeGamePlayWithRelationsDto } from \"../../../dto/make-game-play/make-game-play-with-relations.dto\";\nimport { GAME_PLAY_ACTIONS, WITCH_POTIONS } from \"../../../enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../../../enums/player.enum\";\nimport { getLeftToCharmByPiedPiperPlayers, getLeftToEatByWerewolvesPlayers, getLeftToEatByWhiteWerewolfPlayers, getPlayerWithCurrentRole } from \"../../../helpers/game.helper\";\nimport { doesPlayerHaveAttribute, isPlayerAliveAndPowerful, isPlayerOnVillagersSide, isPlayerOnWerewolvesSide } from \"../../../helpers/player/player.helper\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { GameSource } from \"../../../types/game.type\";\nimport { GameHistoryRecordService } from \"../game-history/game-history-record.service\";\n\n@Injectable()\nexport class GamePlaysValidatorService {\n public constructor(private readonly gameHistoryRecordService: GameHistoryRecordService) {}\n\n public async validateGamePlayWithRelationsDtoData(play: MakeGamePlayWithRelationsDto, game: Game): Promise {\n const { votes, targets } = play;\n await this.validateGamePlayWithRelationsDtoJudgeRequestData(play, game);\n this.validateGamePlayWithRelationsDtoChosenSideData(play, game);\n this.validateGamePlayVotesWithRelationsDtoData(votes, game);\n await this.validateGamePlayTargetsWithRelationsDtoData(targets, game);\n this.validateGamePlayWithRelationsDtoChosenCardData(play, game);\n }\n\n private validateGamePlayWithRelationsDtoChosenCardData({ chosenCard }: MakeGamePlayWithRelationsDto, game: Game): void {\n if (!chosenCard) {\n if (game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_CARD) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.REQUIRED_CHOSEN_CARD);\n }\n return;\n }\n if (game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_CARD) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_CHOSEN_CARD);\n }\n }\n\n private validateDrankLifePotionTargets(drankLifePotionTargets: MakeGamePlayTargetWithRelationsDto[]): void {\n if (drankLifePotionTargets.length > 1) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.TOO_MUCH_DRANK_LIFE_POTION_TARGETS);\n }\n if (drankLifePotionTargets.length && (!doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) || !drankLifePotionTargets[0].player.isAlive)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_LIFE_POTION_TARGET);\n }\n }\n\n private validateDrankDeathPotionTargets(drankDeathPotionTargets: MakeGamePlayTargetWithRelationsDto[]): void {\n if (drankDeathPotionTargets.length > 1) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.TOO_MUCH_DRANK_DEATH_POTION_TARGETS);\n }\n if (drankDeathPotionTargets.length && !drankDeathPotionTargets[0].player.isAlive) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_DEATH_POTION_TARGET);\n }\n }\n\n private async validateGamePlayWitchTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): Promise {\n const drankPotionTargets = playTargets.filter(({ drankPotion }) => drankPotion !== undefined);\n const hasWitchUsedLifePotion = (await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.LIFE)).length > 0;\n const drankLifePotionTargets = drankPotionTargets.filter(({ drankPotion }) => drankPotion === WITCH_POTIONS.LIFE);\n const hasWitchUsedDeathPotion = (await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.DEATH)).length > 0;\n const drankDeathPotionTargets = drankPotionTargets.filter(({ drankPotion }) => drankPotion === WITCH_POTIONS.DEATH);\n if ((game.currentPlay.action !== GAME_PLAY_ACTIONS.USE_POTIONS || game.currentPlay.source !== ROLE_NAMES.WITCH) && drankPotionTargets.length ||\n hasWitchUsedLifePotion && drankLifePotionTargets.length || hasWitchUsedDeathPotion && drankDeathPotionTargets.length) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_DRANK_POTION_TARGET);\n }\n this.validateDrankLifePotionTargets(drankLifePotionTargets);\n this.validateDrankDeathPotionTargets(drankDeathPotionTargets);\n }\n\n private async validateGamePlayInfectedTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): Promise {\n const infectedTargets = playTargets.filter(({ isInfected }) => isInfected === true);\n if (!infectedTargets.length) {\n return;\n }\n const hasVileFatherOfWolvesInfected = (await this.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords(game._id)).length > 0;\n const vileFatherOfWolvesPlayer = getPlayerWithCurrentRole(game.players, ROLE_NAMES.VILE_FATHER_OF_WOLVES);\n if (game.currentPlay.action !== GAME_PLAY_ACTIONS.EAT || game.currentPlay.source !== PLAYER_GROUPS.WEREWOLVES ||\n !vileFatherOfWolvesPlayer || !isPlayerAliveAndPowerful(vileFatherOfWolvesPlayer) || hasVileFatherOfWolvesInfected) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_INFECTED_TARGET);\n }\n this.validateGamePlayTargetsBoundaries(infectedTargets, { min: 1, max: 1 });\n }\n \n private validateWerewolvesTargetsBoundaries(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n const leftToEatByWerewolvesPlayers = getLeftToEatByWerewolvesPlayers(game.players);\n const leftToEatByWhiteWerewolfPlayers = getLeftToEatByWhiteWerewolfPlayers(game.players);\n const bigBadWolfExpectedTargetsCount = leftToEatByWerewolvesPlayers.length ? 1 : 0;\n const whiteWerewolfMaxTargetsCount = leftToEatByWhiteWerewolfPlayers.length ? 1 : 0;\n const werewolvesSourceTargetsBoundaries: Partial> = {\n [PLAYER_GROUPS.WEREWOLVES]: { min: 1, max: 1 },\n [ROLE_NAMES.BIG_BAD_WOLF]: { min: bigBadWolfExpectedTargetsCount, max: bigBadWolfExpectedTargetsCount },\n [ROLE_NAMES.WHITE_WEREWOLF]: { min: 0, max: whiteWerewolfMaxTargetsCount },\n };\n const targetsBoundaries = werewolvesSourceTargetsBoundaries[game.currentPlay.source];\n if (!targetsBoundaries) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, targetsBoundaries);\n }\n\n private validateGamePlayWerewolvesTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.action !== GAME_PLAY_ACTIONS.EAT) {\n return;\n }\n this.validateWerewolvesTargetsBoundaries(playTargets, game);\n if (!playTargets.length) {\n return;\n }\n const targetedPlayer = playTargets[0].player;\n if (game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES && (!targetedPlayer.isAlive || !isPlayerOnVillagersSide(targetedPlayer))) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_WEREWOLVES_TARGET);\n }\n if (game.currentPlay.source === ROLE_NAMES.BIG_BAD_WOLF &&\n (!targetedPlayer.isAlive || !isPlayerOnVillagersSide(targetedPlayer) || doesPlayerHaveAttribute(targetedPlayer, PLAYER_ATTRIBUTE_NAMES.EATEN))) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_BIG_BAD_WOLF_TARGET);\n }\n const whiteWerewolfPlayer = getPlayerWithCurrentRole(game.players, ROLE_NAMES.WHITE_WEREWOLF);\n if (game.currentPlay.source === ROLE_NAMES.WHITE_WEREWOLF && (!targetedPlayer.isAlive || !isPlayerOnWerewolvesSide(targetedPlayer) ||\n whiteWerewolfPlayer?._id === targetedPlayer._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_WHITE_WEREWOLF_TARGET);\n }\n }\n\n private validateGamePlayHunterTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.action !== GAME_PLAY_ACTIONS.SHOOT || game.currentPlay.source !== ROLE_NAMES.HUNTER) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 1, max: 1 });\n const targetedPlayer = playTargets[0].player;\n if (!targetedPlayer.isAlive) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_HUNTER_TARGET);\n }\n }\n\n private validateGamePlayScapegoatTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.action !== GAME_PLAY_ACTIONS.BAN_VOTING || game.currentPlay.source !== ROLE_NAMES.SCAPEGOAT) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 0, max: game.players.length });\n if (playTargets.some(({ player }) => !player.isAlive)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_SCAPEGOAT_TARGETS);\n }\n }\n\n private validateGamePlayCupidTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.CUPID || game.currentPlay.action !== GAME_PLAY_ACTIONS.CHARM) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 2, max: 2 });\n if (playTargets.some(({ player }) => !player.isAlive)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_CUPID_TARGETS);\n }\n }\n\n private validateGamePlayFoxTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.FOX || game.currentPlay.action !== GAME_PLAY_ACTIONS.SNIFF) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 0, max: 1 });\n const targetedPlayer = playTargets[0].player;\n if (!targetedPlayer.isAlive) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_FOX_TARGET);\n }\n }\n\n private validateGamePlaySeerTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.SEER || game.currentPlay.action !== GAME_PLAY_ACTIONS.LOOK) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 1, max: 1 });\n const seerPlayer = getPlayerWithCurrentRole(game.players, ROLE_NAMES.SEER);\n const targetedPlayer = playTargets[0].player;\n if (!targetedPlayer.isAlive || targetedPlayer._id === seerPlayer?._id) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_SEER_TARGET);\n }\n }\n\n private validateGamePlayRavenTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.RAVEN || game.currentPlay.action !== GAME_PLAY_ACTIONS.MARK) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 0, max: 1 });\n if (playTargets.length && !playTargets[0].player.isAlive) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_RAVEN_TARGET);\n }\n }\n\n private validateGamePlayWildChildTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.WILD_CHILD || game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_MODEL) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 1, max: 1 });\n const wildChildPlayer = getPlayerWithCurrentRole(game.players, ROLE_NAMES.WILD_CHILD);\n const targetedPlayer = playTargets[0].player;\n if (!targetedPlayer.isAlive || targetedPlayer._id === wildChildPlayer?._id) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_WILD_CHILD_TARGET);\n }\n }\n\n private validateGamePlayPiedPiperTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.PIED_PIPER || game.currentPlay.action !== GAME_PLAY_ACTIONS.CHARM) {\n return;\n }\n const { charmedPeopleCountPerNight } = game.options.roles.piedPiper;\n const leftToCharmByPiedPiperPlayers = getLeftToCharmByPiedPiperPlayers(game.players);\n const leftToCharmByPiedPiperPlayersCount = leftToCharmByPiedPiperPlayers.length;\n const countToCharm = Math.min(charmedPeopleCountPerNight, leftToCharmByPiedPiperPlayersCount);\n this.validateGamePlayTargetsBoundaries(playTargets, { min: countToCharm, max: countToCharm });\n if (playTargets.some(({ player }) => !leftToCharmByPiedPiperPlayers.find(({ _id }) => player._id === _id))) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_PIED_PIPER_TARGETS);\n }\n }\n\n private async validateGamePlayGuardTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): Promise {\n if (game.currentPlay.source !== ROLE_NAMES.GUARD || game.currentPlay.action !== GAME_PLAY_ACTIONS.PROTECT) {\n return;\n }\n const { canProtectTwice } = game.options.roles.guard;\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 1, max: 1 });\n const lastGuardHistoryRecord = await this.gameHistoryRecordService.getLastGameHistoryGuardProtectsRecord(game._id);\n const lastProtectedPlayer = lastGuardHistoryRecord?.play.targets?.[0].player;\n const targetedPlayer = playTargets[0].player;\n if (!targetedPlayer.isAlive || !canProtectTwice && lastProtectedPlayer?._id === targetedPlayer._id) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_GUARD_TARGET);\n }\n }\n\n private async validateGamePlaySheriffTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): Promise {\n if (game.currentPlay.source !== PLAYER_ATTRIBUTE_NAMES.SHERIFF || ![GAME_PLAY_ACTIONS.DELEGATE, GAME_PLAY_ACTIONS.SETTLE_VOTES].includes(game.currentPlay.action)) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 1, max: 1 });\n const targetedPlayer = playTargets[0].player;\n if (game.currentPlay.action === GAME_PLAY_ACTIONS.DELEGATE && !targetedPlayer.isAlive) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_SHERIFF_DELEGATE_TARGET);\n }\n const lastTieInVotesRecord = await this.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord(game._id);\n const lastTieInVotesRecordTargets = lastTieInVotesRecord?.play.targets ?? [];\n if (game.currentPlay.action === GAME_PLAY_ACTIONS.SETTLE_VOTES && !lastTieInVotesRecordTargets.find(({ player }) => player._id === targetedPlayer._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_SHERIFF_SETTLE_VOTES_TARGET);\n }\n }\n\n private validateGamePlayTargetsBoundaries(playTargets: MakeGamePlayTargetWithRelationsDto[], lengthBoundaries: { min: number; max: number }): void {\n if (playTargets.length < lengthBoundaries.min) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.TOO_LESS_TARGETS);\n }\n if (playTargets.length > lengthBoundaries.max) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.TOO_MUCH_TARGETS);\n }\n }\n\n private async validateGamePlayRoleTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): Promise {\n await this.validateGamePlaySheriffTargets(playTargets, game);\n await this.validateGamePlayGuardTargets(playTargets, game);\n this.validateGamePlayPiedPiperTargets(playTargets, game);\n this.validateGamePlayWildChildTargets(playTargets, game);\n this.validateGamePlayRavenTargets(playTargets, game);\n this.validateGamePlaySeerTargets(playTargets, game);\n this.validateGamePlayFoxTargets(playTargets, game);\n this.validateGamePlayCupidTargets(playTargets, game);\n this.validateGamePlayScapegoatTargets(playTargets, game);\n this.validateGamePlayHunterTargets(playTargets, game);\n this.validateGamePlayWerewolvesTargets(playTargets, game);\n await this.validateGamePlayInfectedTargets(playTargets, game);\n await this.validateGamePlayWitchTargets(playTargets, game);\n }\n\n private async validateGamePlayTargetsWithRelationsDtoData(playTargets: MakeGamePlayTargetWithRelationsDto[] | undefined, game: Game): Promise {\n if (playTargets === undefined || !playTargets.length) {\n if (requiredTargetsActions.includes(game.currentPlay.action)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.REQUIRED_TARGETS);\n }\n return;\n }\n if (![...requiredTargetsActions, ...optionalTargetsActions].includes(game.currentPlay.action)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_TARGETS);\n }\n await this.validateGamePlayRoleTargets(playTargets, game);\n }\n\n private validateGamePlayVotesWithRelationsDtoData(playVotes: MakeGamePlayVoteWithRelationsDto[] | undefined, game: Game): void {\n if (playVotes === undefined || !playVotes.length) {\n if (requiredVotesActions.includes(game.currentPlay.action)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.REQUIRED_VOTES);\n }\n return;\n }\n if (!requiredVotesActions.includes(game.currentPlay.action)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_VOTES);\n }\n if (playVotes.some(({ source, target }) => source._id === target._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.SAME_SOURCE_AND_TARGET_VOTE);\n }\n }\n\n private validateGamePlayWithRelationsDtoChosenSideData({ chosenSide }: MakeGamePlayWithRelationsDto, game: Game): void {\n if (chosenSide && game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_SIDE) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_CHOSEN_SIDE);\n }\n if (!chosenSide && game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_SIDE) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.REQUIRED_CHOSEN_SIDE);\n }\n }\n\n private async validateGamePlayWithRelationsDtoJudgeRequestData({ doesJudgeRequestAnotherVote }: MakeGamePlayWithRelationsDto, game: Game): Promise {\n if (doesJudgeRequestAnotherVote === undefined) {\n return;\n }\n const { voteRequestsCount } = game.options.roles.stutteringJudge;\n const gameHistoryJudgeRequestRecords = await this.gameHistoryRecordService.getGameHistoryJudgeRequestRecords(game._id);\n const stutteringJudgePlayer = getPlayerWithCurrentRole(game.players, ROLE_NAMES.STUTTERING_JUDGE);\n if (!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) ||\n !stutteringJudgePlayer || !isPlayerAliveAndPowerful(stutteringJudgePlayer) ||\n gameHistoryJudgeRequestRecords.length >= voteRequestsCount) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_STUTTERING_JUDGE_VOTE_REQUEST);\n }\n }\n}" + }, + "src/modules/game/providers/services/game-random-composition.service.ts": { + "language": "typescript", + "mutants": [ { - "id": "1936", - "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_SIDE", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1379:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1982", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.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": [ - "115" - ], + "killedBy": [], "coveredBy": [ - "115", - "117", - "466", - "467", - "468" + "440", + "581", + "582", + "583", + "584", + "585" ], "location": { "end": { - "column": 81, - "line": 305 + "column": 4, + "line": 27 }, "start": { - "column": 24, - "line": 305 + "column": 138, + "line": 13 } } }, { - "id": "1937", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1379:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1983", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:38:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "115" + "583" ], "coveredBy": [ - "115" + "440", + "581", + "582", + "583", + "584", + "585" ], "location": { "end": { - "column": 6, - "line": 307 + "column": 95, + "line": 16 }, "start": { - "column": 83, - "line": 305 + "column": 32, + "line": 16 } } }, { - "id": "1938", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1418:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1984", + "mutatorName": "ArrayDeclaration", + "replacement": "[]", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(21,48): error TS2339: Property 'name' does not exist on type 'never'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "120" - ], + "killedBy": [], "coveredBy": [ - "119", - "120", - "121", - "122", - "123", - "124", - "466", - "467", - "468" + "440", + "581", + "582", + "583", + "584", + "585" ], "location": { "end": { - "column": 4, - "line": 322 + "column": 6, + "line": 20 }, "start": { - "column": 156, - "line": 310 + "column": 25, + "line": 17 } } }, { - "id": "1939", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(318,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", + "id": "1985", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(22,101): error TS2322: Type 'undefined' is not assignable to type 'GetGameRandomCompositionPlayerResponseDto'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "119", - "120", - "121", - "122", - "123", - "124", - "466", - "467", - "468" + "440", + "581", + "582", + "583", + "584", + "585" ], "location": { "end": { - "column": 50, - "line": 311 + "column": 7, + "line": 26 }, "start": { - "column": 9, - "line": 311 + "column": 95, + "line": 22 } } }, { - "id": "1940", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:644:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1986", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "TypeError: Cannot read properties of undefined (reading 'current')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:217: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:317:30)\n at Object.throwingMatcher [as toSatisfyAll] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:318:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:216:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 9, + "testsCompleted": 6, "static": false, "killedBy": [ - "466" + "440" ], "coveredBy": [ - "119", - "120", - "121", - "122", - "123", - "124", - "466", - "467", - "468" + "440", + "581", + "582", + "583", + "584", + "585" ], "location": { "end": { - "column": 50, - "line": 311 + "column": 6, + "line": 26 }, "start": { - "column": 9, - "line": 311 + "column": 173, + "line": 22 } } }, { - "id": "1941", - "mutatorName": "EqualityOperator", - "replacement": "doesJudgeRequestAnotherVote !== 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\": \"`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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:644:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1987", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toSatisfyAll(expected)\n\nExpected array to satisfy predicate for all values:\n [Function anonymous]\nReceived:\n [{\"name\": \"1\", \"role\": {}, \"side\": {}}, {\"name\": \"2\", \"role\": {}, \"side\": {}}, {\"name\": \"3\", \"role\": {}, \"side\": {}}, {\"name\": \"4\", \"role\": {}, \"side\": {}}, {\"name\": \"5\", \"role\": {}, \"side\": {}}, {\"name\": \"6\", \"role\": {}, \"side\": {}}, {\"name\": \"7\", \"role\": {}, \"side\": {}}, {\"name\": \"8\", \"role\": {}, \"side\": {}}, {\"name\": \"9\", \"role\": {}, \"side\": {}}, {\"name\": \"10\", \"role\": {}, \"side\": {}}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:216:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 9, + "testsCompleted": 6, "static": false, "killedBy": [ - "466" + "440" ], "coveredBy": [ - "119", - "120", - "121", - "122", - "123", - "124", - "466", - "467", - "468" + "440", + "581", + "582", + "583", + "584", + "585" ], "location": { "end": { - "column": 50, - "line": 311 + "column": 54, + "line": 24 }, "start": { - "column": 9, - "line": 311 + "column": 13, + "line": 24 } } }, { - "id": "1942", + "id": "1988", "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:644:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 4, + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(29,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "466" - ], + "killedBy": [], "coveredBy": [ - "119", - "466", - "467", - "468" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 6, - "line": 313 + "column": 4, + "line": 50 }, "start": { - "column": 52, - "line": 311 + "column": 109, + "line": 29 } } }, { - "id": "1943", - "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/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1481:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1989", + "mutatorName": "ArrayDeclaration", + "replacement": "[\"Stryker was here\"]", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(30,34): error TS2322: Type 'string' is not assignable to type 'Role'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "124" - ], + "killedBy": [], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 67, - "line": 319 + "column": 35, + "line": 30 }, "start": { - "column": 9, - "line": 317 + "column": 33, + "line": 30 } } }, { - "id": "1944", + "id": "1990", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1418:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:48:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 13, "static": false, "killedBy": [ - "120" + "586" ], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 67, - "line": 319 + "column": 59, + "line": 32 }, "start": { - "column": 9, - "line": 317 + "column": 30, + "line": 32 } } }, { - "id": "1945", - "mutatorName": "LogicalOperator", - "replacement": "(!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) || !stutteringJudgePlayer || !isPlayerAliveAndPowerful(stutteringJudgePlayer)) && gameHistoryJudgeRequestRecords.length >= voteRequestsCount", - "status": "Timeout", + "id": "1991", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:55:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "587" + ], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 67, - "line": 319 + "column": 59, + "line": 32 }, "start": { - "column": 9, - "line": 317 + "column": 30, + "line": 32 } } }, { - "id": "1946", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"`doesJudgeRequestAnotherVote` can't be set on this current game's state\"\n\nNumber of calls: 0\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1419:43)", + "id": "1992", + "mutatorName": "EqualityOperator", + "replacement": "side !== ROLE_SIDES.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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:48:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 13, "static": false, "killedBy": [ - "120" + "586" ], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 83, - "line": 318 + "column": 59, + "line": 32 }, "start": { - "column": 9, - "line": 317 + "column": 30, + "line": 32 } } }, { - "id": "1947", - "mutatorName": "LogicalOperator", - "replacement": "(!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) || !stutteringJudgePlayer) && !isPlayerAliveAndPowerful(stutteringJudgePlayer)", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(317,142): 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": "1993", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(42,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(44,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,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": [ - "120", - "121", - "122", - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 83, - "line": 318 + "column": 41, + "line": 34 }, "start": { - "column": 9, - "line": 317 + "column": 21, + "line": 34 } } }, { - "id": "1948", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(317,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", - "status": "CompileError", + "id": "1994", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:38:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "583" + ], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 31, - "line": 318 + "column": 41, + "line": 34 }, "start": { - "column": 9, - "line": 317 + "column": 21, + "line": 34 } } }, { - "id": "1949", - "mutatorName": "LogicalOperator", - "replacement": "!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) && !stutteringJudgePlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(317,140): 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": "1995", + "mutatorName": "EqualityOperator", + "replacement": "i >= rolesToPickCount", + "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:215:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 13, "static": false, - "killedBy": [], + "killedBy": [ + "440" + ], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 31, - "line": 318 + "column": 41, + "line": 34 }, "start": { - "column": 9, - "line": 317 + "column": 21, + "line": 34 } } }, { - "id": "1950", - "mutatorName": "BooleanLiteral", - "replacement": "stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action)", + "id": "1996", + "mutatorName": "AssignmentOperator", + "replacement": "i -= randomRolesToPickCount", + "statusReason": "Hit limit reached (43213/43200)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 84, - "line": 317 + "column": 70, + "line": 34 }, "start": { - "column": 9, - "line": 317 + "column": 43, + "line": 34 } } }, { - "id": "1951", - "mutatorName": "BooleanLiteral", - "replacement": "stutteringJudgePlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-plays-validator.service.ts(318,60): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "id": "1997", + "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:215:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 13, "static": false, - "killedBy": [], + "killedBy": [ + "440" + ], "coveredBy": [ - "121", - "122", - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 31, - "line": 318 + "column": 6, + "line": 48 }, "start": { - "column": 9, - "line": 318 + "column": 72, + "line": 34 } } }, { - "id": "1952", - "mutatorName": "BooleanLiteral", - "replacement": "isPlayerAliveAndPowerful(stutteringJudgePlayer)", - "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"`doesJudgeRequestAnotherVote` can't be set on this current game's state\"\n\nNumber of calls: 0\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1447:43)", + "id": "1998", + "mutatorName": "ArithmeticOperator", + "replacement": "rolesToPickCount + i", + "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 108\nReceived array: [{\"maxInGame\": 0, \"name\": \"witch\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:88:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 13, "static": false, "killedBy": [ - "122" + "589" ], "coveredBy": [ - "122", - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 83, - "line": 318 + "column": 56, + "line": 35 }, - "start": { - "column": 35, - "line": 318 + "start": { + "column": 36, + "line": 35 } } }, { - "id": "1953", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1465:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1999", + "mutatorName": "MethodExpression", + "replacement": "availableSidedRoles", + "status": "Timeout", "static": false, - "killedBy": [ - "123" - ], + "killedBy": [], "coveredBy": [ - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 67, - "line": 319 + "column": 157, + "line": 36 }, "start": { - "column": 9, - "line": 319 + "column": 31, + "line": 36 } } }, { - "id": "1954", - "mutatorName": "EqualityOperator", - "replacement": "gameHistoryJudgeRequestRecords.length > voteRequestsCount", - "status": "Timeout", + "id": "2000", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"witch\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"pied-piper\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:66:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "588" + ], "coveredBy": [ - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 67, - "line": 319 + "column": 156, + "line": 36 }, "start": { - "column": 9, - "line": 319 + "column": 58, + "line": 36 } } }, { - "id": "1955", - "mutatorName": "EqualityOperator", - "replacement": "gameHistoryJudgeRequestRecords.length < voteRequestsCount", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1465:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2001", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:39:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "123" + "582" ], "coveredBy": [ - "123", - "124" + "440", + "581", + "582", + "583", + "584", + "585", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 67, - "line": 319 + "column": 156, + "line": 36 }, "start": { - "column": 9, - "line": 319 + "column": 66, + "line": 36 } } }, { - "id": "1956", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/unit/specs/modules/game/providers/services/game-play/game-plays-validator.service.spec.ts:1418:137)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2002", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"witch\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"pied-piper\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:66:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "120" + "588" ], "coveredBy": [ - "120", - "121", - "122", - "123" + "440", + "581", + "582", + "583", + "584", + "585", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 6, - "line": 321 + "column": 156, + "line": 36 }, "start": { - "column": 69, - "line": 319 + "column": 66, + "line": 36 } } - } - ], - "source": "import { Injectable } from \"@nestjs/common\";\nimport { BAD_GAME_PLAY_PAYLOAD_REASONS } from \"../../../../../shared/exception/enums/bad-game-play-payload-error.enum\";\nimport { BadGamePlayPayloadException } from \"../../../../../shared/exception/types/bad-game-play-payload-exception.type\";\nimport { ROLE_NAMES } from \"../../../../role/enums/role.enum\";\nimport { optionalTargetsActions, requiredTargetsActions, requiredVotesActions, stutteringJudgeRequestOpportunityActions } from \"../../../constants/game-play.constant\";\nimport type { MakeGamePlayTargetWithRelationsDto } from \"../../../dto/make-game-play/make-game-play-target/make-game-play-target-with-relations.dto\";\nimport type { MakeGamePlayVoteWithRelationsDto } from \"../../../dto/make-game-play/make-game-play-vote/make-game-play-vote-with-relations.dto\";\nimport type { MakeGamePlayWithRelationsDto } from \"../../../dto/make-game-play/make-game-play-with-relations.dto\";\nimport { GAME_PLAY_ACTIONS, WITCH_POTIONS } from \"../../../enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../../../enums/player.enum\";\nimport { getLeftToCharmByPiedPiperPlayers, getLeftToEatByWerewolvesPlayers, getLeftToEatByWhiteWerewolfPlayers, getPlayerWithCurrentRole } from \"../../../helpers/game.helper\";\nimport { doesPlayerHaveAttribute, isPlayerAliveAndPowerful, isPlayerOnVillagersSide, isPlayerOnWerewolvesSide } from \"../../../helpers/player/player.helper\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { GameSource } from \"../../../types/game.type\";\nimport { GameHistoryRecordService } from \"../game-history/game-history-record.service\";\n\n@Injectable()\nexport class GamePlaysValidatorService {\n public constructor(private readonly gameHistoryRecordService: GameHistoryRecordService) {}\n\n public async validateGamePlayWithRelationsDtoData(play: MakeGamePlayWithRelationsDto, game: Game): Promise {\n const { votes, targets } = play;\n await this.validateGamePlayWithRelationsDtoJudgeRequestData(play, game);\n this.validateGamePlayWithRelationsDtoChosenSideData(play, game);\n this.validateGamePlayVotesWithRelationsDtoData(votes, game);\n await this.validateGamePlayTargetsWithRelationsDtoData(targets, game);\n this.validateGamePlayWithRelationsDtoChosenCardData(play, game);\n }\n\n private validateGamePlayWithRelationsDtoChosenCardData({ chosenCard }: MakeGamePlayWithRelationsDto, game: Game): void {\n if (!chosenCard) {\n if (game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_CARD) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.REQUIRED_CHOSEN_CARD);\n }\n return;\n }\n if (game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_CARD) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_CHOSEN_CARD);\n }\n }\n\n private validateDrankLifePotionTargets(drankLifePotionTargets: MakeGamePlayTargetWithRelationsDto[]): void {\n if (drankLifePotionTargets.length > 1) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.TOO_MUCH_DRANK_LIFE_POTION_TARGETS);\n }\n if (drankLifePotionTargets.length && (!doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) || !drankLifePotionTargets[0].player.isAlive)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_LIFE_POTION_TARGET);\n }\n }\n\n private validateDrankDeathPotionTargets(drankDeathPotionTargets: MakeGamePlayTargetWithRelationsDto[]): void {\n if (drankDeathPotionTargets.length > 1) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.TOO_MUCH_DRANK_DEATH_POTION_TARGETS);\n }\n if (drankDeathPotionTargets.length && !drankDeathPotionTargets[0].player.isAlive) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_DEATH_POTION_TARGET);\n }\n }\n\n private async validateGamePlayWitchTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): Promise {\n const drankPotionTargets = playTargets.filter(({ drankPotion }) => drankPotion !== undefined);\n const hasWitchUsedLifePotion = (await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.LIFE)).length > 0;\n const drankLifePotionTargets = drankPotionTargets.filter(({ drankPotion }) => drankPotion === WITCH_POTIONS.LIFE);\n const hasWitchUsedDeathPotion = (await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.DEATH)).length > 0;\n const drankDeathPotionTargets = drankPotionTargets.filter(({ drankPotion }) => drankPotion === WITCH_POTIONS.DEATH);\n if ((game.currentPlay.action !== GAME_PLAY_ACTIONS.USE_POTIONS || game.currentPlay.source !== ROLE_NAMES.WITCH) && drankPotionTargets.length ||\n hasWitchUsedLifePotion && drankLifePotionTargets.length || hasWitchUsedDeathPotion && drankDeathPotionTargets.length) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_DRANK_POTION_TARGET);\n }\n this.validateDrankLifePotionTargets(drankLifePotionTargets);\n this.validateDrankDeathPotionTargets(drankDeathPotionTargets);\n }\n\n private async validateGamePlayInfectedTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): Promise {\n const infectedTargets = playTargets.filter(({ isInfected }) => isInfected === true);\n if (!infectedTargets.length) {\n return;\n }\n const hasVileFatherOfWolvesInfected = (await this.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords(game._id)).length > 0;\n const vileFatherOfWolvesPlayer = getPlayerWithCurrentRole(game.players, ROLE_NAMES.VILE_FATHER_OF_WOLVES);\n if (game.currentPlay.action !== GAME_PLAY_ACTIONS.EAT || game.currentPlay.source !== PLAYER_GROUPS.WEREWOLVES ||\n !vileFatherOfWolvesPlayer || !isPlayerAliveAndPowerful(vileFatherOfWolvesPlayer) || hasVileFatherOfWolvesInfected) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_INFECTED_TARGET);\n }\n this.validateGamePlayTargetsBoundaries(infectedTargets, { min: 1, max: 1 });\n }\n \n private validateWerewolvesTargetsBoundaries(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n const leftToEatByWerewolvesPlayers = getLeftToEatByWerewolvesPlayers(game.players);\n const leftToEatByWhiteWerewolfPlayers = getLeftToEatByWhiteWerewolfPlayers(game.players);\n const bigBadWolfExpectedTargetsCount = leftToEatByWerewolvesPlayers.length ? 1 : 0;\n const whiteWerewolfMaxTargetsCount = leftToEatByWhiteWerewolfPlayers.length ? 1 : 0;\n const werewolvesSourceTargetsBoundaries: Partial> = {\n [PLAYER_GROUPS.WEREWOLVES]: { min: 1, max: 1 },\n [ROLE_NAMES.BIG_BAD_WOLF]: { min: bigBadWolfExpectedTargetsCount, max: bigBadWolfExpectedTargetsCount },\n [ROLE_NAMES.WHITE_WEREWOLF]: { min: 0, max: whiteWerewolfMaxTargetsCount },\n };\n const targetsBoundaries = werewolvesSourceTargetsBoundaries[game.currentPlay.source];\n if (!targetsBoundaries) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, targetsBoundaries);\n }\n\n private validateGamePlayWerewolvesTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.action !== GAME_PLAY_ACTIONS.EAT) {\n return;\n }\n this.validateWerewolvesTargetsBoundaries(playTargets, game);\n if (!playTargets.length) {\n return;\n }\n const targetedPlayer = playTargets[0].player;\n if (game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES && (!targetedPlayer.isAlive || !isPlayerOnVillagersSide(targetedPlayer))) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_WEREWOLVES_TARGET);\n }\n if (game.currentPlay.source === ROLE_NAMES.BIG_BAD_WOLF &&\n (!targetedPlayer.isAlive || !isPlayerOnVillagersSide(targetedPlayer) || doesPlayerHaveAttribute(targetedPlayer, PLAYER_ATTRIBUTE_NAMES.EATEN))) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_BIG_BAD_WOLF_TARGET);\n }\n const whiteWerewolfPlayer = getPlayerWithCurrentRole(game.players, ROLE_NAMES.WHITE_WEREWOLF);\n if (game.currentPlay.source === ROLE_NAMES.WHITE_WEREWOLF && (!targetedPlayer.isAlive || !isPlayerOnWerewolvesSide(targetedPlayer) ||\n whiteWerewolfPlayer?._id === targetedPlayer._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_WHITE_WEREWOLF_TARGET);\n }\n }\n\n private validateGamePlayHunterTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.action !== GAME_PLAY_ACTIONS.SHOOT || game.currentPlay.source !== ROLE_NAMES.HUNTER) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 1, max: 1 });\n const targetedPlayer = playTargets[0].player;\n if (!targetedPlayer.isAlive) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_HUNTER_TARGET);\n }\n }\n\n private validateGamePlayScapegoatTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.action !== GAME_PLAY_ACTIONS.BAN_VOTING || game.currentPlay.source !== ROLE_NAMES.SCAPEGOAT) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 0, max: game.players.length });\n if (playTargets.some(({ player }) => !player.isAlive)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_SCAPEGOAT_TARGETS);\n }\n }\n\n private validateGamePlayCupidTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.CUPID || game.currentPlay.action !== GAME_PLAY_ACTIONS.CHARM) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 2, max: 2 });\n if (playTargets.some(({ player }) => !player.isAlive)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_CUPID_TARGETS);\n }\n }\n\n private validateGamePlayFoxTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.FOX || game.currentPlay.action !== GAME_PLAY_ACTIONS.SNIFF) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 0, max: 1 });\n const targetedPlayer = playTargets[0].player;\n if (!targetedPlayer.isAlive) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_FOX_TARGET);\n }\n }\n\n private validateGamePlaySeerTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.SEER || game.currentPlay.action !== GAME_PLAY_ACTIONS.LOOK) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 1, max: 1 });\n const seerPlayer = getPlayerWithCurrentRole(game.players, ROLE_NAMES.SEER);\n const targetedPlayer = playTargets[0].player;\n if (!targetedPlayer.isAlive || targetedPlayer._id === seerPlayer?._id) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_SEER_TARGET);\n }\n }\n\n private validateGamePlayRavenTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.RAVEN || game.currentPlay.action !== GAME_PLAY_ACTIONS.MARK) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 0, max: 1 });\n if (playTargets.length && !playTargets[0].player.isAlive) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_RAVEN_TARGET);\n }\n }\n\n private validateGamePlayWildChildTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.WILD_CHILD || game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_MODEL) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 1, max: 1 });\n const wildChildPlayer = getPlayerWithCurrentRole(game.players, ROLE_NAMES.WILD_CHILD);\n const targetedPlayer = playTargets[0].player;\n if (!targetedPlayer.isAlive || targetedPlayer._id === wildChildPlayer?._id) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_WILD_CHILD_TARGET);\n }\n }\n\n private validateGamePlayPiedPiperTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): void {\n if (game.currentPlay.source !== ROLE_NAMES.PIED_PIPER || game.currentPlay.action !== GAME_PLAY_ACTIONS.CHARM) {\n return;\n }\n const { charmedPeopleCountPerNight } = game.options.roles.piedPiper;\n const leftToCharmByPiedPiperPlayers = getLeftToCharmByPiedPiperPlayers(game.players);\n const leftToCharmByPiedPiperPlayersCount = leftToCharmByPiedPiperPlayers.length;\n const countToCharm = Math.min(charmedPeopleCountPerNight, leftToCharmByPiedPiperPlayersCount);\n this.validateGamePlayTargetsBoundaries(playTargets, { min: countToCharm, max: countToCharm });\n if (playTargets.some(({ player }) => !leftToCharmByPiedPiperPlayers.find(({ _id }) => player._id === _id))) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_PIED_PIPER_TARGETS);\n }\n }\n\n private async validateGamePlayGuardTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): Promise {\n if (game.currentPlay.source !== ROLE_NAMES.GUARD || game.currentPlay.action !== GAME_PLAY_ACTIONS.PROTECT) {\n return;\n }\n const { canProtectTwice } = game.options.roles.guard;\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 1, max: 1 });\n const lastGuardHistoryRecord = await this.gameHistoryRecordService.getLastGameHistoryGuardProtectsRecord(game._id);\n const lastProtectedPlayer = lastGuardHistoryRecord?.play.targets?.[0].player;\n const targetedPlayer = playTargets[0].player;\n if (!targetedPlayer.isAlive || !canProtectTwice && lastProtectedPlayer?._id === targetedPlayer._id) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_GUARD_TARGET);\n }\n }\n\n private async validateGamePlaySheriffTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): Promise {\n if (game.currentPlay.source !== PLAYER_ATTRIBUTE_NAMES.SHERIFF || ![GAME_PLAY_ACTIONS.DELEGATE, GAME_PLAY_ACTIONS.SETTLE_VOTES].includes(game.currentPlay.action)) {\n return;\n }\n this.validateGamePlayTargetsBoundaries(playTargets, { min: 1, max: 1 });\n const targetedPlayer = playTargets[0].player;\n if (game.currentPlay.action === GAME_PLAY_ACTIONS.DELEGATE && !targetedPlayer.isAlive) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_SHERIFF_DELEGATE_TARGET);\n }\n const lastTieInVotesRecord = await this.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord(game._id);\n const lastTieInVotesRecordTargets = lastTieInVotesRecord?.play.targets ?? [];\n if (game.currentPlay.action === GAME_PLAY_ACTIONS.SETTLE_VOTES && !lastTieInVotesRecordTargets.find(({ player }) => player._id === targetedPlayer._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_SHERIFF_SETTLE_VOTES_TARGET);\n }\n }\n\n private validateGamePlayTargetsBoundaries(playTargets: MakeGamePlayTargetWithRelationsDto[], lengthBoundaries: { min: number; max: number }): void {\n if (playTargets.length < lengthBoundaries.min) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.TOO_LESS_TARGETS);\n }\n if (playTargets.length > lengthBoundaries.max) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.TOO_MUCH_TARGETS);\n }\n }\n\n private async validateGamePlayRoleTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: Game): Promise {\n await this.validateGamePlaySheriffTargets(playTargets, game);\n await this.validateGamePlayGuardTargets(playTargets, game);\n this.validateGamePlayPiedPiperTargets(playTargets, game);\n this.validateGamePlayWildChildTargets(playTargets, game);\n this.validateGamePlayRavenTargets(playTargets, game);\n this.validateGamePlaySeerTargets(playTargets, game);\n this.validateGamePlayFoxTargets(playTargets, game);\n this.validateGamePlayCupidTargets(playTargets, game);\n this.validateGamePlayScapegoatTargets(playTargets, game);\n this.validateGamePlayHunterTargets(playTargets, game);\n this.validateGamePlayWerewolvesTargets(playTargets, game);\n await this.validateGamePlayInfectedTargets(playTargets, game);\n await this.validateGamePlayWitchTargets(playTargets, game);\n }\n\n private async validateGamePlayTargetsWithRelationsDtoData(playTargets: MakeGamePlayTargetWithRelationsDto[] | undefined, game: Game): Promise {\n if (playTargets === undefined || !playTargets.length) {\n if (requiredTargetsActions.includes(game.currentPlay.action)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.REQUIRED_TARGETS);\n }\n return;\n }\n if (![...requiredTargetsActions, ...optionalTargetsActions].includes(game.currentPlay.action)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_TARGETS);\n }\n await this.validateGamePlayRoleTargets(playTargets, game);\n }\n\n private validateGamePlayVotesWithRelationsDtoData(playVotes: MakeGamePlayVoteWithRelationsDto[] | undefined, game: Game): void {\n if (playVotes === undefined || !playVotes.length) {\n if (requiredVotesActions.includes(game.currentPlay.action)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.REQUIRED_VOTES);\n }\n return;\n }\n if (!requiredVotesActions.includes(game.currentPlay.action)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_VOTES);\n }\n if (playVotes.some(({ source, target }) => source._id === target._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.SAME_SOURCE_AND_TARGET_VOTE);\n }\n }\n\n private validateGamePlayWithRelationsDtoChosenSideData({ chosenSide }: MakeGamePlayWithRelationsDto, game: Game): void {\n if (chosenSide && game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_SIDE) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_CHOSEN_SIDE);\n }\n if (!chosenSide && game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_SIDE) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.REQUIRED_CHOSEN_SIDE);\n }\n }\n\n private async validateGamePlayWithRelationsDtoJudgeRequestData({ doesJudgeRequestAnotherVote }: MakeGamePlayWithRelationsDto, game: Game): Promise {\n if (doesJudgeRequestAnotherVote === undefined) {\n return;\n }\n const { voteRequestsCount } = game.options.roles.stutteringJudge;\n const gameHistoryJudgeRequestRecords = await this.gameHistoryRecordService.getGameHistoryJudgeRequestRecords(game._id);\n const stutteringJudgePlayer = getPlayerWithCurrentRole(game.players, ROLE_NAMES.STUTTERING_JUDGE);\n if (!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) ||\n !stutteringJudgePlayer || !isPlayerAliveAndPowerful(stutteringJudgePlayer) ||\n gameHistoryJudgeRequestRecords.length >= voteRequestsCount) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_STUTTERING_JUDGE_VOTE_REQUEST);\n }\n }\n}" - }, - "src/modules/game/providers/services/game-random-composition.service.ts": { - "language": "typescript", - "mutants": [ + }, { - "id": "1957", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(13,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "2003", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:39:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "582" + ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", - "584" + "584", + "585", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 4, - "line": 27 + "column": 156, + "line": 36 }, "start": { - "column": 138, - "line": 13 + "column": 66, + "line": 36 } } }, { - "id": "1958", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:38:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2004", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 101\nReceived array: [{\"maxInGame\": 0, \"name\": \"witch\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:88:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "582" + "589" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", - "584" + "584", + "585", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 95, - "line": 16 + "column": 155, + "line": 36 }, "start": { - "column": 32, - "line": 16 + "column": 85, + "line": 36 } } }, { - "id": "1959", - "mutatorName": "ArrayDeclaration", - "replacement": "[]", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(21,48): error TS2339: Property 'name' does not exist on type 'never'.\n", + "id": "2005", + "mutatorName": "LogicalOperator", + "replacement": "role.minInGame === undefined && role.minInGame <= leftRolesToPickCount", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(36,117): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", - "584" + "584", + "585", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 6, - "line": 20 + "column": 155, + "line": 36 }, "start": { - "column": 25, - "line": 17 + "column": 85, + "line": 36 } } }, { - "id": "1960", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(22,101): error TS2322: Type 'undefined' is not assignable to type 'GetGameRandomCompositionPlayerResponseDto'.\n", + "id": "2006", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(36,94): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", - "584" + "584", + "585", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 7, - "line": 26 + "column": 113, + "line": 36 }, "start": { - "column": 95, - "line": 22 + "column": 85, + "line": 36 } } }, { - "id": "1961", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "TypeError: Cannot read properties of undefined (reading 'current')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:217: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:317:30)\n at Object.throwingMatcher [as toSatisfyAll] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:318:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:216:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 6, + "id": "2007", + "mutatorName": "EqualityOperator", + "replacement": "role.minInGame !== undefined", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(36,117): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "439" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", - "584" + "584", + "585", + "588", + "589", + "590", + "591", + "592" ], "location": { "end": { - "column": 6, - "line": 26 + "column": 113, + "line": 36 }, "start": { - "column": 173, - "line": 22 + "column": 85, + "line": 36 } } }, { - "id": "1962", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toSatisfyAll(expected)\n\nExpected array to satisfy predicate for all values:\n [Function anonymous]\nReceived:\n [{\"name\": \"1\", \"role\": {}, \"side\": {}}, {\"name\": \"2\", \"role\": {}, \"side\": {}}, {\"name\": \"3\", \"role\": {}, \"side\": {}}, {\"name\": \"4\", \"role\": {}, \"side\": {}}, {\"name\": \"5\", \"role\": {}, \"side\": {}}, {\"name\": \"6\", \"role\": {}, \"side\": {}}, {\"name\": \"7\", \"role\": {}, \"side\": {}}, {\"name\": \"8\", \"role\": {}, \"side\": {}}, {\"name\": \"9\", \"role\": {}, \"side\": {}}, {\"name\": \"10\", \"role\": {}, \"side\": {}}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:216:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2008", + "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\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:97:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "439" + "590" ], "coveredBy": [ - "439", - "580", - "581", + "440", "582", "583", - "584" + "584", + "585", + "589", + "590", + "591" ], "location": { "end": { - "column": 54, - "line": 24 + "column": 155, + "line": 36 }, "start": { - "column": 13, - "line": 24 + "column": 117, + "line": 36 } } }, { - "id": "1963", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(29,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "2009", + "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\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:97:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "590" + ], "coveredBy": [ - "439", - "580", - "581", + "440", "582", "583", "584", "585", - "586", - "587", - "588", "589", "590", "591" ], "location": { "end": { - "column": 4, - "line": 50 + "column": 155, + "line": 36 }, "start": { - "column": 109, - "line": 29 + "column": 117, + "line": 36 } } }, { - "id": "1964", - "mutatorName": "ArrayDeclaration", - "replacement": "[\"Stryker was here\"]", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(30,34): error TS2322: Type 'string' is not assignable to type 'Role'.\n", - "status": "CompileError", + "id": "2010", + "mutatorName": "EqualityOperator", + "replacement": "role.minInGame > leftRolesToPickCount", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", - "581", + "440", "582", "583", "584", "585", - "586", - "587", - "588", "589", "590", "591" ], "location": { "end": { - "column": 35, - "line": 30 + "column": 155, + "line": 36 }, "start": { - "column": 33, - "line": 30 + "column": 117, + "line": 36 } } }, { - "id": "1965", + "id": "2011", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:48:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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-random-composition.service.ts(42,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(44,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,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": [ - "585" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", @@ -65542,33 +66985,30 @@ "588", "589", "590", - "591" + "591", + "592" ], "location": { "end": { - "column": 59, - "line": 32 + "column": 35, + "line": 38 }, "start": { - "column": 30, - "line": 32 + "column": 11, + "line": 38 } } }, { - "id": "1966", + "id": "2012", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:55:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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-random-composition.service.ts(42,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(44,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,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": [ - "586" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", @@ -65579,33 +67019,30 @@ "588", "589", "590", - "591" + "591", + "592" ], "location": { "end": { - "column": 59, - "line": 32 + "column": 35, + "line": 38 }, "start": { - "column": 30, - "line": 32 + "column": 11, + "line": 38 } } }, { - "id": "1967", + "id": "2013", "mutatorName": "EqualityOperator", - "replacement": "side !== ROLE_SIDES.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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:48:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "replacement": "randomRole !== undefined", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(42,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(44,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,28): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Role'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "585" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", @@ -65616,31 +67053,32 @@ "588", "589", "590", - "591" + "591", + "592" ], "location": { "end": { - "column": 59, - "line": 32 + "column": 35, + "line": 38 }, "start": { - "column": 30, - "line": 32 + "column": 11, + "line": 38 } } }, { - "id": "1968", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(42,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(44,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,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": "2014", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/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/sandbox8879245/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:33:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "582" + ], "coveredBy": [ - "439", - "580", - "581", "582", "583", "584", @@ -65648,2866 +67086,2925 @@ "586", "587", "588", - "589", - "590", - "591" + "589" ], "location": { "end": { - "column": 41, - "line": 34 + "column": 8, + "line": 41 }, "start": { - "column": 21, - "line": 34 + "column": 37, + "line": 38 } } }, { - "id": "1969", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:38:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2015", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/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/sandbox8879245/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:33:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 11, "static": false, "killedBy": [ - "582" + "581" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", "585", - "586", - "587", "588", "589", "590", - "591" + "591", + "592" ], "location": { "end": { - "column": 41, - "line": 34 + "column": 8, + "line": 47 }, "start": { - "column": 21, - "line": 34 + "column": 14, + "line": 41 } } - }, - { - "id": "1970", - "mutatorName": "EqualityOperator", - "replacement": "i >= rolesToPickCount", - "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:215:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 13, + }, + { + "id": "2016", + "mutatorName": "LogicalOperator", + "replacement": "randomRole.minInGame && 1", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(42,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": [ - "439" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", "585", - "586", - "587", "588", "589", "590", - "591" + "591", + "592" ], "location": { "end": { - "column": 41, - "line": 34 + "column": 59, + "line": 42 }, "start": { - "column": 21, - "line": 34 + "column": 34, + "line": 42 } } }, { - "id": "1971", - "mutatorName": "AssignmentOperator", - "replacement": "i -= randomRolesToPickCount", - "statusReason": "Hit limit reached (43213/43200)", - "status": "Timeout", + "id": "2017", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(44,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,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": [ - "439", - "580", + "440", "581", "582", "583", "584", "585", - "586", - "587", "588", "589", "590", - "591" + "591", + "592" ], "location": { "end": { - "column": 70, - "line": 34 + "column": 51, + "line": 43 }, "start": { - "column": 43, - "line": 34 + "column": 25, + "line": 43 } } }, { - "id": "1972", - "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:215:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2018", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:38:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 11, "static": false, "killedBy": [ - "439" + "582" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", "585", - "586", - "587", "588", "589", "590", - "591" + "591", + "592" ], "location": { "end": { - "column": 6, - "line": 48 + "column": 51, + "line": 43 }, "start": { - "column": 72, - "line": 34 + "column": 25, + "line": 43 } } }, { - "id": "1973", - "mutatorName": "ArithmeticOperator", - "replacement": "rolesToPickCount + i", - "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 108\nReceived array: [{\"maxInGame\": 0, \"name\": \"witch\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:88:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "id": "2019", + "mutatorName": "EqualityOperator", + "replacement": "j >= randomRolesToPickCount", + "status": "Timeout", "static": false, - "killedBy": [ - "588" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", "585", - "586", - "587", "588", "589", "590", - "591" + "591", + "592" ], "location": { "end": { - "column": 56, - "line": 35 + "column": 51, + "line": 43 }, "start": { - "column": 36, - "line": 35 + "column": 25, + "line": 43 } } }, { - "id": "1974", - "mutatorName": "MethodExpression", - "replacement": "availableSidedRoles", + "id": "2020", + "mutatorName": "UpdateOperator", + "replacement": "j--", + "statusReason": "Hit limit reached (21011/21000)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", "585", - "586", - "587", "588", "589", "590", - "591" + "591", + "592" ], "location": { "end": { - "column": 157, - "line": 36 + "column": 56, + "line": 43 }, "start": { - "column": 31, - "line": 36 + "column": 53, + "line": 43 } } }, { - "id": "1975", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"witch\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"pied-piper\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:66:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2021", + "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:215:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 11, "static": false, "killedBy": [ - "587" + "440" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", "585", - "586", - "587", "588", "589", "590", - "591" + "591", + "592" ], "location": { "end": { - "column": 156, - "line": 36 + "column": 10, + "line": 46 }, "start": { "column": 58, - "line": 36 + "line": 43 } } }, { - "id": "1976", - "mutatorName": "ConditionalExpression", - "replacement": "true", + "id": "2022", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:39:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "581" + "582" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", + "585", "588", "589", "590", - "591" + "591", + "592" ], "location": { "end": { - "column": 156, - "line": 36 + "column": 33, + "line": 44 }, "start": { - "column": 66, - "line": 36 + "column": 11, + "line": 44 } } }, { - "id": "1977", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"witch\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"pied-piper\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:66:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2023", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(52,64): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "587" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "593", + "594", + "595", + "596", + "597", + "598" ], "location": { "end": { - "column": 156, - "line": 36 + "column": 4, + "line": 55 }, "start": { - "column": 66, - "line": 36 + "column": 71, + "line": 52 } } }, { - "id": "1978", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:39:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2024", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:37:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 12, "static": false, "killedBy": [ "581" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "593", + "594", + "595", + "596", + "597", + "598" ], "location": { "end": { - "column": 156, - "line": 36 + "column": 51, + "line": 54 }, "start": { - "column": 66, - "line": 36 + "column": 22, + "line": 54 } } }, { - "id": "1979", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 101\nReceived array: [{\"maxInGame\": 0, \"name\": \"witch\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"side\": \"villagers\", \"type\": \"villager\"}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:88:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2025", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(57,112): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "588" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 155, - "line": 36 + "column": 4, + "line": 75 }, "start": { - "column": 85, - "line": 36 + "column": 119, + "line": 57 } } }, { - "id": "1980", - "mutatorName": "LogicalOperator", - "replacement": "role.minInGame === undefined && role.minInGame <= leftRolesToPickCount", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(36,117): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", + "id": "2026", + "mutatorName": "MethodExpression", + "replacement": "roles", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(65,5): error TS4104: The type 'readonly Role[]' is 'readonly' and cannot be assigned to the mutable type 'Role[]'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 155, - "line": 36 + "column": 7, + "line": 74 }, "start": { - "column": 85, - "line": 36 + "column": 12, + "line": 65 } } }, { - "id": "1981", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(36,94): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "2027", + "mutatorName": "BlockStatement", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:167:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "600" + ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 113, - "line": 36 + "column": 6, + "line": 74 }, "start": { - "column": 85, - "line": 36 + "column": 33, + "line": 65 } } }, { - "id": "1982", - "mutatorName": "EqualityOperator", - "replacement": "role.minInGame !== undefined", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(36,117): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", + "id": "2028", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,122): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 113, - "line": 36 + "column": 44, + "line": 66 }, "start": { - "column": 85, - "line": 36 + "column": 11, + "line": 66 } } }, { - "id": "1983", + "id": "2029", "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\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:97:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "589" - ], + "killedBy": [], "coveredBy": [ - "439", + "440", "581", "582", "583", "584", - "588", - "589", - "590" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 155, - "line": 36 + "column": 44, + "line": 66 }, "start": { - "column": 117, - "line": 36 + "column": 11, + "line": 66 } } }, { - "id": "1984", + "id": "2030", "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\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:97:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "role.name !== ROLE_NAMES.VILLAGER", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(68,18): error TS2367: This comparison appears to be unintentional because the types 'ROLE_NAMES.VILLAGER' and 'ROLE_NAMES.WEREWOLF' have no overlap.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "440", + "581", + "582", + "583", + "584", + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" + ], + "location": { + "end": { + "column": 44, + "line": 66 + }, + "start": { + "column": 11, + "line": 66 + } + } + }, + { + "id": "2031", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:174:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 13, "static": false, "killedBy": [ - "589" + "601" ], "coveredBy": [ - "439", + "440", "581", "582", "583", "584", - "588", - "589", - "590" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 155, - "line": 36 + "column": 8, + "line": 68 }, "start": { - "column": 117, - "line": 36 + "column": 46, + "line": 66 } } }, { - "id": "1985", - "mutatorName": "EqualityOperator", - "replacement": "role.minInGame > leftRolesToPickCount", - "status": "Timeout", + "id": "2032", + "mutatorName": "BooleanLiteral", + "replacement": "arePowerfulVillagerRolesPrioritized", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:167:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "600" + ], "coveredBy": [ - "439", + "440", "581", "582", "583", "584", - "588", - "589", - "590" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { - "end": { - "column": 155, - "line": 36 + "end": { + "column": 52, + "line": 67 }, "start": { - "column": 117, - "line": 36 + "column": 16, + "line": 67 } } }, { - "id": "1986", + "id": "2033", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(42,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(44,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,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", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,122): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", "585", - "586", - "587", - "588", - "589", - "590", - "591" + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 35, - "line": 38 + "column": 51, + "line": 68 }, "start": { - "column": 11, - "line": 38 + "column": 18, + "line": 68 } } }, { - "id": "1987", + "id": "2034", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(42,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(44,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,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", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:188:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "603" + ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", "585", - "586", - "587", - "588", - "589", - "590", - "591" + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 35, - "line": 38 + "column": 51, + "line": 68 }, "start": { - "column": 11, - "line": 38 + "column": 18, + "line": 68 } } }, { - "id": "1988", + "id": "2035", "mutatorName": "EqualityOperator", - "replacement": "randomRole !== undefined", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(42,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(44,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,28): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Role'.\n", - "status": "CompileError", + "replacement": "role.name !== ROLE_NAMES.WEREWOLF", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:160:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "599" + ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", "585", - "586", - "587", - "588", - "589", - "590", - "591" + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 35, - "line": 38 + "column": 51, + "line": 68 }, "start": { - "column": 11, - "line": 38 + "column": 18, + "line": 68 } } }, { - "id": "1989", + "id": "2036", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/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/sandbox8879245/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:33:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:188:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 13, "static": false, "killedBy": [ - "581" + "603" ], "coveredBy": [ + "440", "581", "582", "583", "584", "585", - "586", - "587", - "588" + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { "column": 8, - "line": 41 + "line": 70 }, "start": { - "column": 37, - "line": 38 + "column": 53, + "line": 68 } } }, { - "id": "1990", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/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/sandbox8879245/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:33:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2037", + "mutatorName": "BooleanLiteral", + "replacement": "arePowerfulWerewolfRolesPrioritized", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:181:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 13, "static": false, "killedBy": [ - "580" + "602" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 8, - "line": 47 + "column": 52, + "line": 69 }, "start": { - "column": 14, - "line": 41 + "column": 16, + "line": 69 } } }, { - "id": "1991", - "mutatorName": "LogicalOperator", - "replacement": "randomRole.minInGame && 1", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(42,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": "2038", + "mutatorName": "BooleanLiteral", + "replacement": "excludedRoles.includes(role.name)", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:160:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "599" + ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 59, - "line": 42 + "column": 65, + "line": 71 }, "start": { - "column": 34, - "line": 42 + "column": 31, + "line": 71 } } }, { - "id": "1992", + "id": "2039", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(44,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,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", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:200:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "604" + ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 51, - "line": 43 + "column": 166, + "line": 72 }, "start": { - "column": 25, - "line": 43 + "column": 40, + "line": 72 } } }, { - "id": "1993", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:38:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2040", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 6\nReceived length: 1\nReceived array: [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"werewolf\", \"recommendedMinPlayers\": undefined, \"side\": \"werewolves\", \"type\": \"werewolf\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:219:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 13, "static": false, "killedBy": [ - "581" + "605" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 51, - "line": 43 + "column": 166, + "line": 72 }, "start": { - "column": 25, - "line": 43 + "column": 40, + "line": 72 } } }, { - "id": "1994", - "mutatorName": "EqualityOperator", - "replacement": "j >= randomRolesToPickCount", - "status": "Timeout", + "id": "2041", + "mutatorName": "LogicalOperator", + "replacement": "(!areRecommendedMinPlayersRespected || role.recommendedMinPlayers === undefined) && role.recommendedMinPlayers <= players.length", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,124): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 51, - "line": 43 + "column": 166, + "line": 72 }, "start": { - "column": 25, - "line": 43 + "column": 40, + "line": 72 } } }, { - "id": "1995", - "mutatorName": "UpdateOperator", - "replacement": "j--", - "statusReason": "Hit limit reached (21011/21000)", - "status": "Timeout", + "id": "2042", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,49): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 56, - "line": 43 + "column": 118, + "line": 72 }, "start": { - "column": 53, - "line": 43 + "column": 40, + "line": 72 } } }, { - "id": "1996", - "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:215:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 11, + "id": "2043", + "mutatorName": "LogicalOperator", + "replacement": "!areRecommendedMinPlayersRespected && role.recommendedMinPlayers === undefined", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,122): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "439" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 10, - "line": 46 + "column": 118, + "line": 72 }, "start": { - "column": 58, - "line": 43 + "column": 40, + "line": 72 } } }, { - "id": "1997", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:39:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2044", + "mutatorName": "BooleanLiteral", + "replacement": "areRecommendedMinPlayersRespected", + "status": "Timeout", "static": false, - "killedBy": [ - "581" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", - "588", - "589", - "590", - "591" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 33, - "line": 44 + "column": 74, + "line": 72 }, "start": { - "column": 11, - "line": 44 + "column": 40, + "line": 72 } } }, { - "id": "1998", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(52,64): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "2045", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,87): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "592", - "593", - "594", - "595", - "596", - "597" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 4, - "line": 55 + "column": 118, + "line": 72 }, "start": { - "column": 71, - "line": 52 + "column": 78, + "line": 72 } } }, { - "id": "1999", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:37:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2046", + "mutatorName": "EqualityOperator", + "replacement": "role.recommendedMinPlayers !== undefined", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,122): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "580" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "592", - "593", - "594", - "595", - "596", - "597" + "585", + "599", + "600", + "601", + "602", + "603", + "604", + "605" ], "location": { "end": { - "column": 51, - "line": 54 + "column": 118, + "line": 72 }, "start": { - "column": 22, - "line": 54 + "column": 78, + "line": 72 } } }, { - "id": "2000", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(57,112): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "2047", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 6\nReceived length: 1\nReceived array: [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"werewolf\", \"recommendedMinPlayers\": undefined, \"side\": \"werewolves\", \"type\": \"werewolf\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:219:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "605" + ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "598", + "585", "599", "600", "601", "602", "603", - "604" + "604", + "605" ], "location": { "end": { - "column": 4, - "line": 75 + "column": 166, + "line": 72 }, "start": { - "column": 119, - "line": 57 + "column": 122, + "line": 72 } } }, { - "id": "2001", - "mutatorName": "MethodExpression", - "replacement": "roles", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(65,5): error TS4104: The type 'readonly Role[]' is 'readonly' and cannot be assigned to the mutable type 'Role[]'.\n", - "status": "CompileError", + "id": "2048", + "mutatorName": "EqualityOperator", + "replacement": "role.recommendedMinPlayers < players.length", + "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 6\nReceived length: 1\nReceived array: [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"werewolf\", \"recommendedMinPlayers\": undefined, \"side\": \"werewolves\", \"type\": \"werewolf\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:219:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "605" + ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "598", + "585", "599", "600", "601", "602", "603", - "604" + "604", + "605" ], "location": { "end": { - "column": 7, - "line": 74 + "column": 166, + "line": 72 }, "start": { - "column": 12, - "line": 65 + "column": 122, + "line": 72 } } }, { - "id": "2002", - "mutatorName": "BlockStatement", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:167:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2049", + "mutatorName": "EqualityOperator", + "replacement": "role.recommendedMinPlayers > players.length", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:200:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "599" + "604" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "598", + "585", "599", "600", "601", "602", "603", - "604" + "604", + "605" ], "location": { "end": { - "column": 6, - "line": 74 + "column": 166, + "line": 72 }, "start": { - "column": 33, - "line": 65 + "column": 122, + "line": 72 } } }, { - "id": "2003", + "id": "2050", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,122): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", - "status": "CompileError", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:160:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "599" + ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "598", + "585", "599", "600", "601", "602", "603", - "604" + "604", + "605" ], "location": { "end": { - "column": 44, - "line": 66 + "column": 57, + "line": 73 }, "start": { - "column": 11, - "line": 66 + "column": 14, + "line": 73 } } }, { - "id": "2004", + "id": "2051", "mutatorName": "ConditionalExpression", "replacement": "false", - "status": "Timeout", + "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 6\nReceived length: 1\nReceived array: [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"werewolf\", \"recommendedMinPlayers\": undefined, \"side\": \"werewolves\", \"type\": \"werewolf\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:219:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "605" + ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "598", + "585", "599", "600", "601", "602", "603", - "604" + "604", + "605" ], "location": { "end": { - "column": 44, - "line": 66 + "column": 57, + "line": 73 }, "start": { - "column": 11, - "line": 66 + "column": 14, + "line": 73 } } }, { - "id": "2005", - "mutatorName": "EqualityOperator", - "replacement": "role.name !== ROLE_NAMES.VILLAGER", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(68,18): error TS2367: This comparison appears to be unintentional because the types 'ROLE_NAMES.VILLAGER' and 'ROLE_NAMES.WEREWOLF' have no overlap.\n", - "status": "CompileError", + "id": "2052", + "mutatorName": "LogicalOperator", + "replacement": "isRolePermitted || isRoleMinInGameRespected", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:160:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], + "killedBy": [ + "599" + ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "598", + "585", "599", "600", "601", "602", "603", - "604" + "604", + "605" ], "location": { "end": { - "column": 44, - "line": 66 + "column": 57, + "line": 73 }, "start": { - "column": 11, - "line": 66 + "column": 14, + "line": 73 } } - }, + } + ], + "source": "import { Injectable } from \"@nestjs/common\";\nimport { plainToInstance } from \"class-transformer\";\nimport { sample, shuffle } from \"lodash\";\nimport { defaultVillagerRole, defaultWerewolfRole, roles } from \"../../../role/constants/role.constant\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../role/enums/role.enum\";\nimport { getRolesWithSide } from \"../../../role/helpers/role.helper\";\nimport { Role } from \"../../../role/types/role.type\";\nimport { GetGameRandomCompositionPlayerResponseDto } from \"../../dto/get-game-random-composition/get-game-random-composition-player-response/get-game-random-composition-player-response.dto\";\nimport type { GetGameRandomCompositionDto } from \"../../dto/get-game-random-composition/get-game-random-composition.dto\";\n\n@Injectable()\nexport class GameRandomCompositionService {\n public getGameRandomComposition(getGameRandomCompositionDto: GetGameRandomCompositionDto): GetGameRandomCompositionPlayerResponseDto[] {\n const availableRoles = plainToInstance(Role, this.getAvailableRolesForGameRandomComposition(getGameRandomCompositionDto));\n const werewolfRolesCount = this.getWerewolfCountForComposition(getGameRandomCompositionDto.players.length);\n const villagerRolesCount = getGameRandomCompositionDto.players.length - werewolfRolesCount;\n const randomRoles = [\n ...this.getRandomRolesForSide(availableRoles, werewolfRolesCount, ROLE_SIDES.WEREWOLVES),\n ...this.getRandomRolesForSide(availableRoles, villagerRolesCount, ROLE_SIDES.VILLAGERS),\n ];\n const shuffledRandomRoles = shuffle(randomRoles);\n return getGameRandomCompositionDto.players.map((player, index) => plainToInstance(GetGameRandomCompositionPlayerResponseDto, {\n name: player.name,\n role: { name: shuffledRandomRoles[index].name },\n side: {},\n }));\n }\n\n private getRandomRolesForSide(availableRoles: Role[], rolesToPickCount: number, side: ROLE_SIDES): Role[] {\n const randomRoles: Role[] = [];\n const availableSidedRoles = getRolesWithSide(availableRoles, side);\n const defaultSidedRole = side === ROLE_SIDES.VILLAGERS ? defaultVillagerRole : defaultWerewolfRole;\n let randomRolesToPickCount = 1;\n for (let i = 0; i < rolesToPickCount; i += randomRolesToPickCount) {\n const leftRolesToPickCount = rolesToPickCount - i;\n const leftRolesToPick = availableSidedRoles.filter(role => role.maxInGame && (role.minInGame === undefined || role.minInGame <= leftRolesToPickCount));\n const randomRole = sample(leftRolesToPick);\n if (randomRole === undefined) {\n randomRolesToPickCount = 1;\n randomRoles.push(defaultSidedRole);\n } else {\n randomRolesToPickCount = randomRole.minInGame ?? 1;\n for (let j = 0; j < randomRolesToPickCount; j++) {\n randomRole.maxInGame--;\n randomRoles.push(randomRole);\n }\n }\n }\n return randomRoles;\n }\n\n private getWerewolfCountForComposition(playerCount: number): number {\n const werewolvesRatio = 6;\n return Math.ceil(playerCount / werewolvesRatio);\n }\n\n private getAvailableRolesForGameRandomComposition(getGameRandomCompositionDto: GetGameRandomCompositionDto): Role[] {\n const {\n players,\n excludedRoles,\n areRecommendedMinPlayersRespected,\n arePowerfulVillagerRolesPrioritized,\n arePowerfulWerewolfRolesPrioritized,\n } = getGameRandomCompositionDto;\n return roles.filter(role => {\n if (role.name === ROLE_NAMES.VILLAGER) {\n return !arePowerfulVillagerRolesPrioritized;\n } else if (role.name === ROLE_NAMES.WEREWOLF) {\n return !arePowerfulWerewolfRolesPrioritized;\n }\n const isRolePermitted = !excludedRoles.includes(role.name);\n const isRoleMinInGameRespected = !areRecommendedMinPlayersRespected || role.recommendedMinPlayers === undefined || role.recommendedMinPlayers <= players.length;\n return isRolePermitted && isRoleMinInGameRespected;\n });\n }\n}" + }, + "src/modules/game/providers/services/game.service.ts": { + "language": "typescript", + "mutants": [ { - "id": "2006", + "id": "2053", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:174:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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.service.ts(30,28): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "600" + "killedBy": [], + "coveredBy": [ + "429", + "430", + "626" ], + "location": { + "end": { + "column": 4, + "line": 32 + }, + "start": { + "column": 44, + "line": 30 + } + } + }, + { + "id": "2054", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game.service.ts(34,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": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "456", + "457", + "627", + "628" ], "location": { "end": { - "column": 8, - "line": 68 + "column": 4, + "line": 46 }, "start": { - "column": 46, - "line": 66 + "column": 63, + "line": 34 } } }, { - "id": "2007", + "id": "2055", "mutatorName": "BooleanLiteral", - "replacement": "arePowerfulVillagerRolesPrioritized", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:167:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:408:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 4, "static": false, "killedBy": [ - "599" + "456" ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "456", + "457", + "627", + "628" ], "location": { "end": { - "column": 52, - "line": 67 + "column": 30, + "line": 36 }, "start": { - "column": 16, - "line": 67 + "column": 9, + "line": 36 } } }, { - "id": "2008", + "id": "2056", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,122): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", - "status": "CompileError", + "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:408:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 4, "static": false, - "killedBy": [], + "killedBy": [ + "456" + ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "456", + "457", + "627", + "628" ], "location": { "end": { - "column": 51, - "line": 68 + "column": 30, + "line": 36 }, "start": { - "column": 18, - "line": 68 + "column": 9, + "line": 36 } } }, { - "id": "2009", + "id": "2057", "mutatorName": "ConditionalExpression", "replacement": "false", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:188:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).rejects.toThrow()\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:105:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:120:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 4, "static": false, "killedBy": [ - "602" + "627" ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "456", + "457", + "627", + "628" ], "location": { "end": { - "column": 51, - "line": 68 + "column": 30, + "line": 36 }, "start": { - "column": 18, - "line": 68 + "column": 9, + "line": 36 } } }, { - "id": "2010", - "mutatorName": "EqualityOperator", - "replacement": "role.name !== ROLE_NAMES.WEREWOLF", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:160:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2058", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).rejects.toThrow()\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:105:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:120:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 1, "static": false, "killedBy": [ - "598" + "627" ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "627" ], "location": { "end": { - "column": 51, - "line": 68 + "column": 6, + "line": 38 }, "start": { - "column": 18, - "line": 68 + "column": 32, + "line": 36 } } }, { - "id": "2011", - "mutatorName": "BlockStatement", + "id": "2059", + "mutatorName": "StringLiteral", + "replacement": "\"\"", + "statusReason": "Error: expect(received).rejects.toThrow(expected)\n\nExpected message: \"Unexpected exception in createGame\"\nReceived message: \"Unexpected exception in \"\n\n 90 | } else {\n 91 | stryCov_9fa48(\"2290\");\n > 92 | return new UnexpectedException(scope, UNEXPECTED_EXCEPTION_REASONS.CANT_GENERATE_GAME_PLAYS);\n | ^\n 93 | }\n 94 | }\n 95 | export { createCantFindPlayerUnexpectedException, createPlayerIsDeadUnexpectedException, createCantGenerateGamePlaysUnexpectedException };\n\n at createCantGenerateGamePlaysUnexpectedException (src/shared/exception/helpers/unexpected-exception.factory.ts:92:12)\n at GameService.createGame (src/modules/game/providers/services/game.service.ts:89:63)\n at Object. (tests/unit/specs/modules/game/providers/services/game.service.spec.ts:120:34)\n at Object.toThrow (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:210:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:120:68)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "627" + ], + "coveredBy": [ + "627" + ], + "location": { + "end": { + "column": 72, + "line": 37 + }, + "start": { + "column": 60, + "line": 37 + } + } + }, + { + "id": "2060", + "mutatorName": "ObjectLiteral", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:188:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: 201\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:408:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 3, "static": false, "killedBy": [ - "602" + "456" ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "456", + "457", + "628" ], "location": { "end": { - "column": 8, - "line": 70 + "column": 6, + "line": 44 }, "start": { - "column": 53, - "line": 68 + "column": 57, + "line": 40 } } }, { - "id": "2012", - "mutatorName": "BooleanLiteral", - "replacement": "arePowerfulWerewolfRolesPrioritized", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:181:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2061", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game.service.ts(48,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": [ + "460", + "461", + "629", + "630" + ], + "location": { + "end": { + "column": 4, + "line": 53 + }, + "start": { + "column": 54, + "line": 48 + } + } + }, + { + "id": "2062", + "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:532:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 4, "static": false, "killedBy": [ - "601" + "461" ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "460", + "461", + "629", + "630" ], "location": { "end": { - "column": 52, - "line": 69 + "column": 46, + "line": 49 }, "start": { - "column": 16, - "line": 69 + "column": 9, + "line": 49 } } }, { - "id": "2013", - "mutatorName": "BooleanLiteral", - "replacement": "excludedRoles.includes(role.name)", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:160:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2063", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 200\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:516:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 4, "static": false, "killedBy": [ - "598" + "460" ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "460", + "461", + "629", + "630" + ], + "location": { + "end": { + "column": 46, + "line": 49 + }, + "start": { + "column": 9, + "line": 49 + } + } + }, + { + "id": "2064", + "mutatorName": "EqualityOperator", + "replacement": "game.status === GAME_STATUSES.PLAYING", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 200\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:516:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 4, + "static": false, + "killedBy": [ + "460" + ], + "coveredBy": [ + "460", + "461", + "629", + "630" ], "location": { "end": { - "column": 65, - "line": 71 + "column": 46, + "line": 49 }, "start": { - "column": 31, - "line": 71 + "column": 9, + "line": 49 } } }, { - "id": "2014", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:200:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2065", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 200\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:516:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 2, "static": false, "killedBy": [ - "603" + "460" ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "460", + "629" ], "location": { "end": { - "column": 166, - "line": 72 + "column": 6, + "line": 51 }, "start": { - "column": 40, - "line": 72 + "column": 48, + "line": 49 } } }, { - "id": "2015", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 6\nReceived length: 1\nReceived array: [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"werewolf\", \"recommendedMinPlayers\": undefined, \"side\": \"werewolves\", \"type\": \"werewolf\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:219:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2066", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -76,11 +76,11 @@\n },\n },\n },\n \"phase\": \"night\",\n \"players\": Array [],\n- \"status\": \"canceled\",\n+ \"status\": \"playing\",\n \"tick\": 5012212684947456,\n \"turn\": 3095119305637888,\n \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:533:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 2, "static": false, "killedBy": [ - "604" + "461" ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "461", + "630" ], "location": { "end": { - "column": 166, - "line": 72 + "column": 72, + "line": 52 }, "start": { - "column": 40, - "line": 72 + "column": 38, + "line": 52 } } }, { - "id": "2016", - "mutatorName": "LogicalOperator", - "replacement": "(!areRecommendedMinPlayersRespected || role.recommendedMinPlayers === undefined) && role.recommendedMinPlayers <= players.length", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,124): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", + "id": "2067", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game.service.ts(55,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": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "466", + "467", + "468", + "469", + "631", + "632", + "633", + "634", + "635" ], "location": { "end": { - "column": 166, - "line": 72 + "column": 4, + "line": 69 }, "start": { - "column": 40, - "line": 72 + "column": 90, + "line": 55 } } }, { - "id": "2017", + "id": "2068", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,49): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", - "status": "CompileError", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 1\n\n Object {\n- \"error\": \"Game Play - Player in `targets.player` is not in the game players\",\n- \"message\": \"Player with id \\\"3df699fff31b6a57da23eaea\\\" not found\",\n+ \"message\": \"Game with id \\\"f0510e264026c6e95154ff86\\\" not found\",\n \"statusCode\": 404,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:616:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 9, "static": false, - "killedBy": [], + "killedBy": [ + "466" + ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "466", + "467", + "468", + "469", + "631", + "632", + "633", + "634", + "635" ], "location": { "end": { - "column": 118, - "line": 72 + "column": 52, + "line": 57 }, "start": { - "column": 40, - "line": 72 + "column": 9, + "line": 57 } } }, { - "id": "2018", - "mutatorName": "LogicalOperator", - "replacement": "!areRecommendedMinPlayersRespected && role.recommendedMinPlayers === undefined", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,122): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "2069", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "466", + "467", + "468", + "469", + "631", + "632", + "633", + "634", + "635" ], "location": { "end": { - "column": 118, - "line": 72 + "column": 52, + "line": 57 }, "start": { - "column": 40, - "line": 72 + "column": 9, + "line": 57 } } }, { - "id": "2019", - "mutatorName": "BooleanLiteral", - "replacement": "areRecommendedMinPlayersRespected", - "status": "Timeout", + "id": "2070", + "mutatorName": "EqualityOperator", + "replacement": "clonedGame.status === GAME_STATUSES.PLAYING", + "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/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:615:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 9, "static": false, - "killedBy": [], + "killedBy": [ + "466" + ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "466", + "467", + "468", + "469", + "631", + "632", + "633", + "634", + "635" ], "location": { "end": { - "column": 74, - "line": 72 + "column": 52, + "line": 57 }, "start": { - "column": 40, - "line": 72 + "column": 9, + "line": 57 } } }, { - "id": "2020", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,87): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "2071", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:191:79)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "631" + ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "631" ], "location": { "end": { - "column": 118, - "line": 72 + "column": 6, + "line": 59 }, "start": { - "column": 78, - "line": 72 + "column": 54, + "line": 57 } } }, { - "id": "2021", - "mutatorName": "EqualityOperator", - "replacement": "role.recommendedMinPlayers !== undefined", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(72,122): error TS18048: 'role.recommendedMinPlayers' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "2072", + "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/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:681:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 6, "static": false, - "killedBy": [], + "killedBy": [ + "468" + ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "468", + "469", + "632", + "633", + "634", + "635" ], "location": { "end": { - "column": 118, - "line": 72 + "column": 31, + "line": 65 }, "start": { - "column": 78, - "line": 72 + "column": 9, + "line": 65 } } }, { - "id": "2022", + "id": "2073", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 6\nReceived length: 1\nReceived array: [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"werewolf\", \"recommendedMinPlayers\": undefined, \"side\": \"werewolves\", \"type\": \"werewolf\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:219:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:225:52)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 6, "static": false, "killedBy": [ - "604" + "635" ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "468", + "469", + "632", + "633", + "634", + "635" ], "location": { "end": { - "column": 166, - "line": 72 + "column": 31, + "line": 65 }, "start": { - "column": 122, - "line": 72 + "column": 9, + "line": 65 } } }, { - "id": "2023", - "mutatorName": "EqualityOperator", - "replacement": "role.recommendedMinPlayers < players.length", - "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 6\nReceived length: 1\nReceived array: [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"werewolf\", \"recommendedMinPlayers\": undefined, \"side\": \"werewolves\", \"type\": \"werewolf\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:219:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2074", + "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:225:52)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 1, "static": false, "killedBy": [ - "604" + "635" ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "635" ], "location": { "end": { - "column": 166, - "line": 72 + "column": 6, + "line": 67 }, "start": { - "column": 122, - "line": 72 + "column": 33, + "line": 65 } } }, { - "id": "2024", - "mutatorName": "EqualityOperator", - "replacement": "role.recommendedMinPlayers > players.length", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:200:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2075", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game.service.ts(71,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": [ + "461", + "468", + "469", + "636", + "637" + ], + "location": { + "end": { + "column": 4, + "line": 77 + }, + "start": { + "column": 100, + "line": 71 + } + } + }, + { + "id": "2076", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"fb2a7bd86d42d31acc0dde5d\"}, {\"status\": \"over\"}], but it was called with {}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:244:46)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 5, "static": false, "killedBy": [ - "603" + "637" ], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "461", + "468", + "469", + "636", + "637" ], "location": { "end": { - "column": 166, + "column": 76, "line": 72 }, "start": { - "column": 122, + "column": 61, "line": 72 } } }, { - "id": "2025", + "id": "2077", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:160:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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.service.ts(76,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": [ - "598" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "461", + "468", + "469", + "636", + "637" ], "location": { "end": { - "column": 57, + "column": 29, "line": 73 }, "start": { - "column": 14, + "column": 9, "line": 73 } } }, { - "id": "2026", + "id": "2078", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 6\nReceived length: 1\nReceived array: [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"werewolf\", \"recommendedMinPlayers\": undefined, \"side\": \"werewolves\", \"type\": \"werewolf\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:219:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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.service.ts(76,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": [ - "604" + "killedBy": [], + "coveredBy": [ + "461", + "468", + "469", + "636", + "637" ], + "location": { + "end": { + "column": 29, + "line": 73 + }, + "start": { + "column": 9, + "line": 73 + } + } + }, + { + "id": "2079", + "mutatorName": "EqualityOperator", + "replacement": "updatedGame !== null", + "statusReason": "src/modules/game/providers/services/game.service.ts(76,5): error TS2322: Type 'null' is not assignable to type 'Game'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "461", + "468", + "469", + "636", + "637" ], "location": { "end": { - "column": 57, + "column": 29, "line": 73 }, "start": { - "column": 14, + "column": 9, "line": 73 } } }, { - "id": "2027", - "mutatorName": "LogicalOperator", - "replacement": "isRolePermitted || isRoleMinInGameRespected", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:160:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "id": "2080", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game.service.ts(74,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": [ - "598" - ], + "killedBy": [], "coveredBy": [ - "439", - "580", - "581", - "582", - "583", - "584", - "598", - "599", - "600", - "601", - "602", - "603", - "604" + "636" ], "location": { "end": { - "column": 57, - "line": 73 + "column": 6, + "line": 75 }, "start": { - "column": 14, + "column": 31, "line": 73 } } + }, + { + "id": "2081", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game.service.ts(78,38): 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" + ], + "location": { + "end": { + "column": 4, + "line": 84 + }, + "start": { + "column": 43, + "line": 79 + } + } } ], - "source": "import { Injectable } from \"@nestjs/common\";\nimport { plainToInstance } from \"class-transformer\";\nimport { sample, shuffle } from \"lodash\";\nimport { defaultVillagerRole, defaultWerewolfRole, roles } from \"../../../role/constants/role.constant\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../role/enums/role.enum\";\nimport { getRolesWithSide } from \"../../../role/helpers/role.helper\";\nimport { Role } from \"../../../role/types/role.type\";\nimport { GetGameRandomCompositionPlayerResponseDto } from \"../../dto/get-game-random-composition/get-game-random-composition-player-response/get-game-random-composition-player-response.dto\";\nimport type { GetGameRandomCompositionDto } from \"../../dto/get-game-random-composition/get-game-random-composition.dto\";\n\n@Injectable()\nexport class GameRandomCompositionService {\n public getGameRandomComposition(getGameRandomCompositionDto: GetGameRandomCompositionDto): GetGameRandomCompositionPlayerResponseDto[] {\n const availableRoles = plainToInstance(Role, this.getAvailableRolesForGameRandomComposition(getGameRandomCompositionDto));\n const werewolfRolesCount = this.getWerewolfCountForComposition(getGameRandomCompositionDto.players.length);\n const villagerRolesCount = getGameRandomCompositionDto.players.length - werewolfRolesCount;\n const randomRoles = [\n ...this.getRandomRolesForSide(availableRoles, werewolfRolesCount, ROLE_SIDES.WEREWOLVES),\n ...this.getRandomRolesForSide(availableRoles, villagerRolesCount, ROLE_SIDES.VILLAGERS),\n ];\n const shuffledRandomRoles = shuffle(randomRoles);\n return getGameRandomCompositionDto.players.map((player, index) => plainToInstance(GetGameRandomCompositionPlayerResponseDto, {\n name: player.name,\n role: { name: shuffledRandomRoles[index].name },\n side: {},\n }));\n }\n\n private getRandomRolesForSide(availableRoles: Role[], rolesToPickCount: number, side: ROLE_SIDES): Role[] {\n const randomRoles: Role[] = [];\n const availableSidedRoles = getRolesWithSide(availableRoles, side);\n const defaultSidedRole = side === ROLE_SIDES.VILLAGERS ? defaultVillagerRole : defaultWerewolfRole;\n let randomRolesToPickCount = 1;\n for (let i = 0; i < rolesToPickCount; i += randomRolesToPickCount) {\n const leftRolesToPickCount = rolesToPickCount - i;\n const leftRolesToPick = availableSidedRoles.filter(role => role.maxInGame && (role.minInGame === undefined || role.minInGame <= leftRolesToPickCount));\n const randomRole = sample(leftRolesToPick);\n if (randomRole === undefined) {\n randomRolesToPickCount = 1;\n randomRoles.push(defaultSidedRole);\n } else {\n randomRolesToPickCount = randomRole.minInGame ?? 1;\n for (let j = 0; j < randomRolesToPickCount; j++) {\n randomRole.maxInGame--;\n randomRoles.push(randomRole);\n }\n }\n }\n return randomRoles;\n }\n\n private getWerewolfCountForComposition(playerCount: number): number {\n const werewolvesRatio = 6;\n return Math.ceil(playerCount / werewolvesRatio);\n }\n\n private getAvailableRolesForGameRandomComposition(getGameRandomCompositionDto: GetGameRandomCompositionDto): Role[] {\n const {\n players,\n excludedRoles,\n areRecommendedMinPlayersRespected,\n arePowerfulVillagerRolesPrioritized,\n arePowerfulWerewolfRolesPrioritized,\n } = getGameRandomCompositionDto;\n return roles.filter(role => {\n if (role.name === ROLE_NAMES.VILLAGER) {\n return !arePowerfulVillagerRolesPrioritized;\n } else if (role.name === ROLE_NAMES.WEREWOLF) {\n return !arePowerfulWerewolfRolesPrioritized;\n }\n const isRolePermitted = !excludedRoles.includes(role.name);\n const isRoleMinInGameRespected = !areRecommendedMinPlayersRespected || role.recommendedMinPlayers === undefined || role.recommendedMinPlayers <= players.length;\n return isRolePermitted && isRoleMinInGameRespected;\n });\n }\n}" + "source": "import { Injectable } from \"@nestjs/common\";\nimport { plainToInstance } from \"class-transformer\";\nimport { cloneDeep } from \"lodash\";\nimport type { Types } from \"mongoose\";\nimport { API_RESOURCES } from \"../../../../shared/api/enums/api.enum\";\nimport { BAD_RESOURCE_MUTATION_REASONS } from \"../../../../shared/exception/enums/bad-resource-mutation-error.enum\";\nimport { createCantGenerateGamePlaysUnexpectedException } from \"../../../../shared/exception/helpers/unexpected-exception.factory\";\nimport { BadResourceMutationException } from \"../../../../shared/exception/types/bad-resource-mutation-exception.type\";\nimport { ResourceNotFoundException } from \"../../../../shared/exception/types/resource-not-found-exception.type\";\nimport { CreateGameDto } from \"../../dto/create-game/create-game.dto\";\nimport type { MakeGamePlayDto } from \"../../dto/make-game-play/make-game-play.dto\";\nimport { GAME_STATUSES } from \"../../enums/game.enum\";\nimport { createMakeGamePlayDtoWithRelations } from \"../../helpers/game-play/game-play.helper\";\nimport { generateGameVictoryData, isGameOver } from \"../../helpers/game-victory/game-victory.helper\";\nimport type { Game } from \"../../schemas/game.schema\";\nimport { GameRepository } from \"../repositories/game.repository\";\nimport { GamePlaysMakerService } from \"./game-play/game-plays-maker.service\";\nimport { GamePlaysManagerService } from \"./game-play/game-plays-manager.service\";\nimport { GamePlaysValidatorService } from \"./game-play/game-plays-validator.service\";\n\n@Injectable()\nexport class GameService {\n public constructor(\n private readonly gamePlaysManagerService: GamePlaysManagerService,\n private readonly gamePlaysValidatorService: GamePlaysValidatorService,\n private readonly gamePlaysMakerService: GamePlaysMakerService,\n private readonly gameRepository: GameRepository,\n ) {}\n\n public async getGames(): Promise {\n return this.gameRepository.find();\n }\n\n public async createGame(game: CreateGameDto): Promise {\n const upcomingPlays = this.gamePlaysManagerService.getUpcomingNightPlays(game);\n if (!upcomingPlays.length) {\n throw createCantGenerateGamePlaysUnexpectedException(\"createGame\");\n }\n const currentPlay = upcomingPlays.shift();\n const gameToCreate = plainToInstance(CreateGameDto, {\n ...game,\n upcomingPlays,\n currentPlay,\n });\n return this.gameRepository.create(gameToCreate);\n }\n\n public async cancelGame(game: Game): Promise {\n if (game.status !== GAME_STATUSES.PLAYING) {\n throw new BadResourceMutationException(API_RESOURCES.GAMES, game._id.toString(), BAD_RESOURCE_MUTATION_REASONS.GAME_NOT_PLAYING);\n }\n return this.updateGame(game._id, { status: GAME_STATUSES.CANCELED });\n }\n\n public async makeGamePlay(game: Game, makeGamePlayDto: MakeGamePlayDto): Promise {\n let clonedGame = cloneDeep(game);\n if (clonedGame.status !== GAME_STATUSES.PLAYING) {\n throw new BadResourceMutationException(API_RESOURCES.GAMES, clonedGame._id.toString(), BAD_RESOURCE_MUTATION_REASONS.GAME_NOT_PLAYING);\n }\n const play = createMakeGamePlayDtoWithRelations(makeGamePlayDto, clonedGame);\n await this.gamePlaysValidatorService.validateGamePlayWithRelationsDtoData(play, clonedGame);\n clonedGame = await this.gamePlaysMakerService.makeGamePlay(play, clonedGame);\n clonedGame = this.gamePlaysManagerService.removeObsoleteUpcomingPlays(clonedGame);\n clonedGame = this.gamePlaysManagerService.proceedToNextGamePlay(clonedGame);\n if (isGameOver(clonedGame)) {\n clonedGame = this.setGameAsOver(clonedGame);\n }\n return this.updateGame(clonedGame._id, clonedGame);\n }\n\n private async updateGame(gameId: Types.ObjectId, gameDataToUpdate: Partial): Promise {\n const updatedGame = await this.gameRepository.updateOne({ _id: gameId }, gameDataToUpdate);\n if (updatedGame === null) {\n throw new ResourceNotFoundException(API_RESOURCES.GAMES, gameId.toString());\n }\n return updatedGame;\n }\n\n private setGameAsOver(game: Game): Game {\n const clonedGame = cloneDeep(game);\n clonedGame.status = GAME_STATUSES.OVER;\n clonedGame.victory = generateGameVictoryData(clonedGame);\n return clonedGame;\n }\n}" }, - "src/modules/game/providers/services/game.service.ts": { + "src/modules/game/providers/services/player/player-attribute.service.ts": { "language": "typescript", "mutants": [ { - "id": "2028", + "id": "2086", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(30,28): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(14,80): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "428", - "429", - "625" + "719" ], "location": { "end": { "column": 4, - "line": 32 + "line": 33 }, "start": { - "column": 44, - "line": 30 + "column": 85, + "line": 29 } } }, { - "id": "2029", + "id": "2087", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(10,5): error TS2322: Type 'undefined[]' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "719" + ], + "location": { + "end": { + "column": 134, + "line": 31 + }, + "start": { + "column": 49, + "line": 31 + } + } + }, + { + "id": "2088", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(34,49): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(14,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": [ - "455", - "456", - "626", - "627" + "714", + "715", + "716", + "718", + "719" ], "location": { "end": { "column": 4, - "line": 46 + "line": 41 }, "start": { - "column": 63, - "line": 34 + "column": 100, + "line": 35 } } }, { - "id": "2030", - "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:408:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 4, + "id": "2089", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(17,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "455" - ], + "killedBy": [], "coveredBy": [ - "455", - "456", - "626", - "627" + "714", + "715", + "716", + "718", + "719" ], "location": { "end": { - "column": 30, - "line": 36 + "column": 104, + "line": 37 }, "start": { "column": 9, - "line": 36 + "line": 37 } } }, { - "id": "2031", + "id": "2090", "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:408:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 4, + "replacement": "false", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(17,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "455" + "killedBy": [], + "coveredBy": [ + "714", + "715", + "716", + "718", + "719" ], + "location": { + "end": { + "column": 104, + "line": 37 + }, + "start": { + "column": 9, + "line": 37 + } + } + }, + { + "id": "2091", + "mutatorName": "LogicalOperator", + "replacement": "clonedAttribute.remainingPhases !== undefined || isPlayerAttributeActive(clonedAttribute, game)", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(17,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "455", - "456", - "626", - "627" + "714", + "715", + "716", + "718", + "719" ], "location": { "end": { - "column": 30, - "line": 36 + "column": 104, + "line": 37 }, "start": { "column": 9, - "line": 36 + "line": 37 } } }, { - "id": "2032", + "id": "2092", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).rejects.toThrow()\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:105:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:120:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "replacement": "true", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(17,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "626" - ], + "killedBy": [], "coveredBy": [ - "455", - "456", - "626", - "627" + "714", + "715", + "716", + "718", + "719" ], "location": { "end": { - "column": 30, - "line": 36 + "column": 54, + "line": 37 }, "start": { "column": 9, - "line": 36 + "line": 37 } } }, { - "id": "2033", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).rejects.toThrow()\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:105:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:120:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "id": "2093", + "mutatorName": "EqualityOperator", + "replacement": "clonedAttribute.remainingPhases === undefined", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(17,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "626" - ], + "killedBy": [], "coveredBy": [ - "626" + "714", + "715", + "716", + "718", + "719" ], "location": { "end": { - "column": 6, - "line": 38 + "column": 54, + "line": 37 }, "start": { - "column": 32, - "line": 36 + "column": 9, + "line": 37 } } }, { - "id": "2034", - "mutatorName": "StringLiteral", - "replacement": "\"\"", - "statusReason": "Error: expect(received).rejects.toThrow(expected)\n\nExpected message: \"Unexpected exception in createGame\"\nReceived message: \"Unexpected exception in \"\n\n 90 | } else {\n 91 | stryCov_9fa48(\"2290\");\n > 92 | return new UnexpectedException(scope, UNEXPECTED_EXCEPTION_REASONS.CANT_GENERATE_GAME_PLAYS);\n | ^\n 93 | }\n 94 | }\n 95 | export { createCantFindPlayerUnexpectedException, createPlayerIsDeadUnexpectedException, createCantGenerateGamePlaysUnexpectedException };\n\n at createCantGenerateGamePlaysUnexpectedException (src/shared/exception/helpers/unexpected-exception.factory.ts:92:12)\n at GameService.createGame (src/modules/game/providers/services/game.service.ts:89:63)\n at Object. (tests/unit/specs/modules/game/providers/services/game.service.spec.ts:120:34)\n at Object.toThrow (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:210:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:120:68)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2094", + "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 \"name\": \"powerless\",\n- \"remainingPhases\": 2,\n+ \"remainingPhases\": 3,\n \"source\": \"ancient\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:44:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "626" + "716" ], "coveredBy": [ - "626" + "716", + "718", + "719" ], "location": { "end": { - "column": 72, - "line": 37 + "column": 6, + "line": 39 }, "start": { - "column": 60, + "column": 106, "line": 37 } } }, { - "id": "2035", - "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:408:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2095", + "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 \"name\": \"powerless\",\n- \"remainingPhases\": 2,\n+ \"remainingPhases\": 4,\n \"source\": \"ancient\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:44:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "455" + "716" ], "coveredBy": [ - "455", - "456", - "627" + "716", + "718", + "719" ], "location": { "end": { - "column": 6, - "line": 44 + "column": 40, + "line": 38 }, "start": { - "column": 57, - "line": 40 + "column": 7, + "line": 38 } } }, { - "id": "2036", + "id": "2096", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(48,40): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(22,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": [ - "459", - "460", - "628", - "629" + "717", + "718", + "719" ], "location": { "end": { "column": 4, - "line": 53 + "line": 56 }, "start": { - "column": 54, - "line": 48 + "column": 98, + "line": 43 } } }, { - "id": "2037", - "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:532:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2097", + "mutatorName": "BooleanLiteral", + "replacement": "clonedPlayer.isAlive", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 1\n\n@@ -1,18 +1,12 @@\n Player {\n \"_id\": \"c4846ec12562cb046de52adb\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"name\": \"cant-vote\",\n+ \"name\": \"sheriff\",\n \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 2,\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": false,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:58:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "460" + "717" ], "coveredBy": [ - "459", - "460", - "628", - "629" + "717", + "718", + "719" ], "location": { "end": { - "column": 46, - "line": 49 + "column": 30, + "line": 45 }, "start": { "column": 9, - "line": 49 + "line": 45 } } }, { - "id": "2038", + "id": "2098", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 200\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:516:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -7,12 +7,18 @@\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"name\": \"sheriff\",\n+ \"name\": \"cant-vote\",\n \"remainingPhases\": 1,\n+ \"source\": \"all\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"sheriff\",\n+ \"remainingPhases\": 2,\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:78:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "459" + "718" ], "coveredBy": [ - "459", - "460", - "628", - "629" + "717", + "718", + "719" ], "location": { "end": { - "column": 46, - "line": 49 + "column": 30, + "line": 45 }, "start": { "column": 9, - "line": 49 + "line": 45 } } }, { - "id": "2039", - "mutatorName": "EqualityOperator", - "replacement": "game.status === GAME_STATUSES.PLAYING", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 200\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:516:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2099", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 1\n\n@@ -1,18 +1,12 @@\n Player {\n \"_id\": \"cd9c9b6bfcf9775d37eaedc3\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"name\": \"cant-vote\",\n+ \"name\": \"sheriff\",\n \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 2,\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": false,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:58:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "459" + "717" ], "coveredBy": [ - "459", - "460", - "628", - "629" + "717", + "718", + "719" ], "location": { "end": { - "column": 46, - "line": 49 + "column": 30, + "line": 45 }, "start": { "column": 9, - "line": 49 + "line": 45 } } }, { - "id": "2040", + "id": "2100", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 200\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:516:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 1\n\n@@ -1,18 +1,12 @@\n Player {\n \"_id\": \"5a1a5ebc6fc613a25eefbbbe\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"name\": \"cant-vote\",\n+ \"name\": \"sheriff\",\n \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 2,\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": false,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:58:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 1, "static": false, "killedBy": [ - "459" + "717" ], "coveredBy": [ - "459", - "628" + "717" ], "location": { "end": { "column": 6, - "line": 51 + "line": 47 }, "start": { - "column": 48, - "line": 49 + "column": 32, + "line": 45 } } }, { - "id": "2041", - "mutatorName": "ObjectLiteral", + "id": "2101", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -76,11 +76,11 @@\n },\n },\n },\n \"phase\": \"night\",\n \"players\": Array [],\n- \"status\": \"canceled\",\n+ \"status\": \"playing\",\n \"tick\": 5012212684947456,\n \"turn\": 3095119305637888,\n \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:533:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 2, + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(27,5): error TS2740: Type 'PlayerAttribute' is missing the following properties from type 'PlayerAttribute[]': length, pop, push, concat, and 31 more.\nsrc/modules/game/providers/services/player/player-attribute.service.ts(27,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", + "status": "CompileError", "static": false, - "killedBy": [ - "460" - ], + "killedBy": [], "coveredBy": [ - "460", - "629" + "718", + "719" ], "location": { "end": { - "column": 72, - "line": 52 + "column": 6, + "line": 54 }, "start": { - "column": 38, - "line": 52 + "column": 95, + "line": 48 } } }, { - "id": "2042", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(55,76): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "2102", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 6\n\n@@ -7,10 +7,16 @@\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": 0,\n+ \"source\": \"all\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n \"name\": \"sheriff\",\n \"remainingPhases\": 1,\n \"source\": \"all\",\n },\n ],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:78:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "718" + ], "coveredBy": [ - "465", - "466", - "467", - "468", - "630", - "631", - "632", - "633", - "634" + "718", + "719" ], "location": { "end": { - "column": 4, - "line": 69 + "column": 101, + "line": 50 }, "start": { - "column": 90, - "line": 55 + "column": 11, + "line": 50 } } }, { - "id": "2043", + "id": "2103", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 1\n\n Object {\n- \"error\": \"Game Play - Player in `targets.player` is not in the game players\",\n- \"message\": \"Player with id \\\"3df699fff31b6a57da23eaea\\\" not found\",\n+ \"message\": \"Game with id \\\"f0510e264026c6e95154ff86\\\" not found\",\n \"statusCode\": 404,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:616:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 14\n+ Received + 1\n\n@@ -1,21 +1,8 @@\n Player {\n \"_id\": \"2cb62c2aedee83669cbefdcd\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Leonard\",\n \"position\": 313056959660032,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:78:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 2, "static": false, "killedBy": [ - "465" + "718" ], "coveredBy": [ - "465", - "466", - "467", - "468", - "630", - "631", - "632", - "633", - "634" + "718", + "719" ], "location": { "end": { - "column": 52, - "line": 57 + "column": 101, + "line": 50 }, "start": { - "column": 9, - "line": 57 + "column": 11, + "line": 50 } } }, { - "id": "2044", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", + "id": "2104", + "mutatorName": "LogicalOperator", + "replacement": "decreasedAttribute.remainingPhases === undefined && decreasedAttribute.remainingPhases > 0", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(29,63): error TS18048: 'decreasedAttribute.remainingPhases' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "465", - "466", - "467", - "468", - "630", - "631", - "632", - "633", - "634" + "718", + "719" ], "location": { "end": { - "column": 52, - "line": 57 + "column": 101, + "line": 50 }, "start": { - "column": 9, - "line": 57 + "column": 11, + "line": 50 } } }, { - "id": "2045", - "mutatorName": "EqualityOperator", - "replacement": "clonedGame.status === GAME_STATUSES.PLAYING", - "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/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:615:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 9, - "static": false, - "killedBy": [ - "465" - ], - "coveredBy": [ - "465", - "466", - "467", - "468", - "630", - "631", - "632", - "633", - "634" + "id": "2105", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(29,20): error TS18048: 'decreasedAttribute.remainingPhases' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "718", + "719" ], "location": { "end": { - "column": 52, - "line": 57 + "column": 59, + "line": 50 }, "start": { - "column": 9, - "line": 57 + "column": 11, + "line": 50 } } }, { - "id": "2046", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:191:79)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "id": "2106", + "mutatorName": "EqualityOperator", + "replacement": "decreasedAttribute.remainingPhases !== undefined", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(29,63): error TS18048: 'decreasedAttribute.remainingPhases' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "630" - ], + "killedBy": [], "coveredBy": [ - "630" + "718", + "719" ], "location": { "end": { - "column": 6, - "line": 59 + "column": 59, + "line": 50 }, "start": { - "column": 54, - "line": 57 + "column": 11, + "line": 50 } } }, { - "id": "2047", + "id": "2107", "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/sandbox8606425/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:681:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 6\n+ Received + 0\n\n@@ -5,16 +5,10 @@\n \"activeAt\": undefined,\n \"name\": \"cant-vote\",\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Gunner\",\n \"position\": 7772149745975296,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:78:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "467" + "718" ], "coveredBy": [ - "467", - "468", - "631", - "632", - "633", - "634" + "718", + "719" ], "location": { "end": { - "column": 31, - "line": 65 + "column": 101, + "line": 50 }, "start": { - "column": 9, - "line": 65 + "column": 63, + "line": 50 } } }, { - "id": "2048", - "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:225:52)", + "id": "2108", + "mutatorName": "EqualityOperator", + "replacement": "decreasedAttribute.remainingPhases >= 0", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 6\n\n@@ -7,10 +7,16 @@\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": 0,\n+ \"source\": \"all\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n \"name\": \"sheriff\",\n \"remainingPhases\": 1,\n \"source\": \"all\",\n },\n ],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:78:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "634" + "718" ], "coveredBy": [ - "467", - "468", - "631", - "632", - "633", - "634" + "718", + "719" ], "location": { "end": { - "column": 31, - "line": 65 + "column": 101, + "line": 50 }, "start": { - "column": 9, - "line": 65 + "column": 63, + "line": 50 } } }, { - "id": "2049", - "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:225:52)", + "id": "2109", + "mutatorName": "EqualityOperator", + "replacement": "decreasedAttribute.remainingPhases <= 0", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -7,12 +7,12 @@\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": 0,\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:78:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "634" + "718" ], "coveredBy": [ - "634" + "718", + "719" ], "location": { "end": { - "column": 6, - "line": 67 + "column": 101, + "line": 50 }, "start": { - "column": 33, - "line": 65 + "column": 63, + "line": 50 } } }, { - "id": "2050", + "id": "2110", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(71,86): 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 - 14\n+ Received + 1\n\n@@ -1,21 +1,8 @@\n Player {\n \"_id\": \"ee485ec90c4a233af923bdf5\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Mittie\",\n \"position\": 3841145176064000,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:78:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "718" + ], "coveredBy": [ - "460", - "467", - "468", - "635", - "636" + "718", + "719" ], "location": { "end": { - "column": 4, - "line": 77 + "column": 8, + "line": 52 }, "start": { - "column": 100, - "line": 71 + "column": 103, + "line": 50 } } }, { - "id": "2051", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"fb2a7bd86d42d31acc0dde5d\"}, {\"status\": \"over\"}], but it was called with {}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:244:46)", + "id": "2111", + "mutatorName": "ArrayDeclaration", + "replacement": "[]", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 14\n+ Received + 1\n\n@@ -1,21 +1,8 @@\n Player {\n \"_id\": \"4ece9a66f7afc7a7ecf5b693\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Sheridan\",\n \"position\": 6474102520938496,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8549388/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:78:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 2, "static": false, "killedBy": [ - "636" + "718" ], "coveredBy": [ - "460", - "467", - "468", - "635", - "636" + "718", + "719" ], "location": { "end": { - "column": 76, - "line": 72 + "column": 44, + "line": 51 }, "start": { - "column": 61, - "line": 72 + "column": 16, + "line": 51 } } }, { - "id": "2052", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game.service.ts(76,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", + "id": "2112", + "mutatorName": "ArrayDeclaration", + "replacement": "[\"Stryker was here\"]", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(27,5): error TS2740: Type 'PlayerAttribute' is missing the following properties from type 'PlayerAttribute[]': length, pop, push, concat, and 31 more.\nsrc/modules/game/providers/services/player/player-attribute.service.ts(33,9): error TS2322: Type 'string' is not assignable to type 'PlayerAttribute'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "460", - "467", - "468", - "635", - "636" + "718", + "719" ], "location": { "end": { - "column": 29, - "line": 73 + "column": 10, + "line": 54 }, "start": { - "column": 9, - "line": 73 + "column": 8, + "line": 54 } } }, { - "id": "2053", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game.service.ts(76,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", + "id": "2082", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(14,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": [ - "460", - "467", - "468", - "635", - "636" + "711" ], "location": { "end": { - "column": 29, - "line": 73 + "column": 4, + "line": 17 }, "start": { - "column": 9, - "line": 73 + "column": 115, + "line": 14 } } }, { - "id": "2054", - "mutatorName": "EqualityOperator", - "replacement": "updatedGame !== null", - "statusReason": "src/modules/game/providers/services/game.service.ts(76,5): error TS2322: Type 'null' is not assignable to type 'Game'.\n", + "id": "2085", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(24,80): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "460", - "467", - "468", - "635", - "636" + "713" ], "location": { "end": { - "column": 29, - "line": 73 + "column": 4, + "line": 27 }, "start": { - "column": 9, - "line": 73 + "column": 94, + "line": 24 } } }, { - "id": "2055", + "id": "2084", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(74,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", + "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(19,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": [ - "635" + "712" ], "location": { "end": { - "column": 6, - "line": 75 + "column": 4, + "line": 22 }, "start": { - "column": 31, - "line": 73 + "column": 98, + "line": 19 } } }, { - "id": "2056", - "mutatorName": "BlockStatement", + "id": "2083", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(78,38): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"e3ab3bdbca1cc686cfb1f995\", {\"_id\": \"0f7cafc9c95fe7a8eba1b315\", \"additionalCards\": undefined, \"createdAt\": 2023-06-27T14:09:45.035Z, \"currentPlay\": {\"action\": \"choose-model\", \"cause\": undefined, \"source\": \"hunter\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 7246392766496768}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [], \"status\": \"canceled\", \"tick\": 3091899061633024, \"turn\": 7012989978804224, \"upcomingPlays\": [], \"updatedAt\": 2023-06-26T20:25:22.420Z, \"victory\": undefined}, {\"cause\": \"eaten\", \"source\": \"big-bad-wolf\"}], but it was called with \"e3ab3bdbca1cc686cfb1f995\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9912092/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:42:60)", + "status": "Killed", "static": false, - "killedBy": [], + "testsCompleted": 1, + "killedBy": [ + "711" + ], "coveredBy": [ - "637" + "711" ], "location": { "end": { - "column": 4, - "line": 84 + "column": 82, + "line": 15 }, "start": { - "column": 43, - "line": 79 + "column": 54, + "line": 15 } } } ], - "source": "import { Injectable } from \"@nestjs/common\";\nimport { plainToInstance } from \"class-transformer\";\nimport { cloneDeep } from \"lodash\";\nimport type { Types } from \"mongoose\";\nimport { API_RESOURCES } from \"../../../../shared/api/enums/api.enum\";\nimport { BAD_RESOURCE_MUTATION_REASONS } from \"../../../../shared/exception/enums/bad-resource-mutation-error.enum\";\nimport { createCantGenerateGamePlaysUnexpectedException } from \"../../../../shared/exception/helpers/unexpected-exception.factory\";\nimport { BadResourceMutationException } from \"../../../../shared/exception/types/bad-resource-mutation-exception.type\";\nimport { ResourceNotFoundException } from \"../../../../shared/exception/types/resource-not-found-exception.type\";\nimport { CreateGameDto } from \"../../dto/create-game/create-game.dto\";\nimport type { MakeGamePlayDto } from \"../../dto/make-game-play/make-game-play.dto\";\nimport { GAME_STATUSES } from \"../../enums/game.enum\";\nimport { createMakeGamePlayDtoWithRelations } from \"../../helpers/game-play/game-play.helper\";\nimport { generateGameVictoryData, isGameOver } from \"../../helpers/game-victory/game-victory.helper\";\nimport type { Game } from \"../../schemas/game.schema\";\nimport { GameRepository } from \"../repositories/game.repository\";\nimport { GamePlaysMakerService } from \"./game-play/game-plays-maker.service\";\nimport { GamePlaysManagerService } from \"./game-play/game-plays-manager.service\";\nimport { GamePlaysValidatorService } from \"./game-play/game-plays-validator.service\";\n\n@Injectable()\nexport class GameService {\n public constructor(\n private readonly gamePlaysManagerService: GamePlaysManagerService,\n private readonly gamePlaysValidatorService: GamePlaysValidatorService,\n private readonly gamePlaysMakerService: GamePlaysMakerService,\n private readonly gameRepository: GameRepository,\n ) {}\n\n public async getGames(): Promise {\n return this.gameRepository.find();\n }\n\n public async createGame(game: CreateGameDto): Promise {\n const upcomingPlays = this.gamePlaysManagerService.getUpcomingNightPlays(game);\n if (!upcomingPlays.length) {\n throw createCantGenerateGamePlaysUnexpectedException(\"createGame\");\n }\n const currentPlay = upcomingPlays.shift();\n const gameToCreate = plainToInstance(CreateGameDto, {\n ...game,\n upcomingPlays,\n currentPlay,\n });\n return this.gameRepository.create(gameToCreate);\n }\n\n public async cancelGame(game: Game): Promise {\n if (game.status !== GAME_STATUSES.PLAYING) {\n throw new BadResourceMutationException(API_RESOURCES.GAMES, game._id.toString(), BAD_RESOURCE_MUTATION_REASONS.GAME_NOT_PLAYING);\n }\n return this.updateGame(game._id, { status: GAME_STATUSES.CANCELED });\n }\n\n public async makeGamePlay(game: Game, makeGamePlayDto: MakeGamePlayDto): Promise {\n let clonedGame = cloneDeep(game);\n if (clonedGame.status !== GAME_STATUSES.PLAYING) {\n throw new BadResourceMutationException(API_RESOURCES.GAMES, clonedGame._id.toString(), BAD_RESOURCE_MUTATION_REASONS.GAME_NOT_PLAYING);\n }\n const play = createMakeGamePlayDtoWithRelations(makeGamePlayDto, clonedGame);\n await this.gamePlaysValidatorService.validateGamePlayWithRelationsDtoData(play, clonedGame);\n clonedGame = await this.gamePlaysMakerService.makeGamePlay(play, clonedGame);\n clonedGame = this.gamePlaysManagerService.removeObsoleteUpcomingPlays(clonedGame);\n clonedGame = this.gamePlaysManagerService.proceedToNextGamePlay(clonedGame);\n if (isGameOver(clonedGame)) {\n clonedGame = this.setGameAsOver(clonedGame);\n }\n return this.updateGame(clonedGame._id, clonedGame);\n }\n\n private async updateGame(gameId: Types.ObjectId, gameDataToUpdate: Partial): Promise {\n const updatedGame = await this.gameRepository.updateOne({ _id: gameId }, gameDataToUpdate);\n if (updatedGame === null) {\n throw new ResourceNotFoundException(API_RESOURCES.GAMES, gameId.toString());\n }\n return updatedGame;\n }\n\n private setGameAsOver(game: Game): Game {\n const clonedGame = cloneDeep(game);\n clonedGame.status = GAME_STATUSES.OVER;\n clonedGame.victory = generateGameVictoryData(clonedGame);\n return clonedGame;\n }\n}" + "source": "import { Injectable } from \"@nestjs/common\";\nimport { cloneDeep } from \"lodash\";\nimport { isPlayerAttributeActive } from \"../../../helpers/player/player-attribute/player-attribute.helper\";\nimport { createPlayerDiseaseByRustySwordKnightDeath, createPlayerDeathPotionByWitchDeath, createPlayerEatenByWerewolvesDeath } from \"../../../helpers/player/player-death/player-death.factory\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { PlayerAttribute } from \"../../../schemas/player/player-attribute/player-attribute.schema\";\nimport type { Player } from \"../../../schemas/player/player.schema\";\nimport { PlayerKillerService } from \"./player-killer.service\";\n\n@Injectable()\nexport class PlayerAttributeService {\n public constructor(private readonly playerKillerService: PlayerKillerService) {}\n\n public async applyEatenAttributeOutcomes(player: Player, game: Game, attribute: PlayerAttribute): Promise {\n const death = createPlayerEatenByWerewolvesDeath({ source: attribute.source });\n return this.playerKillerService.killOrRevealPlayer(player._id, game, death);\n }\n\n public async applyDrankDeathPotionAttributeOutcomes(player: Player, game: Game): Promise {\n const death = createPlayerDeathPotionByWitchDeath();\n return this.playerKillerService.killOrRevealPlayer(player._id, game, death);\n }\n\n public async applyContaminatedAttributeOutcomes(player: Player, game: Game): Promise {\n const death = createPlayerDiseaseByRustySwordKnightDeath();\n return this.playerKillerService.killOrRevealPlayer(player._id, game, death);\n }\n\n public decreaseRemainingPhasesAndRemoveObsoletePlayerAttributes(game: Game): Game {\n const clonedGame = cloneDeep(game);\n clonedGame.players = clonedGame.players.map(player => this.decreaseRemainingPhasesAndRemoveObsoleteAttributes(player, clonedGame));\n return clonedGame;\n }\n\n private decreaseAttributeRemainingPhase(attribute: PlayerAttribute, game: Game): PlayerAttribute {\n const clonedAttribute = cloneDeep(attribute);\n if (clonedAttribute.remainingPhases !== undefined && isPlayerAttributeActive(clonedAttribute, game)) {\n clonedAttribute.remainingPhases--;\n }\n return clonedAttribute;\n }\n \n private decreaseRemainingPhasesAndRemoveObsoleteAttributes(player: Player, game: Game): Player {\n const clonedPlayer = cloneDeep(player);\n if (!clonedPlayer.isAlive) {\n return clonedPlayer;\n }\n clonedPlayer.attributes = player.attributes.reduce((acc, attribute) => {\n const decreasedAttribute = this.decreaseAttributeRemainingPhase(attribute, game);\n if (decreasedAttribute.remainingPhases === undefined || decreasedAttribute.remainingPhases > 0) {\n return [...acc, decreasedAttribute];\n }\n return acc;\n }, []);\n return clonedPlayer;\n }\n}" }, "src/modules/game/providers/services/player/player-killer.service.ts": { "language": "typescript", "mutants": [ { - "id": "2057", + "id": "2113", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(22,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -68531,7 +70028,7 @@ } }, { - "id": "2058", + "id": "2114", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 3\n+ Received + 6\n\n@@ -81,17 +81,20 @@\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"14b9c9f2522dd7fcacc3c17d\",\n \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n+ \"death\": PlayerDeath {\n+ \"cause\": \"death-potion\",\n+ \"source\": \"witch\",\n+ },\n+ \"isAlive\": false,\n \"name\": \"Eldridge\",\n \"position\": 3568204498599936,\n \"role\": PlayerRole {\n \"current\": \"werewolf\",\n- \"isRevealed\": false,\n+ \"isRevealed\": true,\n \"original\": \"werewolf\",\n },\n \"side\": PlayerSide {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:114:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -68558,7 +70055,7 @@ } }, { - "id": "2059", + "id": "2115", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:133:52)", @@ -68585,7 +70082,7 @@ } }, { - "id": "2060", + "id": "2116", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:133:52)", @@ -68610,7 +70107,7 @@ } }, { - "id": "2061", + "id": "2117", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -87,11 +87,11 @@\n \"isAlive\": true,\n \"name\": \"Ismael\",\n \"position\": 604581052547072,\n \"role\": PlayerRole {\n \"current\": \"werewolf\",\n- \"isRevealed\": false,\n+ \"isRevealed\": true,\n \"original\": \"werewolf\",\n },\n \"side\": PlayerSide {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:114:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -68636,7 +70133,7 @@ } }, { - "id": "2062", + "id": "2118", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:152:58)", @@ -68662,7 +70159,7 @@ } }, { - "id": "2063", + "id": "2119", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -68683,7 +70180,7 @@ } }, { - "id": "2064", + "id": "2120", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(34,75): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -68708,7 +70205,7 @@ } }, { - "id": "2065", + "id": "2121", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:206:103)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -68736,7 +70233,7 @@ } }, { - "id": "2066", + "id": "2122", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -68760,7 +70257,7 @@ } }, { - "id": "2067", + "id": "2123", "mutatorName": "EqualityOperator", "replacement": "cause === PLAYER_DEATH_CAUSES.EATEN", "status": "Timeout", @@ -68784,7 +70281,7 @@ } }, { - "id": "2068", + "id": "2124", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -68805,7 +70302,7 @@ } }, { - "id": "2069", + "id": "2125", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:199:102)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -68830,7 +70327,7 @@ } }, { - "id": "2070", + "id": "2126", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -68853,7 +70350,7 @@ } }, { - "id": "2071", + "id": "2127", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:213:103)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -68880,7 +70377,7 @@ } }, { - "id": "2072", + "id": "2128", "mutatorName": "EqualityOperator", "replacement": "ancientLivesCountAgainstWerewolves - 1 < 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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:213:103)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -68907,7 +70404,7 @@ } }, { - "id": "2073", + "id": "2129", "mutatorName": "EqualityOperator", "replacement": "ancientLivesCountAgainstWerewolves - 1 > 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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:206:103)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -68934,7 +70431,7 @@ } }, { - "id": "2074", + "id": "2130", "mutatorName": "ArithmeticOperator", "replacement": "ancientLivesCountAgainstWerewolves + 1", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:213:103)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -68961,7 +70458,7 @@ } }, { - "id": "2075", + "id": "2131", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(42,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -68986,7 +70483,7 @@ } }, { - "id": "2076", + "id": "2132", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -97,11 +97,18 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"df1a81edea25bb7891c2ef2d\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"all\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Emelie\",\n \"position\": 7716731210432512,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:173:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69014,7 +70511,7 @@ } }, { - "id": "2077", + "id": "2133", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -80,18 +80,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"bdccbbacd5e3518d6a0632f8\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Ward\",\n \"position\": 5255722619109376,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:161:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69042,7 +70539,7 @@ } }, { - "id": "2078", + "id": "2134", "mutatorName": "EqualityOperator", "replacement": "revealedPlayer.role.current !== ROLE_NAMES.IDIOT", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -80,18 +80,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"de8bdb2f2ae11ac8e7bda1d9\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Spencer\",\n \"position\": 1486983247429632,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:161:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69070,7 +70567,7 @@ } }, { - "id": "2079", + "id": "2135", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -80,18 +80,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"ae8f4a2c870019bcca065578\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Therese\",\n \"position\": 4790803637469184,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:161:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69095,7 +70592,7 @@ } }, { - "id": "2080", + "id": "2136", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(50,65): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -69119,7 +70616,7 @@ } }, { - "id": "2081", + "id": "2137", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"revealPlayerRole\", {\"gameId\": \"c3a4366da14daefdcddacaa8\", \"playerId\": \"7a88bfb86aadd012c5fb5f5a\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:223:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69146,7 +70643,7 @@ } }, { - "id": "2082", + "id": "2138", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(53,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", @@ -69170,7 +70667,7 @@ } }, { - "id": "2083", + "id": "2139", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -87,11 +87,11 @@\n \"isAlive\": true,\n \"name\": \"Delilah\",\n \"position\": 247480566415360,\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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:247:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69197,10 +70694,10 @@ } }, { - "id": "2084", + "id": "2140", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(59,85): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(60,85): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], @@ -69223,12 +70720,16 @@ } }, { - "id": "2085", + "id": "2141", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "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/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:275:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "237" + ], "coveredBy": [ "237", "238", @@ -69248,10 +70749,10 @@ } }, { - "id": "2086", + "id": "2142", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:283:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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 Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:302:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, @@ -69277,7 +70778,7 @@ } }, { - "id": "2087", + "id": "2143", "mutatorName": "LogicalOperator", "replacement": "!playerToReveal.role.isRevealed && playerToReveal.role.current === ROLE_NAMES.IDIOT && !doesPlayerHaveAttribute(playerToReveal, PLAYER_ATTRIBUTE_NAMES.POWERLESS) || death.cause === PLAYER_DEATH_CAUSES.VOTE", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:256:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69306,7 +70807,7 @@ } }, { - "id": "2088", + "id": "2144", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:256:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69335,7 +70836,7 @@ } }, { - "id": "2089", + "id": "2145", "mutatorName": "LogicalOperator", "replacement": "!playerToReveal.role.isRevealed && playerToReveal.role.current === ROLE_NAMES.IDIOT || !doesPlayerHaveAttribute(playerToReveal, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:256:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69364,7 +70865,7 @@ } }, { - "id": "2090", + "id": "2146", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:256:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69393,7 +70894,7 @@ } }, { - "id": "2091", + "id": "2147", "mutatorName": "LogicalOperator", "replacement": "!playerToReveal.role.isRevealed || playerToReveal.role.current === ROLE_NAMES.IDIOT", "status": "Timeout", @@ -69418,12 +70919,16 @@ } }, { - "id": "2092", + "id": "2148", "mutatorName": "BooleanLiteral", "replacement": "playerToReveal.role.isRevealed", - "status": "Timeout", + "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/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:302:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "241" + ], "coveredBy": [ "237", "238", @@ -69443,7 +70948,7 @@ } }, { - "id": "2093", + "id": "2149", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -69467,7 +70972,7 @@ } }, { - "id": "2094", + "id": "2150", "mutatorName": "EqualityOperator", "replacement": "playerToReveal.role.current !== ROLE_NAMES.IDIOT", "status": "Timeout", @@ -69491,7 +70996,7 @@ } }, { - "id": "2095", + "id": "2151", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveAttribute(playerToReveal, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:269:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69512,89 +71017,264 @@ "line": 61 }, "start": { - "column": 99, - "line": 61 + "column": 99, + "line": 61 + } + } + }, + { + "id": "2152", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:276:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "240" + ], + "coveredBy": [ + "240", + "241" + ], + "location": { + "end": { + "column": 47, + "line": 62 + }, + "start": { + "column": 7, + "line": 62 + } + } + }, + { + "id": "2153", + "mutatorName": "EqualityOperator", + "replacement": "death.cause !== PLAYER_DEATH_CAUSES.VOTE", + "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:276:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "240" + ], + "coveredBy": [ + "240", + "241" + ], + "location": { + "end": { + "column": 47, + "line": 62 + }, + "start": { + "column": 7, + "line": 62 + } + } + }, + { + "id": "2154", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/player/player-killer.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": [ + "227", + "242" + ], + "location": { + "end": { + "column": 4, + "line": 69 + }, + "start": { + "column": 68, + "line": 65 + } + } + }, + { + "id": "2155", + "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\": \"9eeb07afadad2b99dceb60fd\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": false,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"all\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"powerless\",\n \"remainingPhases\": undefined,\n \"source\": \"ancient\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:324:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "242" + ], + "coveredBy": [ + "227", + "242" + ], + "location": { + "end": { + "column": 122, + "line": 67 + }, + "start": { + "column": 31, + "line": 67 + } + } + }, + { + "id": "2156", + "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\": \"3517a9dc4a85a34ffae4b220\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"ancient\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": false,\n \"name\": \"Nedra\",\n \"position\": 8969574292652032,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:324:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "242" + ], + "coveredBy": [ + "227", + "242" + ], + "location": { + "end": { + "column": 121, + "line": 67 + }, + "start": { + "column": 62, + "line": 67 + } + } + }, + { + "id": "2157", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "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\": \"7bfbc02ee3c2d9eba98acf94\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": false,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"all\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"powerless\",\n \"remainingPhases\": undefined,\n \"source\": \"ancient\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:324:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "242" + ], + "coveredBy": [ + "242" + ], + "location": { + "end": { + "column": 121, + "line": 67 + }, + "start": { + "column": 92, + "line": 67 + } + } + }, + { + "id": "2158", + "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\": \"28d8cea6cbc8ab3ebd2cb79e\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"ancient\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": false,\n \"name\": \"Lolita\",\n \"position\": 7858553421299712,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:324:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "242" + ], + "coveredBy": [ + "242" + ], + "location": { + "end": { + "column": 121, + "line": 67 + }, + "start": { + "column": 92, + "line": 67 } } }, { - "id": "2096", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:276:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2159", + "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\": \"0a2eb4aaaead59f1a763aba7\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"ancient\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n+ \"doesRemainAfterDeath\": false,\n+ \"name\": \"cant-vote\",\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:324:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 1, "static": false, "killedBy": [ - "240" + "242" ], "coveredBy": [ - "240", - "241" + "242" ], "location": { "end": { - "column": 47, - "line": 62 + "column": 121, + "line": 67 }, "start": { - "column": 7, - "line": 62 + "column": 92, + "line": 67 } } }, { - "id": "2097", - "mutatorName": "EqualityOperator", - "replacement": "death.cause !== PLAYER_DEATH_CAUSES.VOTE", - "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:276:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2160", + "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\": \"bebafbfe89e65d84bf20babb\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"ancient\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n+ \"doesRemainAfterDeath\": false,\n+ \"name\": \"cant-vote\",\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:324:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 1, "static": false, "killedBy": [ - "240" + "242" ], "coveredBy": [ - "240", - "241" + "242" ], "location": { "end": { - "column": 47, - "line": 62 + "column": 121, + "line": 67 }, "start": { - "column": 7, - "line": 62 + "column": 117, + "line": 67 } } }, { - "id": "2098", + "id": "2161", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(65,68): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(71,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": [ - "242", "243", - "244" + "244", + "245" ], "location": { "end": { "column": 4, - "line": 76 + "line": 82 }, "start": { "column": 84, - "line": 65 + "line": 71 } } }, { - "id": "2099", + "id": "2162", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(69,5): error TS2322: Type 'GameHistoryRecord' is not assignable to type 'number'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(69,47): 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, werewolvesEatAncientRecord: 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, werewolvesEatAncientRecord: 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", @@ -69602,22 +71282,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "243", - "244" + "244", + "245" ], "location": { "end": { "column": 6, - "line": 75 + "line": 81 }, "start": { "column": 84, - "line": 69 + "line": 75 } } }, { - "id": "2100", + "id": "2163", "mutatorName": "BooleanLiteral", "replacement": "!ancientProtectedFromWerewolvesRecords.find(({\n turn\n}) => turn === werewolvesEatAncientRecord.turn)", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 1\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:355:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69625,25 +71305,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "243" + "244" ], "coveredBy": [ - "243", - "244" + "244", + "245" ], "location": { "end": { "column": 149, - "line": 70 + "line": 76 }, "start": { "column": 49, - "line": 70 + "line": 76 } } }, { - "id": "2101", + "id": "2164", "mutatorName": "BooleanLiteral", "replacement": "ancientProtectedFromWerewolvesRecords.find(({\n turn\n}) => turn === werewolvesEatAncientRecord.turn)", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 1\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:355:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69651,25 +71331,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "243" + "244" ], "coveredBy": [ - "243", - "244" + "244", + "245" ], "location": { "end": { "column": 149, - "line": 70 + "line": 76 }, "start": { "column": 50, - "line": 70 + "line": 76 } } }, { - "id": "2102", + "id": "2165", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:355:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69677,25 +71357,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "243" + "244" ], "coveredBy": [ - "243", - "244" + "244", + "245" ], "location": { "end": { "column": 148, - "line": 70 + "line": 76 }, "start": { "column": 94, - "line": 70 + "line": 76 } } }, { - "id": "2103", + "id": "2166", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:355:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69703,24 +71383,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "243" + "244" ], "coveredBy": [ - "243" + "244" ], "location": { "end": { "column": 148, - "line": 70 + "line": 76 }, "start": { "column": 108, - "line": 70 + "line": 76 } } }, { - "id": "2104", + "id": "2167", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:355:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69728,24 +71408,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "243" + "244" ], "coveredBy": [ - "243" + "244" ], "location": { "end": { "column": 148, - "line": 70 + "line": 76 }, "start": { "column": 108, - "line": 70 + "line": 76 } } }, { - "id": "2105", + "id": "2168", "mutatorName": "EqualityOperator", "replacement": "turn !== werewolvesEatAncientRecord.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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:355:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69753,68 +71433,68 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "243" + "244" ], "coveredBy": [ - "243" + "244" ], "location": { "end": { "column": 148, - "line": 70 + "line": 76 }, "start": { "column": 108, - "line": 70 + "line": 76 } } }, { - "id": "2106", + "id": "2169", "mutatorName": "BooleanLiteral", "replacement": "wasAncientProtectedFromWerewolves", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "243", - "244" + "244", + "245" ], "location": { "end": { "column": 45, - "line": 71 + "line": 77 }, "start": { "column": 11, - "line": 71 + "line": 77 } } }, { - "id": "2107", + "id": "2170", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "243", - "244" + "244", + "245" ], "location": { "end": { "column": 45, - "line": 71 + "line": 77 }, "start": { "column": 11, - "line": 71 + "line": 77 } } }, { - "id": "2108", + "id": "2171", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:355:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69822,47 +71502,47 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "243" + "244" ], "coveredBy": [ - "243", - "244" + "244", + "245" ], "location": { "end": { "column": 45, - "line": 71 + "line": 77 }, "start": { "column": 11, - "line": 71 + "line": 77 } } }, { - "id": "2109", + "id": "2172", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "243", - "244" + "244", + "245" ], "location": { "end": { "column": 8, - "line": 73 + "line": 79 }, "start": { "column": 47, - "line": 71 + "line": 77 } } }, { - "id": "2110", + "id": "2173", "mutatorName": "ArithmeticOperator", "replacement": "acc + 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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:355:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69870,25 +71550,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "243" + "244" ], "coveredBy": [ - "243", - "244" + "244", + "245" ], "location": { "end": { "column": 23, - "line": 72 + "line": 78 }, "start": { "column": 16, - "line": 72 + "line": 78 } } }, { - "id": "2111", + "id": "2174", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(84,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -69896,24 +71576,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "245", "246", "247", - "248" + "248", + "249" ], "location": { "end": { "column": 4, - "line": 81 + "line": 87 }, "start": { "column": 85, - "line": 78 + "line": 84 } } }, { - "id": "2112", + "id": "2175", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:393:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69921,27 +71601,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "248" + "249" ], "coveredBy": [ - "245", "246", "247", - "248" + "248", + "249" ], "location": { "end": { "column": 97, - "line": 80 + "line": 86 }, "start": { "column": 12, - "line": 80 + "line": 86 } } }, { - "id": "2113", + "id": "2176", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:375:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69949,27 +71629,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "245" + "246" ], "coveredBy": [ - "245", "246", "247", - "248" + "248", + "249" ], "location": { "end": { "column": 97, - "line": 80 + "line": 86 }, "start": { "column": 12, - "line": 80 + "line": 86 } } }, { - "id": "2114", + "id": "2177", "mutatorName": "LogicalOperator", "replacement": "(idiotPlayer.role.isRevealed || cause !== PLAYER_DEATH_CAUSES.VOTE) && isIdiotPowerless", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:375:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69977,27 +71657,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "245" + "246" ], "coveredBy": [ - "245", "246", "247", - "248" + "248", + "249" ], "location": { "end": { "column": 97, - "line": 80 + "line": 86 }, "start": { "column": 12, - "line": 80 + "line": 86 } } }, { - "id": "2115", + "id": "2178", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:375:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70005,27 +71685,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "245" + "246" ], "coveredBy": [ - "245", "246", "247", - "248" + "248", + "249" ], "location": { "end": { "column": 77, - "line": 80 + "line": 86 }, "start": { "column": 12, - "line": 80 + "line": 86 } } }, { - "id": "2116", + "id": "2179", "mutatorName": "LogicalOperator", "replacement": "idiotPlayer.role.isRevealed && cause !== PLAYER_DEATH_CAUSES.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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:375:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70033,27 +71713,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "245" + "246" ], "coveredBy": [ - "245", "246", "247", - "248" + "248", + "249" ], "location": { "end": { "column": 77, - "line": 80 + "line": 86 }, "start": { "column": 12, - "line": 80 + "line": 86 } } }, { - "id": "2117", + "id": "2180", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:381:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70061,26 +71741,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "246" + "247" ], "coveredBy": [ - "246", "247", - "248" + "248", + "249" ], "location": { "end": { "column": 77, - "line": 80 + "line": 86 }, "start": { "column": 43, - "line": 80 + "line": 86 } } }, { - "id": "2118", + "id": "2181", "mutatorName": "EqualityOperator", "replacement": "cause === PLAYER_DEATH_CAUSES.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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:381:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70088,26 +71768,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "246" + "247" ], "coveredBy": [ - "246", "247", - "248" + "248", + "249" ], "location": { "end": { "column": 77, - "line": 80 + "line": 86 }, "start": { "column": 43, - "line": 80 + "line": 86 } } }, { - "id": "2119", + "id": "2182", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(89,62): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -70115,25 +71795,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "249", "250", "251", "252", - "253" + "253", + "254" ], "location": { "end": { "column": 4, - "line": 88 + "line": 94 }, "start": { "column": 70, - "line": 83 + "line": 89 } } }, { - "id": "2120", + "id": "2183", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:402:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70141,78 +71821,78 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "249" + "250" ], "coveredBy": [ - "249", "250", "251", "252", - "253" + "253", + "254" ], "location": { "end": { "column": 152, - "line": 87 + "line": 93 }, "start": { "column": 12, - "line": 87 + "line": 93 } } }, { - "id": "2121", + "id": "2184", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "249", "250", "251", "252", - "253" + "253", + "254" ], "location": { "end": { "column": 152, - "line": 87 + "line": 93 }, "start": { "column": 12, - "line": 87 + "line": 93 } } }, { - "id": "2122", + "id": "2185", "mutatorName": "LogicalOperator", "replacement": "!isPlayerSavedByWitch || !isPlayerProtectedByGuard || eatenPlayer.role.current === ROLE_NAMES.LITTLE_GIRL && !isLittleGirlProtectedByGuard", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "249", "250", "251", "252", - "253" + "253", + "254" ], "location": { "end": { "column": 152, - "line": 87 + "line": 93 }, "start": { "column": 12, - "line": 87 + "line": 93 } } }, { - "id": "2123", + "id": "2186", "mutatorName": "BooleanLiteral", "replacement": "isPlayerSavedByWitch", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:402:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70220,52 +71900,52 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "249" + "250" ], "coveredBy": [ - "249", "250", "251", "252", - "253" + "253", + "254" ], "location": { "end": { "column": 33, - "line": 87 + "line": 93 }, "start": { "column": 12, - "line": 87 + "line": 93 } } }, { - "id": "2124", + "id": "2187", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "250", "251", "252", - "253" + "253", + "254" ], "location": { "end": { "column": 151, - "line": 87 + "line": 93 }, "start": { "column": 38, - "line": 87 + "line": 93 } } }, { - "id": "2125", + "id": "2188", "mutatorName": "LogicalOperator", "replacement": "!isPlayerProtectedByGuard && eatenPlayer.role.current === ROLE_NAMES.LITTLE_GIRL && !isLittleGirlProtectedByGuard", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:426:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70273,27 +71953,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "252" + "253" ], "coveredBy": [ - "250", "251", "252", - "253" + "253", + "254" ], "location": { "end": { "column": 151, - "line": 87 + "line": 93 }, "start": { "column": 38, - "line": 87 + "line": 93 } } }, { - "id": "2126", + "id": "2189", "mutatorName": "BooleanLiteral", "replacement": "isPlayerProtectedByGuard", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:410:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70301,27 +71981,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "250" + "251" ], "coveredBy": [ - "250", "251", "252", - "253" + "253", + "254" ], "location": { "end": { "column": 63, - "line": 87 + "line": 93 }, "start": { "column": 38, - "line": 87 + "line": 93 } } }, { - "id": "2127", + "id": "2190", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:426:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70329,26 +72009,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "252" + "253" ], "coveredBy": [ - "250", "251", - "252" + "252", + "253" ], "location": { "end": { "column": 151, - "line": 87 + "line": 93 }, "start": { "column": 67, - "line": 87 + "line": 93 } } }, { - "id": "2128", + "id": "2191", "mutatorName": "LogicalOperator", "replacement": "eatenPlayer.role.current === ROLE_NAMES.LITTLE_GIRL || !isLittleGirlProtectedByGuard", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:410:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70356,26 +72036,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "250" + "251" ], "coveredBy": [ - "250", "251", - "252" + "252", + "253" ], "location": { "end": { "column": 151, - "line": 87 + "line": 93 }, "start": { "column": 67, - "line": 87 + "line": 93 } } }, { - "id": "2129", + "id": "2192", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:410:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70383,71 +72063,71 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "250" + "251" ], "coveredBy": [ - "250", "251", - "252" + "252", + "253" ], "location": { "end": { "column": 118, - "line": 87 + "line": 93 }, "start": { "column": 67, - "line": 87 + "line": 93 } } }, { - "id": "2130", + "id": "2193", "mutatorName": "EqualityOperator", "replacement": "eatenPlayer.role.current !== ROLE_NAMES.LITTLE_GIRL", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "250", "251", - "252" + "252", + "253" ], "location": { "end": { "column": 118, - "line": 87 + "line": 93 }, "start": { "column": 67, - "line": 87 + "line": 93 } } }, { - "id": "2131", + "id": "2194", "mutatorName": "BooleanLiteral", "replacement": "isLittleGirlProtectedByGuard", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "251", - "252" + "252", + "253" ], "location": { "end": { "column": 151, - "line": 87 + "line": 93 }, "start": { "column": 122, - "line": 87 + "line": 93 } } }, { - "id": "2132", + "id": "2195", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(90,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -70455,27 +72135,27 @@ "static": false, "killedBy": [], "coveredBy": [ - "254", "255", "256", "257", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 4, - "line": 101 + "line": 107 }, "start": { "column": 108, - "line": 90 + "line": 96 } } }, { - "id": "2133", + "id": "2196", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:467:35)", @@ -70483,30 +72163,30 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "256" + "257" ], "coveredBy": [ - "254", "255", "256", "257", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 84, - "line": 91 + "line": 97 }, "start": { "column": 9, - "line": 91 + "line": 97 } } }, { - "id": "2134", + "id": "2197", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:449:113)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70514,30 +72194,30 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "254" + "255" ], "coveredBy": [ - "254", "255", "256", "257", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 84, - "line": 91 + "line": 97 }, "start": { "column": 9, - "line": 91 + "line": 97 } } }, { - "id": "2135", + "id": "2198", "mutatorName": "LogicalOperator", "replacement": "cause === PLAYER_DEATH_CAUSES.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\": \"e9c4b79c0c02eb169e420aca\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Isaac\", \"position\": 4380809345630208, \"role\": {\"current\": \"thief\", \"isRevealed\": false, \"original\": \"white-werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}, {\"_id\": \"dc22fad4fdf14b8360ccd573\", \"additionalCards\": undefined, \"createdAt\": 2023-06-21T18:26:38.862Z, \"currentPlay\": {\"action\": \"elect-sheriff\", \"cause\": undefined, \"source\": \"guard\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 4047470690566144}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [], \"status\": \"playing\", \"tick\": 1600397867220992, \"turn\": 6010363749335040, \"upcomingPlays\": [], \"updatedAt\": 2023-06-21T13:34:24.620Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:458:40)", @@ -70545,30 +72225,30 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "255" + "256" ], "coveredBy": [ - "254", "255", "256", "257", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 84, - "line": 91 + "line": 97 }, "start": { "column": 9, - "line": 91 + "line": 97 } } }, { - "id": "2136", + "id": "2199", "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\": \"1d62b2e3d29d2c3f376a9e9d\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Frieda\", \"position\": 8071438206500864, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}, {\"_id\": \"ba39d1d15cbdd577e2fdf437\", \"additionalCards\": undefined, \"createdAt\": 2023-06-22T01:05:51.628Z, \"currentPlay\": {\"action\": \"use-potions\", \"cause\": undefined, \"source\": \"little-girl\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 3051045773115392}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [], \"status\": \"canceled\", \"tick\": 1871875531603968, \"turn\": 5774608997285888, \"upcomingPlays\": [], \"updatedAt\": 2023-06-21T23:26:47.273Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:458:40)", @@ -70576,30 +72256,30 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "255" + "256" ], "coveredBy": [ - "254", "255", "256", "257", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 44, - "line": 91 + "line": 97 }, "start": { "column": 9, - "line": 91 + "line": 97 } } }, { - "id": "2137", + "id": "2200", "mutatorName": "EqualityOperator", "replacement": "cause !== PLAYER_DEATH_CAUSES.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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:449:113)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70607,30 +72287,30 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "254" + "255" ], "coveredBy": [ - "254", "255", "256", "257", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 44, - "line": 91 + "line": 97 }, "start": { "column": 9, - "line": 91 + "line": 97 } } }, { - "id": "2138", + "id": "2201", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:449:113)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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,24 +72318,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "254" + "255" ], "coveredBy": [ - "254" + "255" ], "location": { "end": { "column": 84, - "line": 91 + "line": 97 }, "start": { "column": 48, - "line": 91 + "line": 97 } } }, { - "id": "2139", + "id": "2202", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:449:113)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70663,45 +72343,45 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "254" + "255" ], "coveredBy": [ - "254" + "255" ], "location": { "end": { "column": 6, - "line": 93 + "line": 99 }, "start": { "column": 86, - "line": 91 + "line": 97 } } }, { - "id": "2140", + "id": "2203", "mutatorName": "BooleanLiteral", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "254" + "255" ], "location": { "end": { "column": 19, - "line": 92 + "line": 98 }, "start": { "column": 14, - "line": 92 + "line": 98 } } }, { - "id": "2141", + "id": "2204", "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\": \"86f45ae65edf4cdfcd3b8c1a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Bettie\", \"position\": 619184012656640, \"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/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:476:39)", @@ -70709,29 +72389,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "257" + "258" ], "coveredBy": [ - "255", "256", "257", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 49, - "line": 94 + "line": 100 }, "start": { "column": 9, - "line": 94 + "line": 100 } } }, { - "id": "2142", + "id": "2205", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:467:35)", @@ -70739,29 +72419,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "256" + "257" ], "coveredBy": [ - "255", "256", "257", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 49, - "line": 94 + "line": 100 }, "start": { "column": 9, - "line": 94 + "line": 100 } } }, { - "id": "2143", + "id": "2206", "mutatorName": "EqualityOperator", "replacement": "player.role.current !== ROLE_NAMES.IDIOT", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(97,9): error TS2367: This comparison appears to be unintentional because the types 'ROLE_NAMES.IDIOT' and 'ROLE_NAMES.ANCIENT' have no overlap.\n", @@ -70769,47 +72449,47 @@ "static": false, "killedBy": [], "coveredBy": [ - "255", "256", "257", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 49, - "line": 94 + "line": 100 }, "start": { "column": 9, - "line": 94 + "line": 100 } } }, { - "id": "2144", + "id": "2207", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "256" + "257" ], "location": { "end": { "column": 6, - "line": 96 + "line": 102 }, "start": { "column": 51, - "line": 94 + "line": 100 } } }, { - "id": "2145", + "id": "2208", "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\": \"dfbd0bafc24ffca9dbb6ccf9\", \"additionalCards\": undefined, \"createdAt\": 2023-06-24T04:50:09.032Z, \"currentPlay\": {\"action\": \"protect\", \"cause\": undefined, \"source\": \"fox\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2105873931436032}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [], \"status\": \"playing\", \"tick\": 2841611601969152, \"turn\": 4514028156092416, \"upcomingPlays\": [], \"updatedAt\": 2023-06-24T06:52:34.164Z, \"victory\": undefined}, \"vote\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:494:41)", @@ -70817,28 +72497,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "259" + "260" ], "coveredBy": [ - "255", - "257", + "256", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 51, - "line": 97 + "line": 103 }, "start": { "column": 9, - "line": 97 + "line": 103 } } }, { - "id": "2146", + "id": "2209", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:485:37)", @@ -70846,28 +72526,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "258" + "259" ], "coveredBy": [ - "255", - "257", + "256", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 51, - "line": 97 + "line": 103 }, "start": { "column": 9, - "line": 97 + "line": 103 } } }, { - "id": "2147", + "id": "2210", "mutatorName": "EqualityOperator", "replacement": "player.role.current !== ROLE_NAMES.ANCIENT", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:485:37)", @@ -70875,28 +72555,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "258" + "259" ], "coveredBy": [ - "255", - "257", + "256", "258", "259", - "260" + "260", + "261" ], "location": { "end": { "column": 51, - "line": 97 + "line": 103 }, "start": { "column": 9, - "line": 97 + "line": 103 } } }, { - "id": "2148", + "id": "2211", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:485:37)", @@ -70904,24 +72584,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "258" + "259" ], "coveredBy": [ - "258" + "259" ], "location": { "end": { "column": 6, - "line": 99 + "line": 105 }, "start": { "column": 53, - "line": 97 + "line": 103 } } }, { - "id": "2149", + "id": "2212", "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:166:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:501:112)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70929,27 +72609,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "260" + "261" ], "coveredBy": [ - "255", - "257", - "259", - "260" + "256", + "258", + "260", + "261" ], "location": { "end": { "column": 16, - "line": 100 + "line": 106 }, "start": { "column": 12, - "line": 100 + "line": 106 } } }, { - "id": "2150", + "id": "2213", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(109,80): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -70957,25 +72637,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "261", "262", "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 4, - "line": 112 + "line": 118 }, "start": { "column": 85, - "line": 103 + "line": 109 } } }, { - "id": "2151", + "id": "2214", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(115,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,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", @@ -70983,25 +72663,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "261", "262", "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 142, - "line": 107 + "line": 113 }, "start": { "column": 9, - "line": 106 + "line": 112 } } }, { - "id": "2152", + "id": "2215", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(115,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,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", @@ -71009,25 +72689,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "261", "262", "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 142, - "line": 107 + "line": 113 }, "start": { "column": 9, - "line": 106 + "line": 112 } } }, { - "id": "2153", + "id": "2216", "mutatorName": "LogicalOperator", "replacement": "(!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.WORSHIPED) || wildChildPlayer === undefined || !wildChildPlayer.isAlive) && doesPlayerHaveAttribute(wildChildPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(112,172): 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(115,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,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", @@ -71035,25 +72715,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "261", "262", "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 142, - "line": 107 + "line": 113 }, "start": { "column": 9, - "line": 106 + "line": 112 } } }, { - "id": "2154", + "id": "2217", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(112,42): 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(115,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,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", @@ -71061,25 +72741,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "261", "262", "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 64, - "line": 107 + "line": 113 }, "start": { "column": 9, - "line": 106 + "line": 112 } } }, { - "id": "2155", + "id": "2218", "mutatorName": "LogicalOperator", "replacement": "(!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.WORSHIPED) || wildChildPlayer === undefined) && !wildChildPlayer.isAlive", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(112,121): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(112,172): 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(115,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,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", @@ -71087,25 +72767,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "261", "262", "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 64, - "line": 107 + "line": 113 }, "start": { "column": 9, - "line": 106 + "line": 112 } } }, { - "id": "2156", + "id": "2219", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(112,19): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(112,70): 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(115,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,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", @@ -71113,25 +72793,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "261", "262", "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 36, - "line": 107 + "line": 113 }, "start": { "column": 9, - "line": 106 + "line": 112 } } }, { - "id": "2157", + "id": "2220", "mutatorName": "LogicalOperator", "replacement": "!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.WORSHIPED) && wildChildPlayer === undefined", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(112,119): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(112,170): 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(115,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,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", @@ -71139,50 +72819,50 @@ "static": false, "killedBy": [], "coveredBy": [ - "261", "262", "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 36, - "line": 107 + "line": 113 }, "start": { "column": 9, - "line": 106 + "line": 112 } } }, { - "id": "2158", + "id": "2221", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.WORSHIPED)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "261", "262", "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 81, - "line": 106 + "line": 112 }, "start": { "column": 9, - "line": 106 + "line": 112 } } }, { - "id": "2159", + "id": "2222", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(113,17): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(113,68): 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(116,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(117,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(117,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", @@ -71190,24 +72870,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "262", "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 36, - "line": 107 + "line": 113 }, "start": { "column": 7, - "line": 107 + "line": 113 } } }, { - "id": "2160", + "id": "2223", "mutatorName": "EqualityOperator", "replacement": "wildChildPlayer !== undefined", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(113,41): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(113,92): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(116,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(117,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(117,52): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Partial'.\n", @@ -71215,47 +72895,47 @@ "static": false, "killedBy": [], "coveredBy": [ - "262", "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 36, - "line": 107 + "line": 113 }, "start": { "column": 7, - "line": 107 + "line": 113 } } }, { - "id": "2161", + "id": "2224", "mutatorName": "BooleanLiteral", "replacement": "wildChildPlayer.isAlive", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "263", "264", - "265" + "265", + "266" ], "location": { "end": { "column": 64, - "line": 107 + "line": 113 }, "start": { "column": 40, - "line": 107 + "line": 113 } } }, { - "id": "2162", + "id": "2225", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(114,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(115,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(115,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", @@ -71263,24 +72943,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "261", "262", "263", - "264" + "264", + "265" ], "location": { "end": { "column": 6, - "line": 109 + "line": 115 }, "start": { "column": 144, - "line": 107 + "line": 113 } } }, { - "id": "2163", + "id": "2226", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(114,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -71288,24 +72968,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "266", "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 4, - "line": 122 + "line": 128 }, "start": { "column": 82, - "line": 114 + "line": 120 } } }, { - "id": "2164", + "id": "2227", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:627:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71313,51 +72993,51 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "269" + "270" ], "coveredBy": [ - "266", "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 175, - "line": 116 + "line": 122 }, "start": { "column": 30, - "line": 116 + "line": 122 } } }, { - "id": "2165", + "id": "2228", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "266", "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 175, - "line": 116 + "line": 122 }, "start": { "column": 59, - "line": 116 + "line": 122 } } }, { - "id": "2166", + "id": "2229", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:627:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71365,27 +73045,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "269" + "270" ], "coveredBy": [ - "266", "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 175, - "line": 116 + "line": 122 }, "start": { "column": 59, - "line": 116 + "line": 122 } } }, { - "id": "2167", + "id": "2230", "mutatorName": "LogicalOperator", "replacement": "doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.IN_LOVE) && player.isAlive || player._id !== killedPlayer._id", "statusReason": "Hit limit reached (1302/1300)", @@ -71393,48 +73073,48 @@ "static": false, "killedBy": [], "coveredBy": [ - "266", "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 175, - "line": 116 + "line": 122 }, "start": { "column": 59, - "line": 116 + "line": 122 } } }, { - "id": "2168", + "id": "2231", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "266", "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 140, - "line": 116 + "line": 122 }, "start": { "column": 59, - "line": 116 + "line": 122 } } }, { - "id": "2169", + "id": "2232", "mutatorName": "LogicalOperator", "replacement": "doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.IN_LOVE) || player.isAlive", "statusReason": "Hit limit reached (1302/1300)", @@ -71442,24 +73122,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "266", "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 140, - "line": 116 + "line": 122 }, "start": { "column": 59, - "line": 116 + "line": 122 } } }, { - "id": "2170", + "id": "2233", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 5\n\n@@ -80,25 +80,21 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"464fecfa6af003aabecfe62b\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"in-love\",\n- \"remainingPhases\": undefined,\n+ \"attributes\": Array [],\n+ \"death\": PlayerDeath {\n+ \"cause\": \"broken-heart\",\n \"source\": \"cupid\",\n },\n- ],\n- \"death\": undefined,\n- \"isAlive\": true,\n+ \"isAlive\": false,\n \"name\": \"Ellen\",\n \"position\": 8367854925643776,\n \"role\": PlayerRole {\n \"current\": \"seer\",\n- \"isRevealed\": false,\n+ \"isRevealed\": true,\n \"original\": \"seer\",\n },\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:601:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71467,49 +73147,49 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "267" + "268" ], "coveredBy": [ - "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 175, - "line": 116 + "line": 122 }, "start": { "column": 144, - "line": 116 + "line": 122 } } }, { - "id": "2171", + "id": "2234", "mutatorName": "EqualityOperator", "replacement": "player._id === killedPlayer._id", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 175, - "line": 116 + "line": 122 }, "start": { "column": 144, - "line": 116 + "line": 122 } } }, { - "id": "2172", + "id": "2235", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(121,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", @@ -71517,24 +73197,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "266", "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 101, - "line": 118 + "line": 124 }, "start": { "column": 9, - "line": 118 + "line": 124 } } }, { - "id": "2173", + "id": "2236", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(121,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", @@ -71542,24 +73222,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "266", "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 101, - "line": 118 + "line": 124 }, "start": { "column": 9, - "line": 118 + "line": 124 } } }, { - "id": "2174", + "id": "2237", "mutatorName": "LogicalOperator", "replacement": "!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.IN_LOVE) && !otherPlayerInLove", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(121,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", @@ -71567,24 +73247,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "266", "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 101, - "line": 118 + "line": 124 }, "start": { "column": 9, - "line": 118 + "line": 124 } } }, { - "id": "2175", + "id": "2238", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.IN_LOVE)", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:627:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71592,27 +73272,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "269" + "270" ], "coveredBy": [ - "266", "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 79, - "line": 118 + "line": 124 }, "start": { "column": 9, - "line": 118 + "line": 124 } } }, { - "id": "2176", + "id": "2239", "mutatorName": "BooleanLiteral", "replacement": "otherPlayerInLove", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(121,28): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -71620,23 +73300,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "267", "268", - "269" + "269", + "270" ], "location": { "end": { "column": 101, - "line": 118 + "line": 124 }, "start": { "column": 83, - "line": 118 + "line": 124 } } }, { - "id": "2177", + "id": "2240", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(125,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", @@ -71644,23 +73324,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "266", "267", - "268" + "268", + "269" ], "location": { "end": { "column": 6, - "line": 120 + "line": 126 }, "start": { "column": 103, - "line": 118 + "line": 124 } } }, { - "id": "2178", + "id": "2241", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(130,78): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -71668,24 +73348,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "270", "271", "272", - "273" + "273", + "274" ], "location": { "end": { "column": 4, - "line": 131 + "line": 137 }, "start": { "column": 83, - "line": 124 + "line": 130 } } }, { - "id": "2179", + "id": "2242", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -172,15 +172,10 @@\n \"status\": \"over\",\n \"tick\": 1663624605073408,\n \"turn\": 5707873300512768,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"delegate\",\n- \"cause\": undefined,\n- \"source\": \"sheriff\",\n- },\n- GamePlay {\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n },\n ],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:660:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71693,27 +73373,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "272" + "273" ], "coveredBy": [ - "270", "271", "272", - "273" + "273", + "274" ], "location": { "end": { "column": 129, - "line": 127 + "line": 133 }, "start": { "column": 9, - "line": 126 + "line": 132 } } }, { - "id": "2180", + "id": "2243", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -164,9 +164,15 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 5452806897008640,\n \"turn\": 2767302749585408,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"cause\": undefined,\n+ \"source\": \"sheriff\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-17T23:57:57.922Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:635:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71721,27 +73401,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "270" + "271" ], "coveredBy": [ - "270", "271", "272", - "273" + "273", + "274" ], "location": { "end": { "column": 129, - "line": 127 + "line": 133 }, "start": { "column": 9, - "line": 126 + "line": 132 } } }, { - "id": "2181", + "id": "2244", "mutatorName": "LogicalOperator", "replacement": "!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.SHERIFF) && killedPlayer.role.current === ROLE_NAMES.IDIOT && !doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -164,9 +164,15 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 2781524585873408,\n \"turn\": 2313710668349440,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"cause\": undefined,\n+ \"source\": \"sheriff\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-18T07:25:39.212Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:635:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71749,27 +73429,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "270" + "271" ], "coveredBy": [ - "270", "271", "272", - "273" + "273", + "274" ], "location": { "end": { "column": 129, - "line": 127 + "line": 133 }, "start": { "column": 9, - "line": 126 + "line": 132 } } }, { - "id": "2182", + "id": "2245", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.SHERIFF)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -164,9 +164,15 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 121422533885952,\n \"turn\": 375928525946880,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"cause\": undefined,\n+ \"source\": \"sheriff\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-18T06:11:56.008Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:635:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71777,27 +73457,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "270" + "271" ], "coveredBy": [ - "270", "271", "272", - "273" + "273", + "274" ], "location": { "end": { "column": 79, - "line": 126 + "line": 132 }, "start": { "column": 9, - "line": 126 + "line": 132 } } }, { - "id": "2183", + "id": "2246", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -164,9 +164,15 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 1206945759363072,\n \"turn\": 4662974576852992,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"cause\": undefined,\n+ \"source\": \"sheriff\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-17T23:11:40.864Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:647:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71805,72 +73485,72 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "271" + "272" ], "coveredBy": [ - "271", "272", - "273" + "273", + "274" ], "location": { "end": { "column": 129, - "line": 127 + "line": 133 }, "start": { "column": 7, - "line": 127 + "line": 133 } } }, { - "id": "2184", + "id": "2247", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current === ROLE_NAMES.IDIOT || !doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "271", "272", - "273" + "273", + "274" ], "location": { "end": { "column": 129, - "line": 127 + "line": 133 }, "start": { "column": 7, - "line": 127 + "line": 133 } } }, { - "id": "2185", + "id": "2248", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "271", "272", - "273" + "273", + "274" ], "location": { "end": { "column": 53, - "line": 127 + "line": 133 }, "start": { "column": 7, - "line": 127 + "line": 133 } } }, { - "id": "2186", + "id": "2249", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.IDIOT", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -164,9 +164,15 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 8746669336166400,\n \"turn\": 3567846214860800,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"cause\": undefined,\n+ \"source\": \"sheriff\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-18T11:03:57.692Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:647:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71878,48 +73558,48 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "271" + "272" ], "coveredBy": [ - "271", "272", - "273" + "273", + "274" ], "location": { "end": { "column": 53, - "line": 127 + "line": 133 }, "start": { "column": 7, - "line": 127 + "line": 133 } } }, { - "id": "2187", + "id": "2250", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "271", - "272" + "272", + "273" ], "location": { "end": { "column": 129, - "line": 127 + "line": 133 }, "start": { "column": 57, - "line": 127 + "line": 133 } } }, { - "id": "2188", + "id": "2251", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -164,9 +164,15 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 2633864325365760,\n \"turn\": 6573400833130496,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"cause\": undefined,\n+ \"source\": \"sheriff\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-18T08:50:58.329Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:635:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71927,25 +73607,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "270" + "271" ], "coveredBy": [ - "270", - "271" + "271", + "272" ], "location": { "end": { "column": 6, - "line": 129 + "line": 135 }, "start": { "column": 131, - "line": 127 + "line": 133 } } }, { - "id": "2189", + "id": "2252", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(133,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -71954,22 +73634,22 @@ "killedBy": [], "coveredBy": [ "227", - "274", - "275" + "275", + "276" ], "location": { "end": { "column": 4, - "line": 149 + "line": 155 }, "start": { "column": 86, - "line": 133 + "line": 139 } } }, { - "id": "2190", + "id": "2253", "mutatorName": "StringLiteral", "replacement": "\"\"", "status": "Timeout", @@ -71977,22 +73657,22 @@ "killedBy": [], "coveredBy": [ "227", - "274", - "275" + "275", + "276" ], "location": { "end": { "column": 113, - "line": 136 + "line": 142 }, "start": { "column": 77, - "line": 136 + "line": 142 } } }, { - "id": "2191", + "id": "2254", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(136,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", @@ -72001,22 +73681,22 @@ "killedBy": [], "coveredBy": [ "227", - "274", - "275" + "275", + "276" ], "location": { "end": { "column": 163, - "line": 136 + "line": 142 }, "start": { "column": 115, - "line": 136 + "line": 142 } } }, { - "id": "2192", + "id": "2255", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "TypeError: Cannot destructure property 'attributes' of 'undefined' as it is undefined.\n at doesPlayerHaveAttribute (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/src/modules/game/helpers/player/player.helper.ts:52:3)\n at PlayerKillerService.applyPlayerAttributesDeathOutcomes (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/src/modules/game/providers/services/player/player-killer.service.ts:365:135)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:700:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72024,26 +73704,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "274" + "275" ], "coveredBy": [ "227", - "274", - "275" + "275", + "276" ], "location": { "end": { "column": 78, - "line": 137 + "line": 143 }, "start": { "column": 9, - "line": 137 + "line": 143 } } }, { - "id": "2193", + "id": "2256", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:732:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72051,47 +73731,47 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "275" + "276" ], "coveredBy": [ "227", - "274", - "275" + "275", + "276" ], "location": { "end": { "column": 78, - "line": 137 + "line": 143 }, "start": { "column": 9, - "line": 137 + "line": 143 } } }, { - "id": "2194", + "id": "2257", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "275" + "276" ], "location": { "end": { "column": 6, - "line": 140 + "line": 146 }, "start": { "column": 80, - "line": 137 + "line": 143 } } }, { - "id": "2195", + "id": "2258", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "TypeError: Cannot destructure property 'attributes' of 'undefined' as it is undefined.\n at doesPlayerHaveAttribute (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/src/modules/game/helpers/player/player.helper.ts:52:3)\n at PlayerKillerService.applyPlayerAttributesDeathOutcomes (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/src/modules/game/providers/services/player/player-killer.service.ts:365:135)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:700:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72099,26 +73779,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "274" + "275" ], "coveredBy": [ "227", - "274", - "275" + "275", + "276" ], "location": { "end": { "column": 78, - "line": 141 + "line": 147 }, "start": { "column": 9, - "line": 141 + "line": 147 } } }, { - "id": "2196", + "id": "2259", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -72126,43 +73806,43 @@ "killedBy": [], "coveredBy": [ "227", - "274", - "275" + "275", + "276" ], "location": { "end": { "column": 78, - "line": 141 + "line": 147 }, "start": { "column": 9, - "line": 141 + "line": 147 } } }, { - "id": "2197", + "id": "2260", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "275" + "276" ], "location": { "end": { "column": 6, - "line": 144 + "line": 150 }, "start": { "column": 80, - "line": 141 + "line": 147 } } }, { - "id": "2198", + "id": "2261", "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\": \"ca8fc4aa54b428a1dfc34e8d\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"powerless\", \"remainingPhases\": undefined, \"source\": \"ancient\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Una\", \"position\": 5383686637748224, \"role\": {\"current\": \"idiot\", \"isRevealed\": false, \"original\": \"idiot\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e6cd14dbcc9bc0da4a685693\", \"additionalCards\": undefined, \"createdAt\": 2023-06-18T01:13:13.274Z, \"currentPlay\": {\"action\": \"delegate\", \"cause\": undefined, \"source\": \"werewolves\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 1551505519804416}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"ca8fc4aa54b428a1dfc34e8d\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"powerless\", \"remainingPhases\": undefined, \"source\": \"ancient\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Una\", \"position\": 5383686637748224, \"role\": {\"current\": \"idiot\", \"isRevealed\": false, \"original\": \"idiot\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"7e3833b6cb239d26f15e8de5\", \"attributes\": [{\"activeAt\": undefined, \"name\": \"in-love\", \"remainingPhases\": undefined, \"source\": \"cupid\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Braulio\", \"position\": 4459233074479104, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"d61d52a7badbdd78df5c8fa1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Margret\", \"position\": 5758069378121728, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"b5ddd1ccdfbf2abfa9cfb3a3\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Bo\", \"position\": 8636095382159360, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 3076567110516736, \"turn\": 3420884838645760, \"upcomingPlays\": [], \"updatedAt\": 2023-06-17T19:23:41.227Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:703:79)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72170,26 +73850,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "274" + "275" ], "coveredBy": [ "227", - "274", - "275" + "275", + "276" ], "location": { "end": { "column": 86, - "line": 145 + "line": 151 }, "start": { "column": 9, - "line": 145 + "line": 151 } } }, { - "id": "2199", + "id": "2262", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:734:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72197,26 +73877,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "275" + "276" ], "coveredBy": [ "227", - "274", - "275" + "275", + "276" ], "location": { "end": { "column": 86, - "line": 145 + "line": 151 }, "start": { "column": 9, - "line": 145 + "line": 151 } } }, { - "id": "2200", + "id": "2263", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:734:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72224,24 +73904,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "275" + "276" ], "coveredBy": [ - "275" + "276" ], "location": { "end": { "column": 6, - "line": 147 + "line": 153 }, "start": { "column": 88, - "line": 145 + "line": 151 } } }, { - "id": "2201", + "id": "2264", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(157,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -72249,25 +73929,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 4, - "line": 159 + "line": 165 }, "start": { "column": 106, - "line": 151 + "line": 157 } } }, { - "id": "2202", + "id": "2265", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(159,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", @@ -72275,25 +73955,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 149, - "line": 153 + "line": 159 }, "start": { "column": 93, - "line": 153 + "line": 159 } } }, { - "id": "2203", + "id": "2266", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(159,95): error TS2322: Type '\"\"' is not assignable to type '\"left\" | \"right\"'.\n", @@ -72301,25 +73981,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 112, - "line": 153 + "line": 159 }, "start": { "column": 106, - "line": 153 + "line": 159 } } }, { - "id": "2204", + "id": "2267", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(163,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -72327,25 +74007,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 78, - "line": 155 + "line": 161 }, "start": { "column": 9, - "line": 154 + "line": 160 } } }, { - "id": "2205", + "id": "2268", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(163,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -72353,25 +74033,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 78, - "line": 155 + "line": 161 }, "start": { "column": 9, - "line": 154 + "line": 160 } } }, { - "id": "2206", + "id": "2269", "mutatorName": "LogicalOperator", "replacement": "(killedPlayer.role.current !== ROLE_NAMES.RUSTY_SWORD_KNIGHT || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS) || death.cause !== PLAYER_DEATH_CAUSES.EATEN) && !leftAliveWerewolfNeighbor", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(163,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -72379,25 +74059,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 78, - "line": 155 + "line": 161 }, "start": { "column": 9, - "line": 154 + "line": 160 } } }, { - "id": "2207", + "id": "2270", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -97,11 +97,18 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"1abfaddcbbbdcd6bfd7b48da\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Silas\",\n \"position\": 3649664981139456,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:745:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72405,28 +74085,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "276" + "277" ], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 48, - "line": 155 + "line": 161 }, "start": { "column": 9, - "line": 154 + "line": 160 } } }, { - "id": "2208", + "id": "2271", "mutatorName": "LogicalOperator", "replacement": "(killedPlayer.role.current !== ROLE_NAMES.RUSTY_SWORD_KNIGHT || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) && death.cause !== PLAYER_DEATH_CAUSES.EATEN", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -97,11 +97,18 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"acba8b2fdafdf1cfdb1abf9f\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Arnaldo\",\n \"position\": 112404304232448,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:745:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72434,28 +74114,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "276" + "277" ], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 48, - "line": 155 + "line": 161 }, "start": { "column": 9, - "line": 154 + "line": 160 } } }, { - "id": "2209", + "id": "2272", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -114,11 +114,18 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"ffcf072ea4aad3e852a20faf\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Stephany\",\n \"position\": 675331964928000,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:745:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72463,28 +74143,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "276" + "277" ], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 143, - "line": 154 + "line": 160 }, "start": { "column": 9, - "line": 154 + "line": 160 } } }, { - "id": "2210", + "id": "2273", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.RUSTY_SWORD_KNIGHT && doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -114,11 +114,18 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"4e08ec328c8818aecebbcb3f\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Brooklyn\",\n \"position\": 1062453574107136,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:745:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72492,28 +74172,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "276" + "277" ], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 143, - "line": 154 + "line": 160 }, "start": { "column": 9, - "line": 154 + "line": 160 } } }, { - "id": "2211", + "id": "2274", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -97,11 +97,18 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"b7a416cf97b8b01fb739f907\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Vance\",\n \"position\": 4434244640178176,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:745:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72521,28 +74201,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "276" + "277" ], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 68, - "line": 154 + "line": 160 }, "start": { "column": 9, - "line": 154 + "line": 160 } } }, { - "id": "2212", + "id": "2275", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current === ROLE_NAMES.RUSTY_SWORD_KNIGHT", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -114,11 +114,18 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"734e1db50fc05bab3efff46c\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Johan\",\n \"position\": 7409848012505088,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:745:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72550,28 +74230,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "276" + "277" ], "coveredBy": [ - "276", "277", "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 68, - "line": 154 + "line": 160 }, "start": { "column": 9, - "line": 154 + "line": 160 } } }, { - "id": "2213", + "id": "2276", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -97,11 +97,18 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"6fadf9fbc5f19f4d3614e06b\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Rogelio\",\n \"position\": 8961957052809216,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:771:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72579,49 +74259,49 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "278" + "279" ], "coveredBy": [ - "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 48, - "line": 155 + "line": 161 }, "start": { "column": 7, - "line": 155 + "line": 161 } } }, { - "id": "2214", + "id": "2277", "mutatorName": "EqualityOperator", "replacement": "death.cause === PLAYER_DEATH_CAUSES.EATEN", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "278", "279", - "280" + "280", + "281" ], "location": { "end": { "column": 48, - "line": 155 + "line": 161 }, "start": { "column": 7, - "line": 155 + "line": 161 } } }, { - "id": "2215", + "id": "2278", "mutatorName": "BooleanLiteral", "replacement": "leftAliveWerewolfNeighbor", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(164,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -72629,22 +74309,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "279", - "280" + "280", + "281" ], "location": { "end": { "column": 78, - "line": 155 + "line": 161 }, "start": { "column": 52, - "line": 155 + "line": 161 } } }, { - "id": "2216", + "id": "2279", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(162,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -72652,24 +74332,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "276", "277", "278", - "279" + "279", + "280" ], "location": { "end": { "column": 6, - "line": 157 + "line": 163 }, "start": { "column": 80, - "line": 155 + "line": 161 } } }, { - "id": "2217", + "id": "2280", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(167,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -72677,72 +74357,72 @@ "static": false, "killedBy": [], "coveredBy": [ - "281", "282", "283", - "284" + "284", + "285" ], "location": { "end": { "column": 4, - "line": 168 + "line": 174 }, "start": { "column": 99, - "line": 161 + "line": 167 } } }, { - "id": "2218", + "id": "2281", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "281", "282", "283", - "284" + "284", + "285" ], "location": { "end": { "column": 59, - "line": 164 + "line": 170 }, "start": { "column": 9, - "line": 163 + "line": 169 } } }, { - "id": "2219", + "id": "2282", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "281", "282", "283", - "284" + "284", + "285" ], "location": { "end": { "column": 59, - "line": 164 + "line": 170 }, "start": { "column": 9, - "line": 163 + "line": 169 } } }, { - "id": "2220", + "id": "2283", "mutatorName": "LogicalOperator", "replacement": "(killedPlayer.role.current !== ROLE_NAMES.SCAPEGOAT || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) && death.cause !== PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 4663483561934848,\n \"turn\": 7593832755494912,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"cause\": undefined,\n+ \"source\": \"scapegoat\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-17T19:31:38.328Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:821:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72750,27 +74430,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "281" + "282" ], "coveredBy": [ - "281", "282", "283", - "284" + "284", + "285" ], "location": { "end": { "column": 59, - "line": 164 + "line": 170 }, "start": { "column": 9, - "line": 163 + "line": 169 } } }, { - "id": "2221", + "id": "2284", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 1106081287766016,\n \"turn\": 295852365053952,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"cause\": undefined,\n+ \"source\": \"scapegoat\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-18T01:11:29.224Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:821:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72778,51 +74458,51 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "281" + "282" ], "coveredBy": [ - "281", "282", "283", - "284" + "284", + "285" ], "location": { "end": { "column": 134, - "line": 163 + "line": 169 }, "start": { "column": 9, - "line": 163 + "line": 169 } } }, { - "id": "2222", + "id": "2285", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.SCAPEGOAT && doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "281", "282", "283", - "284" + "284", + "285" ], "location": { "end": { "column": 134, - "line": 163 + "line": 169 }, "start": { "column": 9, - "line": 163 + "line": 169 } } }, { - "id": "2223", + "id": "2286", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 3018221397475328,\n \"turn\": 3270285161660416,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"cause\": undefined,\n+ \"source\": \"scapegoat\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-17T17:08:41.718Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:821:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72830,27 +74510,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "281" + "282" ], "coveredBy": [ - "281", "282", "283", - "284" + "284", + "285" ], "location": { "end": { "column": 59, - "line": 163 + "line": 169 }, "start": { "column": 9, - "line": 163 + "line": 169 } } }, { - "id": "2224", + "id": "2287", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current === ROLE_NAMES.SCAPEGOAT", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 8231081782280192,\n \"turn\": 6053169184374784,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"cause\": undefined,\n+ \"source\": \"scapegoat\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-17T15:54:56.334Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:821:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72858,27 +74538,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "281" + "282" ], "coveredBy": [ - "281", "282", "283", - "284" + "284", + "285" ], "location": { "end": { "column": 59, - "line": 163 + "line": 169 }, "start": { "column": 9, - "line": 163 + "line": 169 } } }, { - "id": "2225", + "id": "2288", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 3419764252737536,\n \"turn\": 4663125995421696,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"cause\": undefined,\n+ \"source\": \"scapegoat\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-17T23:24:02.932Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:847:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72886,25 +74566,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "283" + "284" ], "coveredBy": [ - "283", - "284" + "284", + "285" ], "location": { "end": { "column": 59, - "line": 164 + "line": 170 }, "start": { "column": 7, - "line": 164 + "line": 170 } } }, { - "id": "2226", + "id": "2289", "mutatorName": "EqualityOperator", "replacement": "death.cause === PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 7614488519901184,\n \"turn\": 8801843633192960,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"cause\": undefined,\n+ \"source\": \"scapegoat\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-18T12:41:30.054Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:847:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72912,25 +74592,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "283" + "284" ], "coveredBy": [ - "283", - "284" + "284", + "285" ], "location": { "end": { "column": 59, - "line": 164 + "line": 170 }, "start": { "column": 7, - "line": 164 + "line": 170 } } }, { - "id": "2227", + "id": "2290", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 7864029626236928,\n \"turn\": 2626728363032576,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"cause\": undefined,\n+ \"source\": \"scapegoat\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-17T14:19:50.718Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:821:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72938,26 +74618,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "281" + "282" ], "coveredBy": [ - "281", "282", - "283" + "283", + "284" ], "location": { "end": { "column": 6, - "line": 166 + "line": 172 }, "start": { "column": 61, - "line": 164 + "line": 170 } } }, { - "id": "2228", + "id": "2291", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(170,92): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -72965,27 +74645,27 @@ "static": false, "killedBy": [], "coveredBy": [ - "285", "286", "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 4, - "line": 186 + "line": 192 }, "start": { "column": 97, - "line": 170 + "line": 176 } } }, { - "id": "2229", + "id": "2292", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 2\n\n@@ -97,18 +97,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"f200e7dfdbdceedbdb622fff\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"ancient\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Dominic\",\n \"position\": 5283825103929344,\n \"role\": PlayerRole {\n@@ -138,18 +131,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"84453bc1f8d68f0e2bcee7cf\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"ancient\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Hiram\",\n \"position\": 8303750527582208,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:951:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72993,30 +74673,30 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "289" + "290" ], "coveredBy": [ - "285", "286", "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 148, - "line": 172 + "line": 178 }, "start": { "column": 62, - "line": 172 + "line": 178 } } }, { - "id": "2230", + "id": "2293", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(182,42): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(183,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", @@ -73024,27 +74704,27 @@ "static": false, "killedBy": [], "coveredBy": [ - "285", "286", "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 132, - "line": 174 + "line": 180 }, "start": { "column": 9, - "line": 174 + "line": 180 } } }, { - "id": "2231", + "id": "2294", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 5\n\n@@ -98,12 +98,15 @@\n },\n },\n Player {\n \"_id\": \"65e0c5debaebe2edda24cef1\",\n \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n+ \"death\": PlayerDeath {\n+ \"cause\": \"reconsider-pardon\",\n+ \"source\": \"all\",\n+ },\n+ \"isAlive\": false,\n \"name\": \"Angelita\",\n \"position\": 88005211586560,\n \"role\": PlayerRole {\n \"current\": \"idiot\",\n \"isRevealed\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:883:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73052,30 +74732,30 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "285" + "286" ], "coveredBy": [ - "285", "286", "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 132, - "line": 174 + "line": 180 }, "start": { "column": 9, - "line": 174 + "line": 180 } } }, { - "id": "2232", + "id": "2295", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.ANCIENT && doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 5\n\n@@ -98,12 +98,15 @@\n },\n },\n Player {\n \"_id\": \"1f0dbe83acadc9cdfcc6baf8\",\n \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n+ \"death\": PlayerDeath {\n+ \"cause\": \"reconsider-pardon\",\n+ \"source\": \"all\",\n+ },\n+ \"isAlive\": false,\n \"name\": \"Miles\",\n \"position\": 1532708773691392,\n \"role\": PlayerRole {\n \"current\": \"idiot\",\n \"isRevealed\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:883:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73083,57 +74763,57 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "285" + "286" ], "coveredBy": [ - "285", "286", "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 132, - "line": 174 + "line": 180 }, "start": { "column": 9, - "line": 174 + "line": 180 } } }, { - "id": "2233", + "id": "2296", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "285", "286", "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 57, - "line": 174 + "line": 180 }, "start": { "column": 9, - "line": 174 + "line": 180 } } }, { - "id": "2234", + "id": "2297", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current === ROLE_NAMES.ANCIENT", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 5\n\n@@ -98,12 +98,15 @@\n },\n },\n Player {\n \"_id\": \"b5f13c6df6f125bca1ee70d2\",\n \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n+ \"death\": PlayerDeath {\n+ \"cause\": \"reconsider-pardon\",\n+ \"source\": \"all\",\n+ },\n+ \"isAlive\": false,\n \"name\": \"Willie\",\n \"position\": 5862416130768896,\n \"role\": PlayerRole {\n \"current\": \"idiot\",\n \"isRevealed\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:883:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73141,77 +74821,77 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "285" + "286" ], "coveredBy": [ - "285", "286", "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 57, - "line": 174 + "line": 180 }, "start": { "column": 9, - "line": 174 + "line": 180 } } }, { - "id": "2235", + "id": "2298", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "285", - "286" + "286", + "287" ], "location": { "end": { "column": 6, - "line": 176 + "line": 182 }, "start": { "column": 134, - "line": 174 + "line": 180 } } }, { - "id": "2236", + "id": "2299", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 93, - "line": 177 + "line": 183 }, "start": { "column": 9, - "line": 177 + "line": 183 } } }, { - "id": "2237", + "id": "2300", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 2\n\n@@ -97,18 +97,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"9cbd4dbccea16d10d5e7bbeb\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"ancient\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Hilma\",\n \"position\": 727158701948928,\n \"role\": PlayerRole {\n@@ -138,18 +131,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"0baec26aaadca5fd4fc9a2fe\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"ancient\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Raegan\",\n \"position\": 774248404615168,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:951:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73219,28 +74899,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "289" + "290" ], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 93, - "line": 177 + "line": 183 }, "start": { "column": 9, - "line": 177 + "line": 183 } } }, { - "id": "2238", + "id": "2301", "mutatorName": "LogicalOperator", "replacement": "ancientRevengeDeathCauses.includes(death.cause) || ancientOptions.doesTakeHisRevenge", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 16\n\n@@ -97,11 +97,18 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"d4af4bbd1bf9a4a3aafd97e7\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"ancient\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Taryn\",\n \"position\": 8674248377761792,\n \"role\": PlayerRole {\n@@ -131,11 +138,18 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"576fefed9c7c7538538eaa3c\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"ancient\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Natasha\",\n \"position\": 629579785961472,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:926:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73248,49 +74928,49 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "288" + "289" ], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 93, - "line": 177 + "line": 183 }, "start": { "column": 9, - "line": 177 + "line": 183 } } }, { - "id": "2239", + "id": "2302", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "289" + "290" ], "location": { "end": { "column": 6, - "line": 180 + "line": 186 }, "start": { "column": 95, - "line": 177 + "line": 183 } } }, { - "id": "2240", + "id": "2303", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(185,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", @@ -73298,21 +74978,21 @@ "static": false, "killedBy": [], "coveredBy": [ - "289" + "290" ], "location": { "end": { "column": 113, - "line": 178 + "line": 184 }, "start": { "column": 97, - "line": 178 + "line": 184 } } }, { - "id": "2241", + "id": "2304", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(183,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", @@ -73320,25 +75000,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 107, - "line": 182 + "line": 188 }, "start": { "column": 9, - "line": 182 + "line": 188 } } }, { - "id": "2242", + "id": "2305", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(183,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", @@ -73346,25 +75026,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 107, - "line": 182 + "line": 188 }, "start": { "column": 9, - "line": 182 + "line": 188 } } }, { - "id": "2243", + "id": "2306", "mutatorName": "LogicalOperator", "replacement": "idiotPlayer?.isAlive === true && idiotPlayer.role.isRevealed || idiotOptions.doesDieOnAncientDeath", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(183,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", @@ -73372,25 +75052,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 107, - "line": 182 + "line": 188 }, "start": { "column": 9, - "line": 182 + "line": 188 } } }, { - "id": "2244", + "id": "2307", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(183,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", @@ -73398,25 +75078,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 69, - "line": 182 + "line": 188 }, "start": { "column": 9, - "line": 182 + "line": 188 } } }, { - "id": "2245", + "id": "2308", "mutatorName": "LogicalOperator", "replacement": "idiotPlayer?.isAlive === true || idiotPlayer.role.isRevealed", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(182,42): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(183,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", @@ -73424,25 +75104,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 69, - "line": 182 + "line": 188 }, "start": { "column": 9, - "line": 182 + "line": 188 } } }, { - "id": "2246", + "id": "2309", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(182,17): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(183,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", @@ -73450,25 +75130,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 38, - "line": 182 + "line": 188 }, "start": { "column": 9, - "line": 182 + "line": 188 } } }, { - "id": "2247", + "id": "2310", "mutatorName": "EqualityOperator", "replacement": "idiotPlayer?.isAlive !== true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(182,42): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(183,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", @@ -73476,25 +75156,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 38, - "line": 182 + "line": 188 }, "start": { "column": 9, - "line": 182 + "line": 188 } } }, { - "id": "2248", + "id": "2311", "mutatorName": "OptionalChaining", "replacement": "idiotPlayer.isAlive", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(182,9): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(182,41): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(183,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", @@ -73502,25 +75182,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 29, - "line": 182 + "line": 188 }, "start": { "column": 9, - "line": 182 + "line": 188 } } }, { - "id": "2249", + "id": "2312", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:995:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73528,28 +75208,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "291" + "292" ], "coveredBy": [ - "287", "288", "289", "290", - "291" + "291", + "292" ], "location": { "end": { "column": 38, - "line": 182 + "line": 188 }, "start": { "column": 34, - "line": 182 + "line": 188 } } }, { - "id": "2250", + "id": "2313", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:995:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73557,24 +75237,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "291" + "292" ], "coveredBy": [ - "291" + "292" ], "location": { "end": { "column": 6, - "line": 184 + "line": 190 }, "start": { "column": 109, - "line": 182 + "line": 188 } } }, { - "id": "2251", + "id": "2314", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(194,71): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -73582,23 +75262,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "292", "293", - "294" + "294", + "295" ], "location": { "end": { "column": 4, - "line": 194 + "line": 200 }, "start": { "column": 76, - "line": 188 + "line": 194 } } }, { - "id": "2252", + "id": "2315", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -152,15 +152,10 @@\n \"status\": \"over\",\n \"tick\": 6384409888423936,\n \"turn\": 7010687085707264,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"shoot\",\n- \"cause\": undefined,\n- \"source\": \"hunter\",\n- },\n- GamePlay {\n \"action\": \"ban-voting\",\n \"cause\": undefined,\n \"source\": \"scapegoat\",\n },\n ],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1032:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73606,26 +75286,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "294" + "295" ], "coveredBy": [ - "292", "293", - "294" + "294", + "295" ], "location": { "end": { "column": 131, - "line": 190 + "line": 196 }, "start": { "column": 9, - "line": 190 + "line": 196 } } }, { - "id": "2253", + "id": "2316", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 5414393479168000,\n \"turn\": 6153693153984512,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"cause\": undefined,\n+ \"source\": \"hunter\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-17T18:10:26.424Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1003:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73633,26 +75313,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "292" + "293" ], "coveredBy": [ - "292", "293", - "294" + "294", + "295" ], "location": { "end": { "column": 131, - "line": 190 + "line": 196 }, "start": { "column": 9, - "line": 190 + "line": 196 } } }, { - "id": "2254", + "id": "2317", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.HUNTER && doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 4537763168780288,\n \"turn\": 8294031400370176,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"cause\": undefined,\n+ \"source\": \"hunter\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-18T07:09:29.940Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1003:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73660,26 +75340,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "292" + "293" ], "coveredBy": [ - "292", "293", - "294" + "294", + "295" ], "location": { "end": { "column": 131, - "line": 190 + "line": 196 }, "start": { "column": 9, - "line": 190 + "line": 196 } } }, { - "id": "2255", + "id": "2318", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 6174686469685248,\n \"turn\": 5038289004265472,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"cause\": undefined,\n+ \"source\": \"hunter\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-18T02:15:55.755Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1003:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73687,26 +75367,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "292" + "293" ], "coveredBy": [ - "292", "293", - "294" + "294", + "295" ], "location": { "end": { "column": 56, - "line": 190 + "line": 196 }, "start": { "column": 9, - "line": 190 + "line": 196 } } }, { - "id": "2256", + "id": "2319", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current === ROLE_NAMES.HUNTER", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 4962453213413376,\n \"turn\": 1826502947635200,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"cause\": undefined,\n+ \"source\": \"hunter\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-17T16:02:05.704Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1003:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73714,26 +75394,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "292" + "293" ], "coveredBy": [ - "292", "293", - "294" + "294", + "295" ], "location": { "end": { "column": 56, - "line": 190 + "line": 196 }, "start": { "column": 9, - "line": 190 + "line": 196 } } }, { - "id": "2257", + "id": "2320", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -150,9 +150,15 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 7755692626673664,\n \"turn\": 7024767844483072,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"cause\": undefined,\n+ \"source\": \"hunter\",\n+ },\n+ ],\n \"updatedAt\": 2023-06-18T05:16:05.381Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1003:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73741,25 +75421,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "292" + "293" ], "coveredBy": [ - "292", - "293" + "293", + "294" ], "location": { "end": { "column": 6, - "line": 192 + "line": 198 }, "start": { "column": 133, - "line": 190 + "line": 196 } } }, { - "id": "2258", + "id": "2321", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(196,95): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -73768,25 +75448,25 @@ "killedBy": [], "coveredBy": [ "227", - "295", "296", "297", "298", - "299" + "299", + "300" ], "location": { "end": { "column": 4, - "line": 211 + "line": 217 }, "start": { "column": 100, - "line": 196 + "line": 202 } } }, { - "id": "2259", + "id": "2322", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"34a3d41fbc1d8e11ecfda5fa\", \"additionalCards\": undefined, \"createdAt\": 2023-06-18T11:45:21.896Z, \"currentPlay\": {\"action\": \"meet-each-other\", \"cause\": undefined, \"source\": \"bear-tamer\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 723308444123136}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"bee0cc0da0b79ff9da2f6f33\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Fiona\", \"position\": 6660352326500352, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"af270e55b9accf037caf8d7c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Mohamed\", \"position\": 1414246713786368, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e415a3e3b46dabc9dffd4cd2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ernestine\", \"position\": 2801217828814848, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"a0d7a0dc636167aa7aa4e5d6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Mateo\", \"position\": 8139117183369216, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"playing\", \"tick\": 2136893602922496, \"turn\": 8458598512328704, \"upcomingPlays\": [], \"updatedAt\": 2023-06-17T18:29:37.846Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1054:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73794,29 +75474,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "295" + "296" ], "coveredBy": [ "227", - "295", "296", "297", "298", - "299" + "299", + "300" ], "location": { "end": { "column": 56, - "line": 198 + "line": 204 }, "start": { "column": 9, - "line": 198 + "line": 204 } } }, { - "id": "2260", + "id": "2323", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1072:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73824,29 +75504,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "296" + "297" ], "coveredBy": [ "227", - "295", "296", "297", "298", - "299" + "299", + "300" ], "location": { "end": { "column": 56, - "line": 198 + "line": 204 }, "start": { "column": 9, - "line": 198 + "line": 204 } } }, { - "id": "2261", + "id": "2324", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.HUNTER", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(201,9): error TS2367: This comparison appears to be unintentional because the types 'ROLE_NAMES.HUNTER' and 'ROLE_NAMES.ANCIENT' have no overlap.\nsrc/modules/game/providers/services/player/player-killer.service.ts(204,9): error TS2367: This comparison appears to be unintentional because the types 'ROLE_NAMES.HUNTER' and 'ROLE_NAMES.SCAPEGOAT' have no overlap.\nsrc/modules/game/providers/services/player/player-killer.service.ts(207,9): error TS2367: This comparison appears to be unintentional because the types 'ROLE_NAMES.HUNTER' and 'ROLE_NAMES.RUSTY_SWORD_KNIGHT' have no overlap.\n", @@ -73855,46 +75535,46 @@ "killedBy": [], "coveredBy": [ "227", - "295", "296", "297", "298", - "299" + "299", + "300" ], "location": { "end": { "column": 56, - "line": 198 + "line": 204 }, "start": { "column": 9, - "line": 198 + "line": 204 } } }, { - "id": "2262", + "id": "2325", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "296" + "297" ], "location": { "end": { "column": 6, - "line": 200 + "line": 206 }, "start": { "column": 58, - "line": 198 + "line": 204 } } }, { - "id": "2263", + "id": "2326", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"ef59b349c01b1778c04a5ef7\", \"additionalCards\": undefined, \"createdAt\": 2023-06-18T10:42:07.250Z, \"currentPlay\": {\"action\": \"protect\", \"cause\": undefined, \"source\": \"charmed\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 6932779686166528}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"adcf3bfcfd70dfdfcaed1a6b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Joe\", \"position\": 6010344268890112, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"2933b2f2e1f16ff1f088467d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brown\", \"position\": 2340350670667776, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c6311cab7e16cee99a0c4c4c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aric\", \"position\": 4182350581727232, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"f9ae15c0e2f156bf502f9a59\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Mellie\", \"position\": 319323824455680, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 4146180646764544, \"turn\": 172498259804160, \"upcomingPlays\": [], \"updatedAt\": 2023-06-18T05:01:24.086Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1054:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73902,28 +75582,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "295" + "296" ], "coveredBy": [ "227", - "295", - "297", + "296", "298", - "299" + "299", + "300" ], "location": { "end": { "column": 57, - "line": 201 + "line": 207 }, "start": { "column": 9, - "line": 201 + "line": 207 } } }, { - "id": "2264", + "id": "2327", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1094:67)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73931,28 +75611,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "297" + "298" ], "coveredBy": [ "227", - "295", - "297", + "296", "298", - "299" + "299", + "300" ], "location": { "end": { "column": 57, - "line": 201 + "line": 207 }, "start": { "column": 9, - "line": 201 + "line": 207 } } }, { - "id": "2265", + "id": "2328", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.ANCIENT", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(204,9): error TS2367: This comparison appears to be unintentional because the types 'ROLE_NAMES.ANCIENT' and 'ROLE_NAMES.SCAPEGOAT' have no overlap.\nsrc/modules/game/providers/services/player/player-killer.service.ts(207,9): error TS2367: This comparison appears to be unintentional because the types 'ROLE_NAMES.ANCIENT' and 'ROLE_NAMES.RUSTY_SWORD_KNIGHT' have no overlap.\n", @@ -73961,45 +75641,45 @@ "killedBy": [], "coveredBy": [ "227", - "295", - "297", + "296", "298", - "299" + "299", + "300" ], "location": { "end": { "column": 57, - "line": 201 + "line": 207 }, "start": { "column": 9, - "line": 201 + "line": 207 } } }, { - "id": "2266", + "id": "2329", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "297" + "298" ], "location": { "end": { "column": 6, - "line": 203 + "line": 209 }, "start": { "column": 59, - "line": 201 + "line": 207 } } }, { - "id": "2267", + "id": "2330", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"827e0d2fbdb24bbf5af01ba4\", \"additionalCards\": undefined, \"createdAt\": 2023-06-22T03:02:02.514Z, \"currentPlay\": {\"action\": \"choose-model\", \"cause\": undefined, \"source\": \"dog-wolf\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": 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\": \"day\", \"turn\": 8472157824745472}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"bca5cd196be4beaf65c1e9ce\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Oma\", \"position\": 7396705936867328, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"a0afa8ad0cf7f6eb1f81e51f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Veronica\", \"position\": 8347070257692672, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e6fc8c254afc857a49a6a68f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Josiah\", \"position\": 298381549240320, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"d7fded35abef823ec7ae5a13\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Anita\", \"position\": 6560112634232832, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"playing\", \"tick\": 5181645464272896, \"turn\": 8921786708131840, \"upcomingPlays\": [], \"updatedAt\": 2023-06-22T01:57:19.891Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1060:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74007,27 +75687,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "295" + "296" ], "coveredBy": [ "227", - "295", - "298", - "299" + "296", + "299", + "300" ], "location": { "end": { "column": 59, - "line": 204 + "line": 210 }, "start": { "column": 9, - "line": 204 + "line": 210 } } }, { - "id": "2268", + "id": "2331", "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/sandbox250045/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1111:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74035,27 +75715,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "298" + "299" ], "coveredBy": [ "227", - "295", - "298", - "299" + "296", + "299", + "300" ], "location": { "end": { "column": 59, - "line": 204 + "line": 210 }, "start": { "column": 9, - "line": 204 + "line": 210 } } }, { - "id": "2269", + "id": "2332", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.SCAPEGOAT", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(207,9): error TS2367: This comparison appears to be unintentional because the types 'ROLE_NAMES.SCAPEGOAT' and 'ROLE_NAMES.RUSTY_SWORD_KNIGHT' have no overlap.\n", @@ -74064,23 +75744,23 @@ "killedBy": [], "coveredBy": [ "227", - "295", - "298", - "299" + "296", + "299", + "300" ], "location": { "end": { "column": 59, - "line": 204 + "line": 210 }, "start": { "column": 9, - "line": 204 + "line": 210 } } }, { - "id": "2270", + "id": "2333", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1105:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74088,24 +75768,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "298" + "299" ], "coveredBy": [ - "298" + "299" ], "location": { "end": { "column": 6, - "line": 206 + "line": 212 }, "start": { "column": 61, - "line": 204 + "line": 210 } } }, { - "id": "2271", + "id": "2334", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"ed6dec0a3c7fa0d9acaeaeff\", \"additionalCards\": undefined, \"createdAt\": 2023-06-18T04:45:10.979Z, \"currentPlay\": {\"action\": \"vote\", \"cause\": undefined, \"source\": \"ancient\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5907689817243648}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"ab62aedeb43fbeea1ff8da0f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Chaz\", \"position\": 2316019557203968, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bb3855bc9fcbb8b6273c3ede\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Duane\", \"position\": 8285040423206912, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b6988cd7ebd5bf3e2048a432\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Guido\", \"position\": 8875459221651456, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"cde1f07a94c234cfeafabae5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Melyssa\", \"position\": 628215641014272, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"playing\", \"tick\": 6861350856818688, \"turn\": 7155119424536576, \"upcomingPlays\": [], \"updatedAt\": 2023-06-17T22:32:10.190Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1054:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74113,26 +75793,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "295" + "296" ], "coveredBy": [ "227", - "295", - "299" + "296", + "300" ], "location": { "end": { "column": 68, - "line": 207 + "line": 213 }, "start": { "column": 9, - "line": 207 + "line": 213 } } }, { - "id": "2272", + "id": "2335", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1122:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74140,26 +75820,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "299" + "300" ], "coveredBy": [ "227", - "295", - "299" + "296", + "300" ], "location": { "end": { "column": 68, - "line": 207 + "line": 213 }, "start": { "column": 9, - "line": 207 + "line": 213 } } }, { - "id": "2273", + "id": "2336", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.RUSTY_SWORD_KNIGHT", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"a4d478c9ccedeeae02cbf5bd\", \"additionalCards\": undefined, \"createdAt\": 2023-06-17T17:11:58.977Z, \"currentPlay\": {\"action\": \"look\", \"cause\": undefined, \"source\": \"vile-father-of-wolves\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7929738446241792}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"6e97fcd5eced4bcad259634b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Riley\", \"position\": 7331581903503360, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"90a74f8c2babbbcda3bd9d4b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Sister\", \"position\": 2950384907714560, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"22b687d3ecfb6dbea0bc19a1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jeramy\", \"position\": 8527405759070208, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bcfe1b30473f1ae215b6debe\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Melvin\", \"position\": 2992495172517888, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 7512513128169472, \"turn\": 2022247036354560, \"upcomingPlays\": [], \"updatedAt\": 2023-06-17T13:18:22.648Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1054:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74167,26 +75847,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "295" + "296" ], "coveredBy": [ "227", - "295", - "299" + "296", + "300" ], "location": { "end": { "column": 68, - "line": 207 + "line": 213 }, "start": { "column": 9, - "line": 207 + "line": 213 } } }, { - "id": "2274", + "id": "2337", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1122:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74194,24 +75874,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "299" + "300" ], "coveredBy": [ - "299" + "300" ], "location": { "end": { "column": 6, - "line": 209 + "line": 215 }, "start": { "column": 70, - "line": 207 + "line": 213 } } }, { - "id": "2275", + "id": "2338", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(213,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -74220,21 +75900,21 @@ "killedBy": [], "coveredBy": [ "227", - "300" + "301" ], "location": { "end": { "column": 4, - "line": 220 + "line": 226 }, "start": { "column": 96, - "line": 213 + "line": 219 } } }, { - "id": "2276", + "id": "2339", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"applyPlayerDeathOutcomes\", {\"gameId\": \"b27bcd94a64fc7751abf5ec8\", \"playerId\": \"8da06934d20b5d7aaf88e7fd\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1147:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74242,25 +75922,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "300" + "301" ], "coveredBy": [ "227", - "300" + "301" ], "location": { "end": { "column": 103, - "line": 216 + "line": 222 }, "start": { "column": 77, - "line": 216 + "line": 222 } } }, { - "id": "2277", + "id": "2340", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(216,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", @@ -74269,194 +75949,145 @@ "killedBy": [], "coveredBy": [ "227", - "300" + "301" ], "location": { "end": { "column": 153, - "line": 216 + "line": 222 }, "start": { "column": 105, - "line": 216 + "line": 222 } } }, { - "id": "2278", + "id": "2341", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(222,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(228,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": [ "227", - "301" + "302" ], "location": { "end": { "column": 4, - "line": 234 + "line": 240 }, "start": { "column": 82, - "line": 222 + "line": 228 } } }, { - "id": "2279", + "id": "2342", "mutatorName": "StringLiteral", "replacement": "\"\"", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"killPlayer\", {\"gameId\": \"d0c9a3f1e65241ec5f366caa\", \"playerId\": \"fa461ec66c68af9c8a1caad4\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1173:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"killPlayer\", {\"gameId\": \"79b3d9caf1a0fecba59fb71f\", \"playerId\": \"cbb8bb1e5c5555ddfaa4fec6\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1204:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "301" + "302" ], "coveredBy": [ "227", - "301" + "302" ], "location": { "end": { "column": 89, - "line": 225 + "line": 231 }, "start": { "column": 77, - "line": 225 + "line": 231 } } }, { - "id": "2280", + "id": "2343", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(225,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", + "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(231,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "227", - "301" + "302" ], "location": { "end": { "column": 139, - "line": 225 + "line": 231 }, "start": { "column": 91, - "line": 225 + "line": 231 } } }, { - "id": "2281", + "id": "2344", "mutatorName": "BooleanLiteral", "replacement": "true", - "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: \"a5ffa5dfca9d4dbac93efc6a\", {\"_id\": \"a5ffa5dfca9d4dbac93efc6a\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Barry\", \"position\": 4582511271215104, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b2c2d98c957428ebba1ca2f0\", \"additionalCards\": undefined, \"createdAt\": 2023-06-18T01:18:39.063Z, \"currentPlay\": {\"action\": \"choose-sign\", \"cause\": undefined, \"source\": \"villager-villager\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 3513230825619456}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"a5ffa5dfca9d4dbac93efc6a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Barry\", \"position\": 4582511271215104, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b03bbaf9fda70d2245e8a7ae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rudolph\", \"position\": 1728059245854720, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"cff647dcfbe3ed8c9fbb6a3a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Asha\", \"position\": 7115303542587392, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"c8645e1fb4ea8fbee9caa4a6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elbert\", \"position\": 8516825402834944, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 7911348967047168, \"turn\": 676337045995520, \"upcomingPlays\": [], \"updatedAt\": 2023-06-18T02:45:00.724Z, \"victory\": undefined}\nReceived\n-> 1\n \"a5ffa5dfca9d4dbac93efc6a\",\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\": \"Barry\",\n \"position\": 4582511271215104,\n \"role\": PlayerRole {\n \"current\": \"rusty-sword-knight\",\n \"isRevealed\": true,,\n {\"_id\": \"b2c2d98c957428ebba1ca2f0\", \"additionalCards\": undefined, \"createdAt\": 2023-06-18T01:18:39.063Z, \"currentPlay\": {\"action\": \"choose-sign\", \"cause\": undefined, \"source\": \"villager-villager\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 3513230825619456}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"a5ffa5dfca9d4dbac93efc6a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Barry\", \"position\": 4582511271215104, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b03bbaf9fda70d2245e8a7ae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rudolph\", \"position\": 1728059245854720, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"cff647dcfbe3ed8c9fbb6a3a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Asha\", \"position\": 7115303542587392, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"c8645e1fb4ea8fbee9caa4a6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elbert\", \"position\": 8516825402834944, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 7911348967047168, \"turn\": 676337045995520, \"upcomingPlays\": [], \"updatedAt\": 2023-06-18T02:45:00.724Z, \"victory\": undefined},\n 2: \"a5ffa5dfca9d4dbac93efc6a\", {\"attributes\": []}, {\"_id\": \"b2c2d98c957428ebba1ca2f0\", \"additionalCards\": undefined, \"createdAt\": 2023-06-18T01:18:39.063Z, \"currentPlay\": {\"action\": \"choose-sign\", \"cause\": undefined, \"source\": \"villager-villager\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 3513230825619456}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"a5ffa5dfca9d4dbac93efc6a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Barry\", \"position\": 4582511271215104, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b03bbaf9fda70d2245e8a7ae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rudolph\", \"position\": 1728059245854720, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"cff647dcfbe3ed8c9fbb6a3a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Asha\", \"position\": 7115303542587392, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"c8645e1fb4ea8fbee9caa4a6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elbert\", \"position\": 8516825402834944, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 7911348967047168, \"turn\": 676337045995520, \"upcomingPlays\": [], \"updatedAt\": 2023-06-18T02:45:00.724Z, \"victory\": undefined}\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1174:38)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: \"e9fcbceedbf2fa5cf3fa15ca\", {\"_id\": \"e9fcbceedbf2fa5cf3fa15ca\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Alvina\", \"position\": 1064729497829376, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f7cee1cb88854e2c61e825f0\", \"additionalCards\": undefined, \"createdAt\": 2023-06-27T15:50:26.721Z, \"currentPlay\": {\"action\": \"sniff\", \"cause\": undefined, \"source\": \"scapegoat\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 6413781825486848}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"e9fcbceedbf2fa5cf3fa15ca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Alvina\", \"position\": 1064729497829376, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"bac22cecec41b4e7fffb199c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rosie\", \"position\": 6951256738234368, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"83c8bdb79ebf8f3fae12bdcb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stanton\", \"position\": 5075527398326272, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"dd9adb7b8dc4e2d3cba2c2ac\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stefanie\", \"position\": 6931341992001536, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 5093043495501824, \"turn\": 4911542378168320, \"upcomingPlays\": [], \"updatedAt\": 2023-06-27T17:32:05.599Z, \"victory\": undefined}\nReceived\n-> 1\n \"e9fcbceedbf2fa5cf3fa15ca\",\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\": \"Alvina\",\n \"position\": 1064729497829376,\n \"role\": PlayerRole {\n \"current\": \"rusty-sword-knight\",\n \"isRevealed\": true,,\n {\"_id\": \"f7cee1cb88854e2c61e825f0\", \"additionalCards\": undefined, \"createdAt\": 2023-06-27T15:50:26.721Z, \"currentPlay\": {\"action\": \"sniff\", \"cause\": undefined, \"source\": \"scapegoat\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 6413781825486848}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"e9fcbceedbf2fa5cf3fa15ca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Alvina\", \"position\": 1064729497829376, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"bac22cecec41b4e7fffb199c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rosie\", \"position\": 6951256738234368, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"83c8bdb79ebf8f3fae12bdcb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stanton\", \"position\": 5075527398326272, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"dd9adb7b8dc4e2d3cba2c2ac\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stefanie\", \"position\": 6931341992001536, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 5093043495501824, \"turn\": 4911542378168320, \"upcomingPlays\": [], \"updatedAt\": 2023-06-27T17:32:05.599Z, \"victory\": undefined},\n 2: \"e9fcbceedbf2fa5cf3fa15ca\", {\"_id\": \"e9fcbceedbf2fa5cf3fa15ca\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Alvina\", \"position\": 1064729497829376, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f7cee1cb88854e2c61e825f0\", \"additionalCards\": undefined, \"createdAt\": 2023-06-27T15:50:26.721Z, \"currentPlay\": {\"action\": \"sniff\", \"cause\": undefined, \"source\": \"scapegoat\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 6413781825486848}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"e9fcbceedbf2fa5cf3fa15ca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Alvina\", \"position\": 1064729497829376, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"bac22cecec41b4e7fffb199c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rosie\", \"position\": 6951256738234368, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"83c8bdb79ebf8f3fae12bdcb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stanton\", \"position\": 5075527398326272, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"dd9adb7b8dc4e2d3cba2c2ac\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stefanie\", \"position\": 6931341992001536, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 5093043495501824, \"turn\": 4911542378168320, \"upcomingPlays\": [], \"updatedAt\": 2023-06-27T17:32:05.599Z, \"victory\": undefined}\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1205:38)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "301" + "302" ], "coveredBy": [ "227", - "301" + "302" ], "location": { "end": { "column": 39, - "line": 226 + "line": 232 }, "start": { "column": 34, - "line": 226 + "line": 232 } } }, { - "id": "2282", + "id": "2345", "mutatorName": "BooleanLiteral", "replacement": "false", - "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: \"5b0d8626c85bdd69bfb0d8bc\", {\"_id\": \"5b0d8626c85bdd69bfb0d8bc\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Ebba\", \"position\": 3692125487104000, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b2923fd28124fad40d46f3b2\", \"additionalCards\": undefined, \"createdAt\": 2023-06-17T16:12:43.457Z, \"currentPlay\": {\"action\": \"choose-sign\", \"cause\": undefined, \"source\": \"raven\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 6071791806054400}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"5b0d8626c85bdd69bfb0d8bc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ebba\", \"position\": 3692125487104000, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f2cbbf916ee2ed7d43aa6b24\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Reid\", \"position\": 4434497791590400, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"75eb6e25d78fd14cdc8beafa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Darian\", \"position\": 4588325589483520, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"ff1be6bc78e3ae79fa1579e2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Bryon\", \"position\": 907458339930112, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 5226738487394304, \"turn\": 3457591434805248, \"upcomingPlays\": [], \"updatedAt\": 2023-06-18T03:00:31.900Z, \"victory\": undefined}\nReceived\n-> 1\n \"5b0d8626c85bdd69bfb0d8bc\",\n @@ -8,11 +8,11 @@\n \"isAlive\": false,\n \"name\": \"Ebba\",\n \"position\": 3692125487104000,\n \"role\": PlayerRole {\n \"current\": \"rusty-sword-knight\",\n - \"isRevealed\": true,\n + \"isRevealed\": false,\n \"original\": \"rusty-sword-knight\",\n },\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n \"original\": \"villagers\",,\n {\"_id\": \"b2923fd28124fad40d46f3b2\", \"additionalCards\": undefined, \"createdAt\": 2023-06-17T16:12:43.457Z, \"currentPlay\": {\"action\": \"choose-sign\", \"cause\": undefined, \"source\": \"raven\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 6071791806054400}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"5b0d8626c85bdd69bfb0d8bc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ebba\", \"position\": 3692125487104000, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f2cbbf916ee2ed7d43aa6b24\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Reid\", \"position\": 4434497791590400, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"75eb6e25d78fd14cdc8beafa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Darian\", \"position\": 4588325589483520, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"ff1be6bc78e3ae79fa1579e2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Bryon\", \"position\": 907458339930112, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 5226738487394304, \"turn\": 3457591434805248, \"upcomingPlays\": [], \"updatedAt\": 2023-06-18T03:00:31.900Z, \"victory\": undefined},\n 2: \"5b0d8626c85bdd69bfb0d8bc\", {\"attributes\": []}, {\"_id\": \"b2923fd28124fad40d46f3b2\", \"additionalCards\": undefined, \"createdAt\": 2023-06-17T16:12:43.457Z, \"currentPlay\": {\"action\": \"choose-sign\", \"cause\": undefined, \"source\": \"raven\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 6071791806054400}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"5b0d8626c85bdd69bfb0d8bc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ebba\", \"position\": 3692125487104000, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f2cbbf916ee2ed7d43aa6b24\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Reid\", \"position\": 4434497791590400, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"75eb6e25d78fd14cdc8beafa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Darian\", \"position\": 4588325589483520, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"ff1be6bc78e3ae79fa1579e2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Bryon\", \"position\": 907458339930112, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 5226738487394304, \"turn\": 3457591434805248, \"upcomingPlays\": [], \"updatedAt\": 2023-06-18T03:00:31.900Z, \"victory\": undefined}\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1174:38)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: \"ca4df79411f818eef770328f\", {\"_id\": \"ca4df79411f818eef770328f\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Gregory\", \"position\": 5870225348100096, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"db7c6aab6da4ce635ac3ee9f\", \"additionalCards\": undefined, \"createdAt\": 2023-06-27T14:55:00.572Z, \"currentPlay\": {\"action\": \"choose-model\", \"cause\": undefined, \"source\": \"little-girl\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 454123174494208}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"ca4df79411f818eef770328f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gregory\", \"position\": 5870225348100096, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"eafa1abc74b5d0a1aafb03e6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ashleigh\", \"position\": 5316900978425856, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"beb81fc25c0fbce3db72f0fa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Madie\", \"position\": 3865528548458496, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"fa5aa1a0740f642e380f9496\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Judy\", \"position\": 8517961908224000, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"playing\", \"tick\": 1368173760741376, \"turn\": 2732006165184512, \"upcomingPlays\": [], \"updatedAt\": 2023-06-26T23:35:29.225Z, \"victory\": undefined}\nReceived\n-> 1\n \"ca4df79411f818eef770328f\",\n @@ -8,11 +8,11 @@\n \"isAlive\": false,\n \"name\": \"Gregory\",\n \"position\": 5870225348100096,\n \"role\": PlayerRole {\n \"current\": \"rusty-sword-knight\",\n - \"isRevealed\": true,\n + \"isRevealed\": false,\n \"original\": \"rusty-sword-knight\",\n },\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n \"original\": \"villagers\",,\n {\"_id\": \"db7c6aab6da4ce635ac3ee9f\", \"additionalCards\": undefined, \"createdAt\": 2023-06-27T14:55:00.572Z, \"currentPlay\": {\"action\": \"choose-model\", \"cause\": undefined, \"source\": \"little-girl\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 454123174494208}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"ca4df79411f818eef770328f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gregory\", \"position\": 5870225348100096, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"eafa1abc74b5d0a1aafb03e6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ashleigh\", \"position\": 5316900978425856, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"beb81fc25c0fbce3db72f0fa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Madie\", \"position\": 3865528548458496, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"fa5aa1a0740f642e380f9496\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Judy\", \"position\": 8517961908224000, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"playing\", \"tick\": 1368173760741376, \"turn\": 2732006165184512, \"upcomingPlays\": [], \"updatedAt\": 2023-06-26T23:35:29.225Z, \"victory\": undefined},\n 2: \"ca4df79411f818eef770328f\", {\"_id\": \"ca4df79411f818eef770328f\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Gregory\", \"position\": 5870225348100096, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"db7c6aab6da4ce635ac3ee9f\", \"additionalCards\": undefined, \"createdAt\": 2023-06-27T14:55:00.572Z, \"currentPlay\": {\"action\": \"choose-model\", \"cause\": undefined, \"source\": \"little-girl\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 454123174494208}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"ca4df79411f818eef770328f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gregory\", \"position\": 5870225348100096, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"eafa1abc74b5d0a1aafb03e6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ashleigh\", \"position\": 5316900978425856, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"beb81fc25c0fbce3db72f0fa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Madie\", \"position\": 3865528548458496, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"fa5aa1a0740f642e380f9496\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Judy\", \"position\": 8517961908224000, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"playing\", \"tick\": 1368173760741376, \"turn\": 2732006165184512, \"upcomingPlays\": [], \"updatedAt\": 2023-06-26T23:35:29.225Z, \"victory\": undefined}\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7987995/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1205:38)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "301" + "302" ], "coveredBy": [ "227", - "301" + "302" ], "location": { "end": { "column": 46, - "line": 227 - }, - "start": { - "column": 42, - "line": 227 - } - } - }, - { - "id": "2283", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 2\nExpected: \"f77b927daae2ce3ddfadfcef\", {\"attributes\": []}, {\"_id\": \"8d4fd12d6f4ac32fc7213b76\", \"additionalCards\": undefined, \"createdAt\": 2023-06-17T20:32:31.796Z, \"currentPlay\": {\"action\": \"sniff\", \"cause\": undefined, \"source\": \"big-bad-wolf\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5847414028107776}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"f77b927daae2ce3ddfadfcef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Anita\", \"position\": 7340594447777792, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e76d9fb5c92e382ac3a8653a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Tito\", \"position\": 338393728811008, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"9f3baa1bfacca7fe3ecf64d6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Cleo\", \"position\": 1553879374233600, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"cf0f4cc0bd987ee99a04daef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Clarabelle\", \"position\": 2890974265081856, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 2718693781929984, \"turn\": 6358374948012032, \"upcomingPlays\": [], \"updatedAt\": 2023-06-18T12:55:13.567Z, \"victory\": undefined}\nReceived\n 1: \"f77b927daae2ce3ddfadfcef\", {\"_id\": \"f77b927daae2ce3ddfadfcef\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Anita\", \"position\": 7340594447777792, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"8d4fd12d6f4ac32fc7213b76\", \"additionalCards\": undefined, \"createdAt\": 2023-06-17T20:32:31.796Z, \"currentPlay\": {\"action\": \"sniff\", \"cause\": undefined, \"source\": \"big-bad-wolf\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5847414028107776}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"f77b927daae2ce3ddfadfcef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Anita\", \"position\": 7340594447777792, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e76d9fb5c92e382ac3a8653a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Tito\", \"position\": 338393728811008, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"9f3baa1bfacca7fe3ecf64d6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Cleo\", \"position\": 1553879374233600, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"cf0f4cc0bd987ee99a04daef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Clarabelle\", \"position\": 2890974265081856, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 2718693781929984, \"turn\": 6358374948012032, \"upcomingPlays\": [], \"updatedAt\": 2023-06-18T12:55:13.567Z, \"victory\": undefined}\n-> 2\n \"f77b927daae2ce3ddfadfcef\",\n - Object {\n - \"attributes\": Array [],\n - }\n + Object {},\n {\"_id\": \"8d4fd12d6f4ac32fc7213b76\", \"additionalCards\": undefined, \"createdAt\": 2023-06-17T20:32:31.796Z, \"currentPlay\": {\"action\": \"sniff\", \"cause\": undefined, \"source\": \"big-bad-wolf\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5847414028107776}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"f77b927daae2ce3ddfadfcef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Anita\", \"position\": 7340594447777792, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e76d9fb5c92e382ac3a8653a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Tito\", \"position\": 338393728811008, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"9f3baa1bfacca7fe3ecf64d6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Cleo\", \"position\": 1553879374233600, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"cf0f4cc0bd987ee99a04daef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Clarabelle\", \"position\": 2890974265081856, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 2718693781929984, \"turn\": 6358374948012032, \"upcomingPlays\": [], \"updatedAt\": 2023-06-18T12:55:13.567Z, \"victory\": undefined},\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1178:38)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "301" - ], - "coveredBy": [ - "227", - "301" - ], - "location": { - "end": { - "column": 73, - "line": 233 - }, - "start": { - "column": 55, - "line": 233 - } - } - }, - { - "id": "2284", - "mutatorName": "ArrayDeclaration", - "replacement": "[\"Stryker was here\"]", - "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(233,70): error TS2322: Type 'string' is not assignable to type 'PlayerAttribute'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "227", - "301" - ], - "location": { - "end": { - "column": 71, "line": 233 }, "start": { - "column": 69, + "column": 42, "line": 233 } } }, { - "id": "2285", + "id": "2346", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(236,72): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -74464,22 +76095,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "302", - "303" + "303", + "304" ], "location": { "end": { "column": 4, - "line": 243 + "line": 249 }, "start": { "column": 79, - "line": 236 + "line": 242 } } }, { - "id": "2286", + "id": "2347", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(238,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(240,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", @@ -74487,44 +76118,44 @@ "static": false, "killedBy": [], "coveredBy": [ - "302", - "303" + "303", + "304" ], "location": { "end": { "column": 67, - "line": 237 + "line": 243 }, "start": { "column": 37, - "line": 237 + "line": 243 } } }, { - "id": "2287", + "id": "2348", "mutatorName": "StringLiteral", "replacement": "\"\"", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "302", - "303" + "303", + "304" ], "location": { "end": { "column": 128, - "line": 238 + "line": 244 }, "start": { "column": 105, - "line": 238 + "line": 244 } } }, { - "id": "2288", + "id": "2349", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1203:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74532,25 +76163,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "302" + "303" ], "coveredBy": [ - "302", - "303" + "303", + "304" ], "location": { "end": { "column": 30, - "line": 239 + "line": 245 }, "start": { "column": 9, - "line": 239 + "line": 245 } } }, { - "id": "2289", + "id": "2350", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "UnexpectedException: Unexpected exception in getPlayerToKillInGame\n at createPlayerIsDeadUnexpectedException (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/src/shared/exception/helpers/unexpected-exception.factory.ts:81:12)\n at PlayerKillerService.getPlayerToKillInGame (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/src/modules/game/providers/services/player/player-killer.service.ts:568:54)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1210:60)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74558,25 +76189,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "303" + "304" ], "coveredBy": [ - "302", - "303" + "303", + "304" ], "location": { "end": { "column": 30, - "line": 239 + "line": 245 }, "start": { "column": 9, - "line": 239 + "line": 245 } } }, { - "id": "2290", + "id": "2351", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1203:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74584,25 +76215,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "302" + "303" ], "coveredBy": [ - "302", - "303" + "303", + "304" ], "location": { "end": { "column": 30, - "line": 239 + "line": 245 }, "start": { "column": 9, - "line": 239 + "line": 245 } } }, { - "id": "2291", + "id": "2352", "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/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1203:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74610,24 +76241,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "302" + "303" ], "coveredBy": [ - "302" + "303" ], "location": { "end": { "column": 6, - "line": 241 + "line": 247 }, "start": { "column": 32, - "line": 239 + "line": 245 } } }, { - "id": "2292", + "id": "2353", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"getPlayerToKillInGame\", {\"gameId\": \"55129ef129ddf47243cb39be\", \"playerId\": \"8ed2a6f8fe5d07c9b55ee6f1\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1205:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74635,30 +76266,30 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "302" + "303" ], "coveredBy": [ - "302" + "303" ], "location": { "end": { "column": 74, - "line": 240 + "line": 246 }, "start": { "column": 51, - "line": 240 + "line": 246 } } } ], - "source": "import { Injectable } from \"@nestjs/common\";\nimport { cloneDeep } from \"lodash\";\nimport type { Types } from \"mongoose\";\nimport { createCantFindPlayerUnexpectedException, createPlayerIsDeadUnexpectedException } from \"../../../../../shared/exception/helpers/unexpected-exception.factory\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../../role/enums/role.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_DEATH_CAUSES } from \"../../../enums/player.enum\";\nimport { createGamePlayHunterShoots, createGamePlayScapegoatBansVoting, createGamePlaySheriffDelegates } from \"../../../helpers/game-play/game-play.factory\";\nimport { getAliveVillagerSidedPlayers, getNearestAliveNeighbor, getPlayerWithCurrentRole, getPlayerWithIdOrThrow } from \"../../../helpers/game.helper\";\nimport { addPlayerAttributeInGame, addPlayersAttributeInGame, prependUpcomingPlayInGame, updatePlayerInGame } from \"../../../helpers/game.mutator\";\nimport { createCantVoteByAllPlayerAttribute, createContaminatedByRustySwordKnightPlayerAttribute, createPowerlessByAncientPlayerAttribute } from \"../../../helpers/player/player-attribute/player-attribute.factory\";\nimport { createPlayerBrokenHeartByCupidDeath, createPlayerDeath, createPlayerReconsiderPardonByAllDeath } from \"../../../helpers/player/player-death/player-death.factory\";\nimport { doesPlayerHaveAttribute } from \"../../../helpers/player/player.helper\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { PlayerDeath } from \"../../../schemas/player/player-death.schema\";\nimport type { Player } from \"../../../schemas/player/player.schema\";\nimport { GameHistoryRecordService } from \"../game-history/game-history-record.service\";\n\n@Injectable()\nexport class PlayerKillerService {\n public constructor(private readonly gameHistoryRecordService: GameHistoryRecordService) {}\n \n public async killOrRevealPlayer(playerId: Types.ObjectId, game: Game, death: PlayerDeath): Promise {\n const clonedGame = cloneDeep(game);\n const playerToKill = this.getPlayerToKillInGame(playerId, clonedGame);\n if (await this.isPlayerKillable(playerToKill, clonedGame, death.cause)) {\n return this.killPlayer(playerToKill, clonedGame, death);\n }\n if (this.doesPlayerRoleMustBeRevealed(playerToKill, death)) {\n return this.revealPlayerRole(playerToKill, clonedGame);\n }\n return clonedGame;\n }\n\n public async isAncientKillable(game: Game, cause: PLAYER_DEATH_CAUSES): Promise {\n if (cause !== PLAYER_DEATH_CAUSES.EATEN) {\n return true;\n }\n const ancientLivesCountAgainstWerewolves = await this.getAncientLivesCountAgainstWerewolves(game);\n return ancientLivesCountAgainstWerewolves - 1 <= 0;\n }\n\n private applyPlayerRoleRevelationOutcomes(revealedPlayer: Player, game: Game): Game {\n const clonedGame = cloneDeep(game);\n if (revealedPlayer.role.current === ROLE_NAMES.IDIOT) {\n return addPlayerAttributeInGame(revealedPlayer._id, clonedGame, createCantVoteByAllPlayerAttribute());\n }\n return clonedGame;\n }\n\n private revealPlayerRole(playerToReveal: Player, game: Game): Game {\n let clonedGame = cloneDeep(game);\n let clonedPlayerToReveal = cloneDeep(playerToReveal);\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"revealPlayerRole\", { gameId: game._id, playerId: playerToReveal._id });\n clonedPlayerToReveal.role.isRevealed = true;\n clonedGame = updatePlayerInGame(playerToReveal._id, clonedPlayerToReveal, clonedGame);\n clonedPlayerToReveal = getPlayerWithIdOrThrow(playerToReveal._id, clonedGame, cantFindPlayerException);\n return this.applyPlayerRoleRevelationOutcomes(clonedPlayerToReveal, clonedGame);\n }\n\n private doesPlayerRoleMustBeRevealed(playerToReveal: Player, death: PlayerDeath): boolean {\n return !playerToReveal.role.isRevealed && playerToReveal.role.current === ROLE_NAMES.IDIOT && !doesPlayerHaveAttribute(playerToReveal, PLAYER_ATTRIBUTE_NAMES.POWERLESS) &&\n death.cause === PLAYER_DEATH_CAUSES.VOTE;\n }\n\n private async getAncientLivesCountAgainstWerewolves(game: Game): Promise {\n const { livesCountAgainstWerewolves } = game.options.roles.ancient;\n const werewolvesEatAncientRecords = await this.gameHistoryRecordService.getGameHistoryWerewolvesEatAncientRecords(game._id);\n const ancientProtectedFromWerewolvesRecords = await this.gameHistoryRecordService.getGameHistoryAncientProtectedFromWerewolvesRecords(game._id);\n return werewolvesEatAncientRecords.reduce((acc, werewolvesEatAncientRecord) => {\n const wasAncientProtectedFromWerewolves = !!ancientProtectedFromWerewolvesRecords.find(({ turn }) => turn === werewolvesEatAncientRecord.turn);\n if (!wasAncientProtectedFromWerewolves) {\n return acc - 1;\n }\n return acc;\n }, livesCountAgainstWerewolves);\n }\n\n private isIdiotKillable(idiotPlayer: Player, cause: PLAYER_DEATH_CAUSES): boolean {\n const isIdiotPowerless = doesPlayerHaveAttribute(idiotPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS);\n return idiotPlayer.role.isRevealed || cause !== PLAYER_DEATH_CAUSES.VOTE || isIdiotPowerless;\n }\n\n private canPlayerBeEaten(eatenPlayer: Player, game: Game): boolean {\n const { isProtectedByGuard: isLittleGirlProtectedByGuard } = game.options.roles.littleGirl;\n const isPlayerSavedByWitch = doesPlayerHaveAttribute(eatenPlayer, PLAYER_ATTRIBUTE_NAMES.DRANK_LIFE_POTION);\n const isPlayerProtectedByGuard = doesPlayerHaveAttribute(eatenPlayer, PLAYER_ATTRIBUTE_NAMES.PROTECTED);\n return !isPlayerSavedByWitch && (!isPlayerProtectedByGuard || eatenPlayer.role.current === ROLE_NAMES.LITTLE_GIRL && !isLittleGirlProtectedByGuard);\n }\n\n private async isPlayerKillable(player: Player, game: Game, cause: PLAYER_DEATH_CAUSES): Promise {\n if (cause === PLAYER_DEATH_CAUSES.EATEN && !this.canPlayerBeEaten(player, game)) {\n return false;\n }\n if (player.role.current === ROLE_NAMES.IDIOT) {\n return this.isIdiotKillable(player, cause);\n }\n if (player.role.current === ROLE_NAMES.ANCIENT) {\n return this.isAncientKillable(game, cause);\n }\n return true;\n }\n\n private applyWorshipedPlayerDeathOutcomes(killedPlayer: Player, game: Game): Game {\n const clonedGame = cloneDeep(game);\n const wildChildPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.WILD_CHILD);\n if (!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.WORSHIPED) ||\n wildChildPlayer === undefined || !wildChildPlayer.isAlive || doesPlayerHaveAttribute(wildChildPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) {\n return clonedGame;\n }\n wildChildPlayer.side.current = ROLE_SIDES.WEREWOLVES;\n return updatePlayerInGame(wildChildPlayer._id, wildChildPlayer, clonedGame);\n }\n\n private applyInLovePlayerDeathOutcomes(killedPlayer: Player, game: Game): Game {\n const clonedGame = cloneDeep(game);\n const otherLoverFinder = (player: Player): boolean => doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.IN_LOVE) && player.isAlive && player._id !== killedPlayer._id;\n const otherPlayerInLove = clonedGame.players.find(otherLoverFinder);\n if (!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.IN_LOVE) || !otherPlayerInLove) {\n return clonedGame;\n }\n return this.killPlayer(otherPlayerInLove, clonedGame, createPlayerBrokenHeartByCupidDeath());\n }\n\n private applySheriffPlayerDeathOutcomes(killedPlayer: Player, game: Game): Game {\n const clonedGame = cloneDeep(game);\n if (!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.SHERIFF) ||\n killedPlayer.role.current === ROLE_NAMES.IDIOT && !doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) {\n return clonedGame;\n }\n return prependUpcomingPlayInGame(createGamePlaySheriffDelegates(), clonedGame);\n }\n\n private applyPlayerAttributesDeathOutcomes(killedPlayer: Player, game: Game): Game {\n let clonedGame = cloneDeep(game);\n let clonedKilledPlayer = cloneDeep(killedPlayer);\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"applyPlayerAttributesDeathOutcomes\", { gameId: game._id, playerId: killedPlayer._id });\n if (doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.SHERIFF)) {\n clonedGame = this.applySheriffPlayerDeathOutcomes(clonedKilledPlayer, clonedGame);\n clonedKilledPlayer = getPlayerWithIdOrThrow(clonedKilledPlayer._id, clonedGame, cantFindPlayerException);\n }\n if (doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.IN_LOVE)) {\n clonedGame = this.applyInLovePlayerDeathOutcomes(clonedKilledPlayer, clonedGame);\n clonedKilledPlayer = getPlayerWithIdOrThrow(clonedKilledPlayer._id, clonedGame, cantFindPlayerException);\n }\n if (doesPlayerHaveAttribute(clonedKilledPlayer, PLAYER_ATTRIBUTE_NAMES.WORSHIPED)) {\n clonedGame = this.applyWorshipedPlayerDeathOutcomes(clonedKilledPlayer, clonedGame);\n }\n return clonedGame;\n }\n\n private applyRustySwordKnightDeathOutcomes(killedPlayer: Player, game: Game, death: PlayerDeath): Game {\n const clonedGame = cloneDeep(game);\n const leftAliveWerewolfNeighbor = getNearestAliveNeighbor(killedPlayer._id, clonedGame, { direction: \"left\", playerSide: ROLE_SIDES.WEREWOLVES });\n if (killedPlayer.role.current !== ROLE_NAMES.RUSTY_SWORD_KNIGHT || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS) ||\n death.cause !== PLAYER_DEATH_CAUSES.EATEN || !leftAliveWerewolfNeighbor) {\n return clonedGame;\n }\n return addPlayerAttributeInGame(leftAliveWerewolfNeighbor._id, clonedGame, createContaminatedByRustySwordKnightPlayerAttribute());\n }\n\n private applyScapegoatDeathOutcomes(killedPlayer: Player, game: Game, death: PlayerDeath): Game {\n const clonedGame = cloneDeep(game);\n if (killedPlayer.role.current !== ROLE_NAMES.SCAPEGOAT || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS) ||\n death.cause !== PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED) {\n return clonedGame;\n }\n return prependUpcomingPlayInGame(createGamePlayScapegoatBansVoting(), clonedGame);\n }\n\n private applyAncientDeathOutcomes(killedPlayer: Player, game: Game, death: PlayerDeath): Game {\n let clonedGame = cloneDeep(game);\n const ancientRevengeDeathCauses: PLAYER_DEATH_CAUSES[] = [PLAYER_DEATH_CAUSES.VOTE, PLAYER_DEATH_CAUSES.SHOT, PLAYER_DEATH_CAUSES.DEATH_POTION];\n const { idiot: idiotOptions, ancient: ancientOptions } = clonedGame.options.roles;\n if (killedPlayer.role.current !== ROLE_NAMES.ANCIENT || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) {\n return clonedGame;\n }\n if (ancientRevengeDeathCauses.includes(death.cause) && ancientOptions.doesTakeHisRevenge) {\n const aliveVillagerSidedPlayersIds = getAliveVillagerSidedPlayers(clonedGame.players).map(({ _id }) => _id);\n clonedGame = addPlayersAttributeInGame(aliveVillagerSidedPlayersIds, clonedGame, createPowerlessByAncientPlayerAttribute());\n }\n const idiotPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.IDIOT);\n if (idiotPlayer?.isAlive === true && idiotPlayer.role.isRevealed && idiotOptions.doesDieOnAncientDeath) {\n return this.killPlayer(idiotPlayer, clonedGame, createPlayerReconsiderPardonByAllDeath());\n }\n return clonedGame;\n }\n\n private applyHunterDeathOutcomes(killedPlayer: Player, game: Game): Game {\n const clonedGame = cloneDeep(game);\n if (killedPlayer.role.current !== ROLE_NAMES.HUNTER || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) {\n return clonedGame;\n }\n return prependUpcomingPlayInGame(createGamePlayHunterShoots(), clonedGame);\n }\n\n private applyPlayerRoleDeathOutcomes(killedPlayer: Player, game: Game, death: PlayerDeath): Game {\n const clonedGame = cloneDeep(game);\n if (killedPlayer.role.current === ROLE_NAMES.HUNTER) {\n return this.applyHunterDeathOutcomes(killedPlayer, clonedGame);\n }\n if (killedPlayer.role.current === ROLE_NAMES.ANCIENT) {\n return this.applyAncientDeathOutcomes(killedPlayer, clonedGame, death);\n }\n if (killedPlayer.role.current === ROLE_NAMES.SCAPEGOAT) {\n return this.applyScapegoatDeathOutcomes(killedPlayer, clonedGame, death);\n }\n if (killedPlayer.role.current === ROLE_NAMES.RUSTY_SWORD_KNIGHT) {\n return this.applyRustySwordKnightDeathOutcomes(killedPlayer, clonedGame, death);\n }\n return clonedGame;\n }\n\n private applyPlayerDeathOutcomes(killedPlayer: Player, game: Game, death: PlayerDeath): Game {\n let clonedGame = cloneDeep(game);\n let clonedPlayerToKill = cloneDeep(killedPlayer);\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"applyPlayerDeathOutcomes\", { gameId: game._id, playerId: killedPlayer._id });\n clonedGame = this.applyPlayerRoleDeathOutcomes(clonedPlayerToKill, clonedGame, death);\n clonedPlayerToKill = getPlayerWithIdOrThrow(clonedPlayerToKill._id, clonedGame, cantFindPlayerException);\n return this.applyPlayerAttributesDeathOutcomes(clonedPlayerToKill, clonedGame);\n }\n\n private killPlayer(playerToKill: Player, game: Game, death: PlayerDeath): Game {\n let clonedGame = cloneDeep(game);\n let clonedPlayerToKill = cloneDeep(playerToKill);\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"killPlayer\", { gameId: game._id, playerId: playerToKill._id });\n clonedPlayerToKill.isAlive = false;\n clonedPlayerToKill.role.isRevealed = true;\n clonedPlayerToKill.death = createPlayerDeath(death);\n clonedGame = updatePlayerInGame(clonedPlayerToKill._id, clonedPlayerToKill, clonedGame);\n clonedPlayerToKill = getPlayerWithIdOrThrow(clonedPlayerToKill._id, clonedGame, cantFindPlayerException);\n clonedGame = this.applyPlayerDeathOutcomes(clonedPlayerToKill, clonedGame, death);\n clonedPlayerToKill = getPlayerWithIdOrThrow(clonedPlayerToKill._id, clonedGame, cantFindPlayerException);\n return updatePlayerInGame(clonedPlayerToKill._id, { attributes: [] }, clonedGame);\n }\n\n private getPlayerToKillInGame(playerId: Types.ObjectId, game: Game): Player {\n const exceptionInterpolations = { gameId: game._id, playerId };\n const playerToKill = getPlayerWithIdOrThrow(playerId, game, createCantFindPlayerUnexpectedException(\"getPlayerToKillInGame\", exceptionInterpolations));\n if (!playerToKill.isAlive) {\n throw createPlayerIsDeadUnexpectedException(\"getPlayerToKillInGame\", exceptionInterpolations);\n }\n return cloneDeep(playerToKill);\n }\n}" + "source": "import { Injectable } from \"@nestjs/common\";\nimport { cloneDeep } from \"lodash\";\nimport type { Types } from \"mongoose\";\nimport { createCantFindPlayerUnexpectedException, createPlayerIsDeadUnexpectedException } from \"../../../../../shared/exception/helpers/unexpected-exception.factory\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../../role/enums/role.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_DEATH_CAUSES } from \"../../../enums/player.enum\";\nimport { createGamePlayHunterShoots, createGamePlayScapegoatBansVoting, createGamePlaySheriffDelegates } from \"../../../helpers/game-play/game-play.factory\";\nimport { getAliveVillagerSidedPlayers, getNearestAliveNeighbor, getPlayerWithCurrentRole, getPlayerWithIdOrThrow } from \"../../../helpers/game.helper\";\nimport { addPlayerAttributeInGame, addPlayersAttributeInGame, prependUpcomingPlayInGame, updatePlayerInGame } from \"../../../helpers/game.mutator\";\nimport { createCantVoteByAllPlayerAttribute, createContaminatedByRustySwordKnightPlayerAttribute, createPowerlessByAncientPlayerAttribute } from \"../../../helpers/player/player-attribute/player-attribute.factory\";\nimport { createPlayerBrokenHeartByCupidDeath, createPlayerDeath, createPlayerReconsiderPardonByAllDeath } from \"../../../helpers/player/player-death/player-death.factory\";\nimport { doesPlayerHaveAttribute } from \"../../../helpers/player/player.helper\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { PlayerDeath } from \"../../../schemas/player/player-death.schema\";\nimport type { Player } from \"../../../schemas/player/player.schema\";\nimport { GameHistoryRecordService } from \"../game-history/game-history-record.service\";\n\n@Injectable()\nexport class PlayerKillerService {\n public constructor(private readonly gameHistoryRecordService: GameHistoryRecordService) {}\n \n public async killOrRevealPlayer(playerId: Types.ObjectId, game: Game, death: PlayerDeath): Promise {\n const clonedGame = cloneDeep(game);\n const playerToKill = this.getPlayerToKillInGame(playerId, clonedGame);\n if (await this.isPlayerKillable(playerToKill, clonedGame, death.cause)) {\n return this.killPlayer(playerToKill, clonedGame, death);\n }\n if (this.doesPlayerRoleMustBeRevealed(playerToKill, death)) {\n return this.revealPlayerRole(playerToKill, clonedGame);\n }\n return clonedGame;\n }\n\n public async isAncientKillable(game: Game, cause: PLAYER_DEATH_CAUSES): Promise {\n if (cause !== PLAYER_DEATH_CAUSES.EATEN) {\n return true;\n }\n const ancientLivesCountAgainstWerewolves = await this.getAncientLivesCountAgainstWerewolves(game);\n return ancientLivesCountAgainstWerewolves - 1 <= 0;\n }\n\n private applyPlayerRoleRevelationOutcomes(revealedPlayer: Player, game: Game): Game {\n const clonedGame = cloneDeep(game);\n if (revealedPlayer.role.current === ROLE_NAMES.IDIOT) {\n return addPlayerAttributeInGame(revealedPlayer._id, clonedGame, createCantVoteByAllPlayerAttribute());\n }\n return clonedGame;\n }\n\n private revealPlayerRole(playerToReveal: Player, game: Game): Game {\n let clonedGame = cloneDeep(game);\n let clonedPlayerToReveal = cloneDeep(playerToReveal);\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"revealPlayerRole\", { gameId: game._id, playerId: playerToReveal._id });\n clonedPlayerToReveal.role.isRevealed = true;\n clonedGame = updatePlayerInGame(playerToReveal._id, clonedPlayerToReveal, clonedGame);\n clonedPlayerToReveal = getPlayerWithIdOrThrow(playerToReveal._id, clonedGame, cantFindPlayerException);\n return this.applyPlayerRoleRevelationOutcomes(clonedPlayerToReveal, clonedGame);\n }\n\n private doesPlayerRoleMustBeRevealed(playerToReveal: Player, death: PlayerDeath): boolean {\n return !playerToReveal.role.isRevealed && playerToReveal.role.current === ROLE_NAMES.IDIOT && !doesPlayerHaveAttribute(playerToReveal, PLAYER_ATTRIBUTE_NAMES.POWERLESS) &&\n death.cause === PLAYER_DEATH_CAUSES.VOTE;\n }\n\n private removePlayerAttributesAfterDeath(player: Player): Player {\n const clonedPlayer = cloneDeep(player);\n clonedPlayer.attributes = clonedPlayer.attributes.filter(({ doesRemainAfterDeath }) => doesRemainAfterDeath === true);\n return clonedPlayer;\n }\n\n private async getAncientLivesCountAgainstWerewolves(game: Game): Promise {\n const { livesCountAgainstWerewolves } = game.options.roles.ancient;\n const werewolvesEatAncientRecords = await this.gameHistoryRecordService.getGameHistoryWerewolvesEatAncientRecords(game._id);\n const ancientProtectedFromWerewolvesRecords = await this.gameHistoryRecordService.getGameHistoryAncientProtectedFromWerewolvesRecords(game._id);\n return werewolvesEatAncientRecords.reduce((acc, werewolvesEatAncientRecord) => {\n const wasAncientProtectedFromWerewolves = !!ancientProtectedFromWerewolvesRecords.find(({ turn }) => turn === werewolvesEatAncientRecord.turn);\n if (!wasAncientProtectedFromWerewolves) {\n return acc - 1;\n }\n return acc;\n }, livesCountAgainstWerewolves);\n }\n\n private isIdiotKillable(idiotPlayer: Player, cause: PLAYER_DEATH_CAUSES): boolean {\n const isIdiotPowerless = doesPlayerHaveAttribute(idiotPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS);\n return idiotPlayer.role.isRevealed || cause !== PLAYER_DEATH_CAUSES.VOTE || isIdiotPowerless;\n }\n\n private canPlayerBeEaten(eatenPlayer: Player, game: Game): boolean {\n const { isProtectedByGuard: isLittleGirlProtectedByGuard } = game.options.roles.littleGirl;\n const isPlayerSavedByWitch = doesPlayerHaveAttribute(eatenPlayer, PLAYER_ATTRIBUTE_NAMES.DRANK_LIFE_POTION);\n const isPlayerProtectedByGuard = doesPlayerHaveAttribute(eatenPlayer, PLAYER_ATTRIBUTE_NAMES.PROTECTED);\n return !isPlayerSavedByWitch && (!isPlayerProtectedByGuard || eatenPlayer.role.current === ROLE_NAMES.LITTLE_GIRL && !isLittleGirlProtectedByGuard);\n }\n\n private async isPlayerKillable(player: Player, game: Game, cause: PLAYER_DEATH_CAUSES): Promise {\n if (cause === PLAYER_DEATH_CAUSES.EATEN && !this.canPlayerBeEaten(player, game)) {\n return false;\n }\n if (player.role.current === ROLE_NAMES.IDIOT) {\n return this.isIdiotKillable(player, cause);\n }\n if (player.role.current === ROLE_NAMES.ANCIENT) {\n return this.isAncientKillable(game, cause);\n }\n return true;\n }\n\n private applyWorshipedPlayerDeathOutcomes(killedPlayer: Player, game: Game): Game {\n const clonedGame = cloneDeep(game);\n const wildChildPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.WILD_CHILD);\n if (!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.WORSHIPED) ||\n wildChildPlayer === undefined || !wildChildPlayer.isAlive || doesPlayerHaveAttribute(wildChildPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) {\n return clonedGame;\n }\n wildChildPlayer.side.current = ROLE_SIDES.WEREWOLVES;\n return updatePlayerInGame(wildChildPlayer._id, wildChildPlayer, clonedGame);\n }\n\n private applyInLovePlayerDeathOutcomes(killedPlayer: Player, game: Game): Game {\n const clonedGame = cloneDeep(game);\n const otherLoverFinder = (player: Player): boolean => doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.IN_LOVE) && player.isAlive && player._id !== killedPlayer._id;\n const otherPlayerInLove = clonedGame.players.find(otherLoverFinder);\n if (!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.IN_LOVE) || !otherPlayerInLove) {\n return clonedGame;\n }\n return this.killPlayer(otherPlayerInLove, clonedGame, createPlayerBrokenHeartByCupidDeath());\n }\n\n private applySheriffPlayerDeathOutcomes(killedPlayer: Player, game: Game): Game {\n const clonedGame = cloneDeep(game);\n if (!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.SHERIFF) ||\n killedPlayer.role.current === ROLE_NAMES.IDIOT && !doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) {\n return clonedGame;\n }\n return prependUpcomingPlayInGame(createGamePlaySheriffDelegates(), clonedGame);\n }\n\n private applyPlayerAttributesDeathOutcomes(killedPlayer: Player, game: Game): Game {\n let clonedGame = cloneDeep(game);\n let clonedKilledPlayer = cloneDeep(killedPlayer);\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"applyPlayerAttributesDeathOutcomes\", { gameId: game._id, playerId: killedPlayer._id });\n if (doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.SHERIFF)) {\n clonedGame = this.applySheriffPlayerDeathOutcomes(clonedKilledPlayer, clonedGame);\n clonedKilledPlayer = getPlayerWithIdOrThrow(clonedKilledPlayer._id, clonedGame, cantFindPlayerException);\n }\n if (doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.IN_LOVE)) {\n clonedGame = this.applyInLovePlayerDeathOutcomes(clonedKilledPlayer, clonedGame);\n clonedKilledPlayer = getPlayerWithIdOrThrow(clonedKilledPlayer._id, clonedGame, cantFindPlayerException);\n }\n if (doesPlayerHaveAttribute(clonedKilledPlayer, PLAYER_ATTRIBUTE_NAMES.WORSHIPED)) {\n clonedGame = this.applyWorshipedPlayerDeathOutcomes(clonedKilledPlayer, clonedGame);\n }\n return clonedGame;\n }\n\n private applyRustySwordKnightDeathOutcomes(killedPlayer: Player, game: Game, death: PlayerDeath): Game {\n const clonedGame = cloneDeep(game);\n const leftAliveWerewolfNeighbor = getNearestAliveNeighbor(killedPlayer._id, clonedGame, { direction: \"left\", playerSide: ROLE_SIDES.WEREWOLVES });\n if (killedPlayer.role.current !== ROLE_NAMES.RUSTY_SWORD_KNIGHT || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS) ||\n death.cause !== PLAYER_DEATH_CAUSES.EATEN || !leftAliveWerewolfNeighbor) {\n return clonedGame;\n }\n return addPlayerAttributeInGame(leftAliveWerewolfNeighbor._id, clonedGame, createContaminatedByRustySwordKnightPlayerAttribute());\n }\n\n private applyScapegoatDeathOutcomes(killedPlayer: Player, game: Game, death: PlayerDeath): Game {\n const clonedGame = cloneDeep(game);\n if (killedPlayer.role.current !== ROLE_NAMES.SCAPEGOAT || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS) ||\n death.cause !== PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED) {\n return clonedGame;\n }\n return prependUpcomingPlayInGame(createGamePlayScapegoatBansVoting(), clonedGame);\n }\n\n private applyAncientDeathOutcomes(killedPlayer: Player, game: Game, death: PlayerDeath): Game {\n let clonedGame = cloneDeep(game);\n const ancientRevengeDeathCauses: PLAYER_DEATH_CAUSES[] = [PLAYER_DEATH_CAUSES.VOTE, PLAYER_DEATH_CAUSES.SHOT, PLAYER_DEATH_CAUSES.DEATH_POTION];\n const { idiot: idiotOptions, ancient: ancientOptions } = clonedGame.options.roles;\n if (killedPlayer.role.current !== ROLE_NAMES.ANCIENT || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) {\n return clonedGame;\n }\n if (ancientRevengeDeathCauses.includes(death.cause) && ancientOptions.doesTakeHisRevenge) {\n const aliveVillagerSidedPlayersIds = getAliveVillagerSidedPlayers(clonedGame.players).map(({ _id }) => _id);\n clonedGame = addPlayersAttributeInGame(aliveVillagerSidedPlayersIds, clonedGame, createPowerlessByAncientPlayerAttribute());\n }\n const idiotPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.IDIOT);\n if (idiotPlayer?.isAlive === true && idiotPlayer.role.isRevealed && idiotOptions.doesDieOnAncientDeath) {\n return this.killPlayer(idiotPlayer, clonedGame, createPlayerReconsiderPardonByAllDeath());\n }\n return clonedGame;\n }\n\n private applyHunterDeathOutcomes(killedPlayer: Player, game: Game): Game {\n const clonedGame = cloneDeep(game);\n if (killedPlayer.role.current !== ROLE_NAMES.HUNTER || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) {\n return clonedGame;\n }\n return prependUpcomingPlayInGame(createGamePlayHunterShoots(), clonedGame);\n }\n\n private applyPlayerRoleDeathOutcomes(killedPlayer: Player, game: Game, death: PlayerDeath): Game {\n const clonedGame = cloneDeep(game);\n if (killedPlayer.role.current === ROLE_NAMES.HUNTER) {\n return this.applyHunterDeathOutcomes(killedPlayer, clonedGame);\n }\n if (killedPlayer.role.current === ROLE_NAMES.ANCIENT) {\n return this.applyAncientDeathOutcomes(killedPlayer, clonedGame, death);\n }\n if (killedPlayer.role.current === ROLE_NAMES.SCAPEGOAT) {\n return this.applyScapegoatDeathOutcomes(killedPlayer, clonedGame, death);\n }\n if (killedPlayer.role.current === ROLE_NAMES.RUSTY_SWORD_KNIGHT) {\n return this.applyRustySwordKnightDeathOutcomes(killedPlayer, clonedGame, death);\n }\n return clonedGame;\n }\n\n private applyPlayerDeathOutcomes(killedPlayer: Player, game: Game, death: PlayerDeath): Game {\n let clonedGame = cloneDeep(game);\n let clonedPlayerToKill = cloneDeep(killedPlayer);\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"applyPlayerDeathOutcomes\", { gameId: game._id, playerId: killedPlayer._id });\n clonedGame = this.applyPlayerRoleDeathOutcomes(clonedPlayerToKill, clonedGame, death);\n clonedPlayerToKill = getPlayerWithIdOrThrow(clonedPlayerToKill._id, clonedGame, cantFindPlayerException);\n return this.applyPlayerAttributesDeathOutcomes(clonedPlayerToKill, clonedGame);\n }\n\n private killPlayer(playerToKill: Player, game: Game, death: PlayerDeath): Game {\n let clonedGame = cloneDeep(game);\n let clonedPlayerToKill = cloneDeep(playerToKill);\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"killPlayer\", { gameId: game._id, playerId: playerToKill._id });\n clonedPlayerToKill.isAlive = false;\n clonedPlayerToKill.role.isRevealed = true;\n clonedPlayerToKill.death = createPlayerDeath(death);\n clonedGame = updatePlayerInGame(clonedPlayerToKill._id, clonedPlayerToKill, clonedGame);\n clonedPlayerToKill = getPlayerWithIdOrThrow(clonedPlayerToKill._id, clonedGame, cantFindPlayerException);\n clonedGame = this.applyPlayerDeathOutcomes(clonedPlayerToKill, clonedGame, death);\n clonedPlayerToKill = getPlayerWithIdOrThrow(clonedPlayerToKill._id, clonedGame, cantFindPlayerException);\n return updatePlayerInGame(clonedPlayerToKill._id, this.removePlayerAttributesAfterDeath(clonedPlayerToKill), clonedGame);\n }\n\n private getPlayerToKillInGame(playerId: Types.ObjectId, game: Game): Player {\n const exceptionInterpolations = { gameId: game._id, playerId };\n const playerToKill = getPlayerWithIdOrThrow(playerId, game, createCantFindPlayerUnexpectedException(\"getPlayerToKillInGame\", exceptionInterpolations));\n if (!playerToKill.isAlive) {\n throw createPlayerIsDeadUnexpectedException(\"getPlayerToKillInGame\", exceptionInterpolations);\n }\n return cloneDeep(playerToKill);\n }\n}" }, "src/modules/health/controllers/health.controller.ts": { "language": "typescript", "mutants": [ { - "id": "2293", + "id": "2354", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/health/controllers/health.controller.ts(21,26): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -74666,7 +76297,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "821" + "837" ], "location": { "end": { @@ -74680,7 +76311,7 @@ } }, { - "id": "2294", + "id": "2355", "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/sandbox8879245/tests/e2e/specs/modules/health/controllers/health.controller.e2e-spec.ts:36:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -74688,10 +76319,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "821" + "837" ], "coveredBy": [ - "821" + "837" ], "location": { "end": { @@ -74705,7 +76336,7 @@ } }, { - "id": "2295", + "id": "2356", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/health/controllers/health.controller.ts(22,37): error TS2322: Type 'undefined' is not assignable to type 'HealthIndicatorResult | PromiseLike'.\n", @@ -74713,7 +76344,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "821" + "837" ], "location": { "end": { @@ -74727,7 +76358,7 @@ } }, { - "id": "2296", + "id": "2357", "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/sandbox8879245/tests/e2e/specs/modules/health/controllers/health.controller.e2e-spec.ts:36:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -74735,10 +76366,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "821" + "837" ], "coveredBy": [ - "821" + "837" ], "location": { "end": { @@ -74758,7 +76389,7 @@ "language": "typescript", "mutants": [ { - "id": "2297", + "id": "2358", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/role/controllers/role.controller.ts(13,23): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -74766,7 +76397,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "822" + "838" ], "location": { "end": { @@ -74786,7 +76417,7 @@ "language": "typescript", "mutants": [ { - "id": "2298", + "id": "2359", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/role/helpers/role.helper.ts(5,61): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -74794,8 +76425,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", @@ -74807,8 +76437,9 @@ "589", "590", "591", - "819", - "820" + "592", + "835", + "836" ], "location": { "end": { @@ -74822,7 +76453,7 @@ } }, { - "id": "2299", + "id": "2360", "mutatorName": "MethodExpression", "replacement": "roles", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:36:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74830,11 +76461,10 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", @@ -74846,8 +76476,9 @@ "589", "590", "591", - "819", - "820" + "592", + "835", + "836" ], "location": { "end": { @@ -74861,7 +76492,7 @@ } }, { - "id": "2300", + "id": "2361", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"witch\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"pied-piper\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:66:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74869,11 +76500,10 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "587" + "588" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", @@ -74885,8 +76515,9 @@ "589", "590", "591", - "819", - "820" + "592", + "835", + "836" ], "location": { "end": { @@ -74900,7 +76531,7 @@ } }, { - "id": "2301", + "id": "2362", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:39:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74908,22 +76539,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "581" + "582" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", + "585", "588", "589", "590", "591", - "819", - "820" + "592", + "835", + "836" ], "location": { "end": { @@ -74937,7 +76568,7 @@ } }, { - "id": "2302", + "id": "2363", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"witch\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"pied-piper\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:66:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74945,22 +76576,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "587" + "588" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", + "585", "588", "589", "590", "591", - "819", - "820" + "592", + "835", + "836" ], "location": { "end": { @@ -74974,7 +76605,7 @@ } }, { - "id": "2303", + "id": "2364", "mutatorName": "EqualityOperator", "replacement": "role.side !== side", "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"witch\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"pied-piper\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"name\": \"villager\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:66:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74982,22 +76613,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "587" + "588" ], "coveredBy": [ - "439", - "580", + "440", "581", "582", "583", "584", - "587", + "585", "588", "589", "590", "591", - "819", - "820" + "592", + "835", + "836" ], "location": { "end": { @@ -75017,7 +76648,7 @@ "language": "typescript", "mutants": [ { - "id": "2304", + "id": "2365", "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", @@ -75025,7 +76656,6 @@ "static": true, "killedBy": [], "coveredBy": [ - "428", "429", "430", "431", @@ -75066,10 +76696,11 @@ "466", "467", "468", - "821", - "822", - "840", - "862" + "469", + "837", + "838", + "856", + "878" ], "location": { "end": { @@ -75083,7 +76714,7 @@ } }, { - "id": "2305", + "id": "2366", "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:160:60\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -75091,10 +76722,9 @@ "testsCompleted": 45, "static": true, "killedBy": [ - "432" + "433" ], "coveredBy": [ - "428", "429", "430", "431", @@ -75135,10 +76765,11 @@ "466", "467", "468", - "821", - "822", - "840", - "862" + "469", + "837", + "838", + "856", + "878" ], "location": { "end": { @@ -75158,7 +76789,7 @@ "language": "typescript", "mutants": [ { - "id": "2306", + "id": "2367", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/server/server.ts(10,40): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -75166,12 +76797,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "747", - "748", - "749", - "750", - "751", - "752" + "757", + "758", + "759", + "760", + "761", + "762" ], "location": { "end": { @@ -75185,7 +76816,7 @@ } }, { - "id": "2307", + "id": "2368", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"📖 API Documentation is available at http://127.0.0.1:4500/docs\", \"NestApplication\"\nReceived\n 1: \"🐺 App is available at http://127.0.0.1:4500\", \"NestApplication\"\n 2: \"📖 API Documentation is available at http://127.0.0.1:4500/\", \"NestApplication\"\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/server/server.spec.ts:109:42)", @@ -75193,15 +76824,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "752" + "762" ], "coveredBy": [ - "747", - "748", - "749", - "750", - "751", - "752" + "757", + "758", + "759", + "760", + "761", + "762" ], "location": { "end": { @@ -75215,7 +76846,7 @@ } }, { - "id": "2308", + "id": "2369", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/server/server.ts(15,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", @@ -75223,12 +76854,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "747", - "748", - "749", - "750", - "751", - "752" + "757", + "758", + "759", + "760", + "761", + "762" ], "location": { "end": { @@ -75242,7 +76873,7 @@ } }, { - "id": "2309", + "id": "2370", "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/sandbox7729612/public\"}], but it was called with {\"prefix\": \"/public/\", \"root\": \"\"}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/server/server.spec.ts:97:70)", @@ -75250,15 +76881,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "751" + "761" ], "coveredBy": [ - "747", - "748", - "749", - "750", - "751", - "752" + "757", + "758", + "759", + "760", + "761", + "762" ], "location": { "end": { @@ -75272,7 +76903,7 @@ } }, { - "id": "2310", + "id": "2371", "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/sandbox7729612/public\"}], but it was called with {\"prefix\": \"\", \"root\": \"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/public\"}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/server/server.spec.ts:97:70)", @@ -75280,15 +76911,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "751" + "761" ], "coveredBy": [ - "747", - "748", - "749", - "750", - "751", - "752" + "757", + "758", + "759", + "760", + "761", + "762" ], "location": { "end": { @@ -75302,7 +76933,7 @@ } }, { - "id": "2311", + "id": "2372", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [3000, \"127.0.0.1\"], but it was called with 3000\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/server/server.spec.ts:72:61)", @@ -75310,15 +76941,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "748" + "758" ], "coveredBy": [ - "747", - "748", - "749", - "750", - "751", - "752" + "757", + "758", + "759", + "760", + "761", + "762" ], "location": { "end": { @@ -75332,7 +76963,7 @@ } }, { - "id": "2312", + "id": "2373", "mutatorName": "StringLiteral", "replacement": "``", "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"🐺 App is available at http://127.0.0.1:4500\", \"NestApplication\"\nReceived\n 1: \"\", \"NestApplication\"\n 2: \"📖 API Documentation is available at http://127.0.0.1:4500/docs\", \"NestApplication\"\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/server/server.spec.ts:108:42)", @@ -75340,15 +76971,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "752" + "762" ], "coveredBy": [ - "747", - "748", - "749", - "750", - "751", - "752" + "757", + "758", + "759", + "760", + "761", + "762" ], "location": { "end": { @@ -75362,7 +76993,7 @@ } }, { - "id": "2313", + "id": "2374", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"🐺 App is available at http://127.0.0.1:4500\", \"NestApplication\"\nReceived\n 1: \"🐺 App is available at http://127.0.0.1:4500\", \"\"\n 2: \"📖 API Documentation is available at http://127.0.0.1:4500/docs\", \"NestApplication\"\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/server/server.spec.ts:108:42)", @@ -75370,15 +77001,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "752" + "762" ], "coveredBy": [ - "747", - "748", - "749", - "750", - "751", - "752" + "757", + "758", + "759", + "760", + "761", + "762" ], "location": { "end": { @@ -75392,7 +77023,7 @@ } }, { - "id": "2314", + "id": "2375", "mutatorName": "StringLiteral", "replacement": "``", "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"📖 API Documentation is available at http://127.0.0.1:4500/docs\", \"NestApplication\"\nReceived\n 1: \"🐺 App is available at http://127.0.0.1:4500\", \"NestApplication\"\n 2: \"\", \"NestApplication\"\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/server/server.spec.ts:109:42)", @@ -75400,15 +77031,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "752" + "762" ], "coveredBy": [ - "747", - "748", - "749", - "750", - "751", - "752" + "757", + "758", + "759", + "760", + "761", + "762" ], "location": { "end": { @@ -75422,7 +77053,7 @@ } }, { - "id": "2315", + "id": "2376", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"📖 API Documentation is available at http://127.0.0.1:4500/docs\", \"NestApplication\"\nReceived\n 1: \"🐺 App is available at http://127.0.0.1:4500\", \"NestApplication\"\n 2: \"📖 API Documentation is available at http://127.0.0.1:4500/docs\", \"\"\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/server/server.spec.ts:109:42)", @@ -75430,15 +77061,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "752" + "762" ], "coveredBy": [ - "747", - "748", - "749", - "750", - "751", - "752" + "757", + "758", + "759", + "760", + "761", + "762" ], "location": { "end": { @@ -75458,7 +77089,7 @@ "language": "typescript", "mutants": [ { - "id": "2316", + "id": "2377", "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/sandbox7729612/tests/unit/specs/server/swagger/swagger.spec.ts:48:46)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75466,12 +77097,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "753" + "763" ], "coveredBy": [ - "753", - "754", - "755" + "763", + "764", + "765" ], "location": { "end": { @@ -75485,7 +77116,7 @@ } }, { - "id": "2317", + "id": "2378", "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/sandbox7729612/tests/unit/specs/server/swagger/swagger.spec.ts:48:46)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75493,12 +77124,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "753" + "763" ], "coveredBy": [ - "753", - "754", - "755" + "763", + "764", + "765" ], "location": { "end": { @@ -75512,7 +77143,7 @@ } }, { - "id": "2318", + "id": "2379", "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", @@ -75520,9 +77151,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "753", - "754", - "755" + "763", + "764", + "765" ], "location": { "end": { @@ -75536,7 +77167,7 @@ } }, { - "id": "2319", + "id": "2380", "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/sandbox7729612/tests/unit/specs/server/swagger/swagger.spec.ts:61:48)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75544,10 +77175,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "764" ], "coveredBy": [ - "754" + "764" ], "location": { "end": { @@ -75561,7 +77192,7 @@ } }, { - "id": "2320", + "id": "2381", "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/sandbox7729612/tests/unit/specs/server/swagger/swagger.spec.ts:49:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75569,12 +77200,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "753" + "763" ], "coveredBy": [ - "753", - "754", - "755" + "763", + "764", + "765" ], "location": { "end": { @@ -75588,7 +77219,7 @@ } }, { - "id": "2321", + "id": "2382", "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/sandbox8879245/tests/unit/specs/server/swagger/swagger.spec.ts:76:41)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75596,12 +77227,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "755" + "765" ], "coveredBy": [ - "753", - "754", - "755" + "763", + "764", + "765" ], "location": { "end": { @@ -75615,7 +77246,7 @@ } }, { - "id": "2322", + "id": "2383", "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/sandbox8879245/tests/unit/specs/server/swagger/swagger.spec.ts:76:41)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75623,12 +77254,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "755" + "765" ], "coveredBy": [ - "753", - "754", - "755" + "763", + "764", + "765" ], "location": { "end": { @@ -75642,7 +77273,7 @@ } }, { - "id": "2323", + "id": "2384", "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/sandbox8879245/tests/unit/specs/server/swagger/swagger.spec.ts:76:41)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75650,12 +77281,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "755" + "765" ], "coveredBy": [ - "753", - "754", - "755" + "763", + "764", + "765" ], "location": { "end": { @@ -75675,81 +77306,7 @@ "language": "typescript", "mutants": [ { - "id": "2324", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/shared/api/helpers/api.helper.ts(3,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": [ - "441", - "458", - "459", - "462", - "464", - "465", - "803", - "829", - "830", - "831", - "832", - "842", - "843", - "844", - "845", - "846" - ], - "location": { - "end": { - "column": 2, - "line": 12 - }, - "start": { - "column": 67, - "line": 3 - } - } - }, - { - "id": "2325", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/shared/api/helpers/api.helper.ts(4,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": [ - "441", - "458", - "459", - "462", - "464", - "465", - "803", - "829", - "830", - "831", - "832", - "842", - "843", - "844", - "845", - "846" - ], - "location": { - "end": { - "column": 4, - "line": 10 - }, - "start": { - "column": 64, - "line": 4 - } - } - }, - { - "id": "2326", + "id": "2387", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"Game with id \\\"47e26f0dbf0e85bb4249328c\\\" not found\"\nReceived: \" with id \\\"47e26f0dbf0e85bb4249328c\\\" not found\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:241:58)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -75757,25 +77314,25 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "441" + "442" ], "coveredBy": [ - "441", - "458", + "442", "459", - "462", - "464", + "460", + "463", "465", - "803", - "829", - "830", - "831", - "832", - "842", - "843", - "844", + "466", + "819", "845", - "846" + "846", + "847", + "848", + "858", + "859", + "860", + "861", + "862" ], "location": { "end": { @@ -75789,7 +77346,7 @@ } }, { - "id": "2327", + "id": "2388", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n \"error\": undefined,\n- \"message\": \"Player with id \\\"123\\\" not found\",\n+ \"message\": \" with id \\\"123\\\" not found\",\n \"statusCode\": 404,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8606425/tests/unit/specs/shared/exception/types/resource-not-found-exception.type.spec.ts:12:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75797,25 +77354,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "829" + "845" ], "coveredBy": [ - "441", - "458", + "442", "459", - "462", - "464", + "460", + "463", "465", - "803", - "829", - "830", - "831", - "832", - "842", - "843", - "844", + "466", + "819", "845", - "846" + "846", + "847", + "848", + "858", + "859", + "860", + "861", + "862" ], "location": { "end": { @@ -75829,7 +77386,7 @@ } }, { - "id": "2328", + "id": "2389", "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/sandbox8879245/tests/unit/specs/shared/api/helpers/api.helper.spec.ts:13:49\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75837,25 +77394,25 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "844" + "860" ], "coveredBy": [ - "441", - "458", + "442", "459", - "462", - "464", + "460", + "463", "465", - "803", - "829", - "830", - "831", - "832", - "842", - "843", - "844", + "466", + "819", "845", - "846" + "846", + "847", + "848", + "858", + "859", + "860", + "861", + "862" ], "location": { "end": { @@ -75869,7 +77426,7 @@ } }, { - "id": "2329", + "id": "2390", "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/sandbox8879245/tests/unit/specs/shared/api/helpers/api.helper.spec.ts:13:49\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75877,25 +77434,25 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "845" + "861" ], "coveredBy": [ - "441", - "458", + "442", "459", - "462", - "464", + "460", + "463", "465", - "803", - "829", - "830", - "831", - "832", - "842", - "843", - "844", + "466", + "819", "845", - "846" + "846", + "847", + "848", + "858", + "859", + "860", + "861", + "862" ], "location": { "end": { @@ -75909,7 +77466,7 @@ } }, { - "id": "2330", + "id": "2391", "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/sandbox8606425/tests/unit/specs/shared/api/helpers/api.helper.spec.ts:13:49\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75917,34 +77474,106 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "846" + "862" + ], + "coveredBy": [ + "442", + "459", + "460", + "463", + "465", + "466", + "819", + "845", + "846", + "847", + "848", + "858", + "859", + "860", + "861", + "862" + ], + "location": { + "end": { + "column": 37, + "line": 9 + }, + "start": { + "column": 29, + "line": 9 + } + } + }, + { + "id": "2386", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/shared/api/helpers/api.helper.ts(4,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": [ + "442", + "459", + "460", + "463", + "465", + "466", + "819", + "845", + "846", + "847", + "848", + "858", + "859", + "860", + "861", + "862" ], + "location": { + "end": { + "column": 4, + "line": 10 + }, + "start": { + "column": 64, + "line": 4 + } + } + }, + { + "id": "2385", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/shared/api/helpers/api.helper.ts(3,60): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, "coveredBy": [ - "441", - "458", + "442", "459", - "462", - "464", + "460", + "463", "465", - "803", - "829", - "830", - "831", - "832", - "842", - "843", - "844", + "466", + "819", "845", - "846" + "846", + "847", + "848", + "858", + "859", + "860", + "861", + "862" ], "location": { "end": { - "column": 37, - "line": 9 + "column": 2, + "line": 12 }, "start": { - "column": 29, - "line": 9 + "column": 67, + "line": 3 } } } @@ -75955,7 +77584,7 @@ "language": "typescript", "mutants": [ { - "id": "2331", + "id": "2392", "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", @@ -75963,10 +77592,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", "441", "442", - "457", + "443", "458", "459", "460", @@ -75978,13 +77606,14 @@ "466", "467", "468", - "802", - "803", - "804", - "823", - "824", - "825", - "826" + "469", + "818", + "819", + "820", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -75998,7 +77627,7 @@ } }, { - "id": "2332", + "id": "2393", "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", @@ -76006,10 +77635,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", "441", "442", - "457", + "443", "458", "459", "460", @@ -76021,13 +77649,14 @@ "466", "467", "468", - "802", - "803", - "804", - "823", - "824", - "825", - "826" + "469", + "818", + "819", + "820", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -76041,7 +77670,7 @@ } }, { - "id": "2333", + "id": "2394", "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", @@ -76049,10 +77678,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", "441", "442", - "457", + "443", "458", "459", "460", @@ -76064,13 +77692,14 @@ "466", "467", "468", - "802", - "803", - "804", - "823", - "824", - "825", - "826" + "469", + "818", + "819", + "820", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -76084,7 +77713,7 @@ } }, { - "id": "2334", + "id": "2395", "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", @@ -76092,10 +77721,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", "441", "442", - "457", + "443", "458", "459", "460", @@ -76107,13 +77735,14 @@ "466", "467", "468", - "802", - "803", - "804", - "823", - "824", - "825", - "826" + "469", + "818", + "819", + "820", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -76127,7 +77756,7 @@ } }, { - "id": "2335", + "id": "2396", "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", @@ -76135,10 +77764,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", "441", "442", - "457", + "443", "458", "459", "460", @@ -76150,13 +77778,14 @@ "466", "467", "468", - "802", - "803", - "804", - "823", - "824", - "825", - "826" + "469", + "818", + "819", + "820", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -76170,7 +77799,7 @@ } }, { - "id": "2336", + "id": "2397", "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", @@ -76178,10 +77807,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", "441", "442", - "457", + "443", "458", "459", "460", @@ -76193,13 +77821,14 @@ "466", "467", "468", - "802", - "803", - "804", - "823", - "824", - "825", - "826" + "469", + "818", + "819", + "820", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -76213,7 +77842,7 @@ } }, { - "id": "2337", + "id": "2398", "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:240:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -76221,13 +77850,12 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "441" + "442" ], "coveredBy": [ - "440", "441", "442", - "457", + "443", "458", "459", "460", @@ -76239,13 +77867,14 @@ "466", "467", "468", - "802", - "803", - "804", - "823", - "824", - "825", - "826" + "469", + "818", + "819", + "820", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -76259,7 +77888,7 @@ } }, { - "id": "2338", + "id": "2399", "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", @@ -76267,10 +77896,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", "441", "442", - "457", + "443", "458", "459", "460", @@ -76282,13 +77910,14 @@ "466", "467", "468", - "802", - "803", - "804", - "823", - "824", - "825", - "826" + "469", + "818", + "819", + "820", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -76302,7 +77931,7 @@ } }, { - "id": "2339", + "id": "2400", "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", @@ -76310,10 +77939,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", "441", "442", - "457", + "443", "458", "459", "460", @@ -76325,13 +77953,14 @@ "466", "467", "468", - "802", - "803", - "804", - "823", - "824", - "825", - "826" + "469", + "818", + "819", + "820", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -76345,7 +77974,7 @@ } }, { - "id": "2340", + "id": "2401", "mutatorName": "BlockStatement", "replacement": "{}", "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/sandbox5090400/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:240:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -76353,25 +77982,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "441" + "442" ], "coveredBy": [ - "441", "442", - "458", + "443", "459", "460", - "462", + "461", "463", "464", "465", "466", "467", "468", - "803", - "804", - "823", - "824" + "469", + "819", + "820", + "839", + "840" ], "location": { "end": { @@ -76385,7 +78014,7 @@ } }, { - "id": "2341", + "id": "2402", "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:230:60)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -76393,15 +78022,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "440" + "441" ], "coveredBy": [ - "440", - "457", - "461", - "802", - "825", - "826" + "441", + "458", + "462", + "818", + "841", + "842" ], "location": { "end": { @@ -76421,7 +78050,7 @@ "language": "typescript", "mutants": [ { - "id": "2342", + "id": "2403", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/helpers/unexpected-exception.factory.ts(5,136): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -76435,13 +78064,12 @@ "227", "228", "236", - "276", "277", "278", "279", "280", - "303", - "516", + "281", + "304", "517", "518", "519", @@ -76453,7 +78081,8 @@ "525", "526", "527", - "805" + "528", + "821" ], "location": { "end": { @@ -76467,7 +78096,7 @@ } }, { - "id": "2343", + "id": "2404", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", @@ -76480,13 +78109,12 @@ "227", "228", "236", - "276", "277", "278", "279", "280", - "303", - "516", + "281", + "304", "517", "518", "519", @@ -76498,7 +78126,8 @@ "525", "526", "527", - "805" + "528", + "821" ], "location": { "end": { @@ -76512,7 +78141,7 @@ } }, { - "id": "2344", + "id": "2405", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/helpers/unexpected-exception.factory.ts(10,134): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -76520,7 +78149,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "806" + "822" ], "location": { "end": { @@ -76534,14 +78163,14 @@ } }, { - "id": "2345", + "id": "2406", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "806" + "822" ], "location": { "end": { @@ -76555,7 +78184,7 @@ } }, { - "id": "2346", + "id": "2407", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/helpers/unexpected-exception.factory.ts(15,73): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -76563,8 +78192,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "626", - "807" + "627", + "823" ], "location": { "end": { @@ -76584,7 +78213,7 @@ "language": "typescript", "mutants": [ { - "id": "2347", + "id": "2408", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/types/bad-game-play-payload-exception.type.ts(5,3): error TS2377: Constructors for derived classes must contain a 'super' call.\n", @@ -76592,8 +78221,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "466", - "841" + "467", + "857" ], "location": { "end": { @@ -76607,7 +78236,7 @@ } }, { - "id": "2348", + "id": "2409", "mutatorName": "StringLiteral", "replacement": "``", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n- \"message\": \"Bad game play payload\",\n+ \"message\": \"`votes` is required on this current game's state\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:644:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -76615,11 +78244,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "466" + "467" ], "coveredBy": [ - "466", - "841" + "467", + "857" ], "location": { "end": { @@ -76633,7 +78262,7 @@ } }, { - "id": "2349", + "id": "2410", "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:644:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -76641,11 +78270,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "466" + "467" ], "coveredBy": [ - "466", - "841" + "467", + "857" ], "location": { "end": { @@ -76665,7 +78294,7 @@ "language": "typescript", "mutants": [ { - "id": "2350", + "id": "2411", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/types/bad-resource-mutation-exception.type.ts(8,3): error TS2377: Constructors for derived classes must contain a 'super' call.\n", @@ -76673,9 +78302,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "459", - "831", - "832" + "460", + "847", + "848" ], "location": { "end": { @@ -76689,7 +78318,7 @@ } }, { - "id": "2351", + "id": "2412", "mutatorName": "StringLiteral", "replacement": "``", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 1\n\n Object {\n- \"error\": \"Game doesn't have status with value \\\"playing\\\"\",\n- \"message\": \"Bad mutation for Game with id \\\"30c3a0f183aeac7e09cbdfbf\\\"\",\n+ \"message\": \"Game doesn't have status with value \\\"playing\\\"\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:517:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -76697,12 +78326,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "459" + "460" ], "coveredBy": [ - "459", - "831", - "832" + "460", + "847", + "848" ], "location": { "end": { @@ -76716,7 +78345,7 @@ } }, { - "id": "2352", + "id": "2413", "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 \\\"3ed1971bd5a0cbec4caeae7d\\\"\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:517:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -76724,12 +78353,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "459" + "460" ], "coveredBy": [ - "459", - "831", - "832" + "460", + "847", + "848" ], "location": { "end": { @@ -76749,36 +78378,7 @@ "language": "typescript", "mutants": [ { - "id": "2353", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/shared/exception/types/resource-not-found-exception.type.ts(8,3): error TS2377: Constructors for derived classes must contain a 'super' call.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "441", - "458", - "462", - "464", - "465", - "803", - "829", - "830" - ], - "location": { - "end": { - "column": 4, - "line": 12 - }, - "start": { - "column": 96, - "line": 8 - } - } - }, - { - "id": "2354", + "id": "2415", "mutatorName": "StringLiteral", "replacement": "``", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 1\n\n Object {\n- \"error\": undefined,\n- \"message\": \"Player with id \\\"123\\\" not found\",\n+ \"message\": undefined,\n \"statusCode\": 404,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/shared/exception/types/resource-not-found-exception.type.spec.ts:12:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76786,17 +78386,17 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "829" + "845" ], "coveredBy": [ - "441", - "458", - "462", - "464", + "442", + "459", + "463", "465", - "803", - "829", - "830" + "466", + "819", + "845", + "846" ], "location": { "end": { @@ -76810,7 +78410,7 @@ } }, { - "id": "2355", + "id": "2416", "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 \\\"d57d4c4f4efdffacfdd4d4cd\\\" not found\",\n \"statusCode\": 404,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9325675/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:616:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -76818,17 +78418,17 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "465" + "466" ], "coveredBy": [ - "441", - "458", - "462", - "464", + "442", + "459", + "463", "465", - "803", - "829", - "830" + "466", + "819", + "845", + "846" ], "location": { "end": { @@ -76840,6 +78440,34 @@ "line": 11 } } + }, + { + "id": "2414", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/shared/exception/types/resource-not-found-exception.type.ts(8,3): error TS2377: Constructors for derived classes must contain a 'super' call.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "442", + "459", + "463", + "465", + "466", + "819", + "845", + "846" + ], + "location": { + "end": { + "column": 4, + "line": 12 + }, + "start": { + "column": 96, + "line": 8 + } + } } ], "source": "import { NotFoundException } from \"@nestjs/common\";\nimport { upperFirst } from \"lodash\";\nimport type { API_RESOURCES } from \"../../api/enums/api.enum\";\nimport { getResourceSingularForm } from \"../../api/helpers/api.helper\";\nimport type { RESOURCE_NOT_FOUND_REASONS } from \"../enums/resource-not-found-error.enum\";\n\nclass ResourceNotFoundException extends NotFoundException {\n public constructor(resource: API_RESOURCES, id: string, reason?: RESOURCE_NOT_FOUND_REASONS) {\n const resourceSingularForm = getResourceSingularForm(resource);\n const message = `${upperFirst(resourceSingularForm)} with id \"${id}\" not found`;\n super(message, { description: reason });\n }\n}\n\nexport { ResourceNotFoundException };" @@ -76848,7 +78476,7 @@ "language": "typescript", "mutants": [ { - "id": "2356", + "id": "2417", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/types/unexpected-exception.type.ts(7,3): error TS2377: Constructors for derived classes must contain a 'super' call.\n", @@ -76863,19 +78491,18 @@ "228", "235", "236", - "275", "276", "277", "278", "279", "280", - "300", + "281", "301", "302", "303", - "479", + "304", "480", - "516", + "481", "517", "518", "519", @@ -76887,12 +78514,13 @@ "525", "526", "527", - "626", - "805", - "806", - "807", - "827", - "828" + "528", + "627", + "821", + "822", + "823", + "843", + "844" ], "location": { "end": { @@ -76906,7 +78534,7 @@ } }, { - "id": "2357", + "id": "2418", "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 \\\"6fedc7f419f7bebaa661cbf1\\\" in game \\\"2a3fd6ae2a5239bccacfe3c1\\\"\",\n- \"message\": \"Unexpected exception in werewolvesEat\",\n+ \"message\": \"Can't find player with id \\\"6fedc7f419f7bebaa661cbf1\\\" in game \\\"2a3fd6ae2a5239bccacfe3c1\\\"\",\n \"statusCode\": 500,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7729612/tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts:11:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76914,7 +78542,7 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "805" + "821" ], "coveredBy": [ "199", @@ -76924,19 +78552,18 @@ "228", "235", "236", - "275", "276", "277", "278", "279", "280", - "300", + "281", "301", "302", "303", - "479", + "304", "480", - "516", + "481", "517", "518", "519", @@ -76948,12 +78575,13 @@ "525", "526", "527", - "626", - "805", - "806", - "807", - "827", - "828" + "528", + "627", + "821", + "822", + "823", + "843", + "844" ], "location": { "end": { @@ -76967,12 +78595,16 @@ } }, { - "id": "2358", + "id": "2419", "mutatorName": "ObjectLiteral", "replacement": "{}", - "status": "Timeout", + "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 \\\"e38a7d2bbf9edbbf8b5463bc\\\" in game \\\"fcbadabb9bc2971ef7190ffc\\\"\",\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/sandbox7987995/tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts:11:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 37, "static": false, - "killedBy": [], + "killedBy": [ + "821" + ], "coveredBy": [ "199", "200", @@ -76981,19 +78613,18 @@ "228", "235", "236", - "275", "276", "277", "278", "279", "280", - "300", + "281", "301", "302", "303", - "479", + "304", "480", - "516", + "481", "517", "518", "519", @@ -77005,12 +78636,13 @@ "525", "526", "527", - "626", - "805", - "806", - "807", - "827", - "828" + "528", + "627", + "821", + "822", + "823", + "843", + "844" ], "location": { "end": { @@ -77030,7 +78662,7 @@ "language": "typescript", "mutants": [ { - "id": "2359", + "id": "2420", "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", @@ -77038,7 +78670,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "398", "399", "400", "401", @@ -77068,10 +78699,11 @@ "425", "426", "427", - "854", - "855", - "856", - "857" + "428", + "870", + "871", + "872", + "873" ], "location": { "end": { @@ -77085,7 +78717,7 @@ } }, { - "id": "2360", + "id": "2421", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).rejects.toThrow()\n\nReceived promise resolved instead of rejected\nResolved to value: {\"_id\": \"6492e43f25a5354a9574ea2b\", \"createdAt\": 2023-06-21T11:51:27.910Z, \"gameId\": \"bbac76f798a9ff37279514a9\", \"phase\": \"night\", \"play\": {\"action\": \"charm\", \"source\": {\"name\": \"sheriff\", \"players\": []}}, \"tick\": 266767282733056, \"turn\": 4620825672024064, \"updatedAt\": 2023-06-21T11:51:27.910Z}\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:105:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5090400/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:95:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297: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:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77093,10 +78725,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "401" + "402" ], "coveredBy": [ - "398", "399", "400", "401", @@ -77126,10 +78757,11 @@ "425", "426", "427", - "854", - "855", - "856", - "857" + "428", + "870", + "871", + "872", + "873" ], "location": { "end": { @@ -77143,7 +78775,7 @@ } }, { - "id": "2361", + "id": "2422", "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/sandbox8879245/tests/unit/specs/shared/validation/helpers/validation.helper.spec.ts:6:46)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77151,10 +78783,9 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "854" + "870" ], "coveredBy": [ - "398", "399", "400", "401", @@ -77184,10 +78815,11 @@ "425", "426", "427", - "854", - "855", - "856", - "857" + "428", + "870", + "871", + "872", + "873" ], "location": { "end": { @@ -77201,14 +78833,13 @@ } }, { - "id": "2362", + "id": "2423", "mutatorName": "LogicalOperator", "replacement": "minItems === undefined || arrayMinSize(array, minItems) || maxItems === undefined || arrayMaxSize(array, maxItems)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "398", "399", "400", "401", @@ -77238,10 +78869,11 @@ "425", "426", "427", - "854", - "855", - "856", - "857" + "428", + "870", + "871", + "872", + "873" ], "location": { "end": { @@ -77255,14 +78887,13 @@ } }, { - "id": "2363", + "id": "2424", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "398", "399", "400", "401", @@ -77292,10 +78923,11 @@ "425", "426", "427", - "854", - "855", - "856", - "857" + "428", + "870", + "871", + "872", + "873" ], "location": { "end": { @@ -77309,7 +78941,7 @@ } }, { - "id": "2364", + "id": "2425", "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", @@ -77317,7 +78949,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "398", "399", "400", "401", @@ -77347,10 +78978,11 @@ "425", "426", "427", - "854", - "855", - "856", - "857" + "428", + "870", + "871", + "872", + "873" ], "location": { "end": { @@ -77364,7 +78996,7 @@ } }, { - "id": "2365", + "id": "2426", "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", @@ -77372,7 +79004,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "398", "399", "400", "401", @@ -77402,10 +79033,11 @@ "425", "426", "427", - "854", - "855", - "856", - "857" + "428", + "870", + "871", + "872", + "873" ], "location": { "end": { @@ -77419,7 +79051,7 @@ } }, { - "id": "2366", + "id": "2427", "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", @@ -77427,7 +79059,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "398", "399", "400", "401", @@ -77457,10 +79088,11 @@ "425", "426", "427", - "854", - "855", - "856", - "857" + "428", + "870", + "871", + "872", + "873" ], "location": { "end": { @@ -77474,7 +79106,7 @@ } }, { - "id": "2367", + "id": "2428", "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/sandbox8879245/tests/unit/specs/shared/validation/helpers/validation.helper.spec.ts:14:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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,11 +79114,10 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "856" + "872" ], "coveredBy": [ - "402", - "406", + "403", "407", "408", "409", @@ -77508,9 +79139,10 @@ "425", "426", "427", - "854", - "856", - "857" + "428", + "870", + "872", + "873" ], "location": { "end": { @@ -77524,7 +79156,7 @@ } }, { - "id": "2368", + "id": "2429", "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", @@ -77532,8 +79164,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "402", - "406", + "403", "407", "408", "409", @@ -77555,9 +79186,10 @@ "425", "426", "427", - "854", - "856", - "857" + "428", + "870", + "872", + "873" ], "location": { "end": { @@ -77571,7 +79203,7 @@ } }, { - "id": "2369", + "id": "2430", "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", @@ -77579,8 +79211,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "402", - "406", + "403", "407", "408", "409", @@ -77602,9 +79233,10 @@ "425", "426", "427", - "854", - "856", - "857" + "428", + "870", + "872", + "873" ], "location": { "end": { @@ -77618,7 +79250,7 @@ } }, { - "id": "2370", + "id": "2431", "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", @@ -77626,8 +79258,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "402", - "406", + "403", "407", "408", "409", @@ -77649,9 +79280,10 @@ "425", "426", "427", - "854", - "856", - "857" + "428", + "870", + "872", + "873" ], "location": { "end": { @@ -77671,7 +79303,7 @@ "language": "typescript", "mutants": [ { - "id": "2371", + "id": "2432", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/validation/transformers/validation.transformer.ts(3,51): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -77679,21 +79311,21 @@ "static": true, "killedBy": [], "coveredBy": [ - "439", - "598", + "440", "599", "600", "601", "602", "603", "604", - "847", - "848", - "849", - "850", - "851", - "852", - "853" + "605", + "863", + "864", + "865", + "866", + "867", + "868", + "869" ], "location": { "end": { @@ -77707,7 +79339,7 @@ } }, { - "id": "2372", + "id": "2433", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:167:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77715,24 +79347,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "599" + "600" ], "coveredBy": [ - "439", - "598", + "440", "599", "600", "601", "602", "603", "604", - "847", - "848", - "849", - "850", - "851", - "852", - "853" + "605", + "863", + "864", + "865", + "866", + "867", + "868", + "869" ], "location": { "end": { @@ -77746,7 +79378,7 @@ } }, { - "id": "2373", + "id": "2434", "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/sandbox8879245/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:15:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77754,24 +79386,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "847" + "863" ], "coveredBy": [ - "439", - "598", + "440", "599", "600", "601", "602", "603", "604", - "847", - "848", - "849", - "850", - "851", - "852", - "853" + "605", + "863", + "864", + "865", + "866", + "867", + "868", + "869" ], "location": { "end": { @@ -77785,7 +79417,7 @@ } }, { - "id": "2374", + "id": "2435", "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/sandbox8879245/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:167:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77793,24 +79425,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "599" + "600" ], "coveredBy": [ - "439", - "598", + "440", "599", "600", "601", "602", "603", "604", - "847", - "848", - "849", - "850", - "851", - "852", - "853" + "605", + "863", + "864", + "865", + "866", + "867", + "868", + "869" ], "location": { "end": { @@ -77824,7 +79456,7 @@ } }, { - "id": "2375", + "id": "2436", "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/sandbox8879245/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:15:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77832,24 +79464,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "847" + "863" ], "coveredBy": [ - "439", - "598", + "440", "599", "600", "601", "602", "603", "604", - "847", - "848", - "849", - "850", - "851", - "852", - "853" + "605", + "863", + "864", + "865", + "866", + "867", + "868", + "869" ], "location": { "end": { @@ -77863,7 +79495,7 @@ } }, { - "id": "2376", + "id": "2437", "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/sandbox8879245/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:15:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77871,10 +79503,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "847" + "863" ], "coveredBy": [ - "847" + "863" ], "location": { "end": { @@ -77888,7 +79520,7 @@ } }, { - "id": "2377", + "id": "2438", "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/sandbox8879245/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:15:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77896,10 +79528,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "847" + "863" ], "coveredBy": [ - "847" + "863" ], "location": { "end": { @@ -77913,27 +79545,27 @@ } }, { - "id": "2378", + "id": "2439", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": true, "killedBy": [], "coveredBy": [ - "439", - "598", + "440", "599", "600", "601", "602", "603", "604", - "848", - "849", - "850", - "851", - "852", - "853" + "605", + "864", + "865", + "866", + "867", + "868", + "869" ], "location": { "end": { @@ -77947,7 +79579,7 @@ } }, { - "id": "2379", + "id": "2440", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: \"false\"\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:15:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77955,23 +79587,23 @@ "testsCompleted": 14, "static": true, "killedBy": [ - "848" + "864" ], "coveredBy": [ - "439", - "598", + "440", "599", "600", "601", "602", "603", "604", - "848", - "849", - "850", - "851", - "852", - "853" + "605", + "864", + "865", + "866", + "867", + "868", + "869" ], "location": { "end": { @@ -77985,7 +79617,7 @@ } }, { - "id": "2380", + "id": "2441", "mutatorName": "EqualityOperator", "replacement": "value !== \"false\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: \"false\"\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8879245/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:15:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77993,23 +79625,23 @@ "testsCompleted": 14, "static": true, "killedBy": [ - "848" + "864" ], "coveredBy": [ - "439", - "598", + "440", "599", "600", "601", "602", "603", "604", - "848", - "849", - "850", - "851", - "852", - "853" + "605", + "864", + "865", + "866", + "867", + "868", + "869" ], "location": { "end": { @@ -78023,7 +79655,7 @@ } }, { - "id": "2381", + "id": "2442", "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:215:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -78031,23 +79663,23 @@ "testsCompleted": 14, "static": true, "killedBy": [ - "439" + "440" ], "coveredBy": [ - "439", - "598", + "440", "599", "600", "601", "602", "603", "604", - "848", - "849", - "850", - "851", - "852", - "853" + "605", + "864", + "865", + "866", + "867", + "868", + "869" ], "location": { "end": { @@ -78061,7 +79693,7 @@ } }, { - "id": "2382", + "id": "2443", "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/sandbox8879245/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:215:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -78069,11 +79701,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "439" + "440" ], "coveredBy": [ - "439", - "848" + "440", + "864" ], "location": { "end": { @@ -78087,7 +79719,7 @@ } }, { - "id": "2383", + "id": "2444", "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/sandbox8879245/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:15:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:79:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:293:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:226:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:297:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:233:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:135:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:130:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:68:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78095,11 +79727,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "848" + "864" ], "coveredBy": [ - "439", - "848" + "440", + "864" ], "location": { "end": { @@ -80391,7 +82023,7 @@ } } ], - "source": "import type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport type { MakeGamePlayVoteWithRelationsDto } from \"../../../../../../../../src/modules/game/dto/make-game-play/make-game-play-vote/make-game-play-vote-with-relations.dto\";\nimport { GAME_HISTORY_RECORD_VOTING_RESULTS } from \"../../../../../../../../src/modules/game/enums/game-history-record.enum\";\nimport { GAME_PLAY_CAUSES, WITCH_POTIONS } from \"../../../../../../../../src/modules/game/enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport * as GameMutator from \"../../../../../../../../src/modules/game/helpers/game.mutator\";\nimport { GameHistoryRecordService } from \"../../../../../../../../src/modules/game/providers/services/game-history/game-history-record.service\";\nimport { GamePlaysMakerService } from \"../../../../../../../../src/modules/game/providers/services/game-play/game-plays-maker.service\";\nimport { PlayerKillerService } from \"../../../../../../../../src/modules/game/providers/services/player/player-killer.service\";\nimport type { Game } from \"../../../../../../../../src/modules/game/schemas/game.schema\";\nimport type { Player } from \"../../../../../../../../src/modules/game/schemas/player/player.schema\";\nimport type { PlayerVoteCount } from \"../../../../../../../../src/modules/game/types/game-play.type\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport { createFakeMakeGamePlayTargetWithRelationsDto } from \"../../../../../../../factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-target-with-relations.dto.factory\";\nimport { createFakeMakeGamePlayVoteWithRelationsDto } from \"../../../../../../../factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-vote-with-relations.dto.factory\";\nimport { createFakeMakeGamePlayWithRelationsDto } from \"../../../../../../../factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-with-relations.dto.factory\";\nimport { bulkCreateFakeGameAdditionalCards, createFakeGameAdditionalCard } from \"../../../../../../../factories/game/schemas/game-additional-card/game-additional-card.schema.factory\";\nimport { createFakeGameHistoryRecord, createFakeGameHistoryRecordAllVotePlay } from \"../../../../../../../factories/game/schemas/game-history-record/game-history-record.schema.factory\";\nimport { createFakeGameOptions } from \"../../../../../../../factories/game/schemas/game-options/game-options.schema.factory\";\nimport { createFakeFoxGameOptions, createFakeRavenGameOptions, createFakeRolesGameOptions, createFakeSheriffGameOptions } from \"../../../../../../../factories/game/schemas/game-options/game-roles-options.schema.factory\";\nimport { createFakeGamePlayAllElectSheriff, createFakeGamePlayAllVote, createFakeGamePlayBigBadWolfEats, createFakeGamePlayCupidCharms, createFakeGamePlayDogWolfChoosesSide, createFakeGamePlayFoxSniffs, createFakeGamePlayGuardProtects, createFakeGamePlayHunterShoots, createFakeGamePlayPiedPiperCharms, createFakeGamePlayRavenMarks, createFakeGamePlayScapegoatBansVoting, createFakeGamePlaySeerLooks, createFakeGamePlaySheriffDelegates, createFakeGamePlaySheriffSettlesVotes, createFakeGamePlayThiefChoosesCard, createFakeGamePlayTwoSistersMeetEachOther, createFakeGamePlayWerewolvesEat, createFakeGamePlayWhiteWerewolfEats, createFakeGamePlayWildChildChoosesModel, createFakeGamePlayWitchUsesPotions } from \"../../../../../../../factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeCantVoteByScapegoatPlayerAttribute, createFakeCharmedByPiedPiperPlayerAttribute, createFakeDrankDeathPotionByWitchPlayerAttribute, createFakeDrankLifePotionByWitchPlayerAttribute, createFakeEatenByBigBadWolfPlayerAttribute, createFakeEatenByWerewolvesPlayerAttribute, createFakeEatenByWhiteWerewolfPlayerAttribute, createFakeInLoveByCupidPlayerAttribute, createFakePowerlessByAncientPlayerAttribute, createFakePowerlessByFoxPlayerAttribute, createFakeProtectedByGuardPlayerAttribute, createFakeRavenMarkedByRavenPlayerAttribute, createFakeSeenBySeerPlayerAttribute, createFakeSheriffByAllPlayerAttribute, createFakeSheriffBySheriffPlayerAttribute, createFakeWorshipedByWildChildPlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakePlayerShotByHunterDeath, createFakePlayerVoteByAllDeath, createFakePlayerVoteBySheriffDeath, createFakePlayerVoteScapegoatedByAllDeath } from \"../../../../../../../factories/game/schemas/player/player-death/player-death.schema.factory\";\nimport { createFakeAncientAlivePlayer, createFakeDogWolfAlivePlayer, createFakeFoxAlivePlayer, createFakeRavenAlivePlayer, createFakeScapegoatAlivePlayer, createFakeSeerAlivePlayer, createFakeThiefAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer } from \"../../../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { bulkCreateFakePlayers, createFakePlayer } from \"../../../../../../../factories/game/schemas/player/player.schema.factory\";\n\ndescribe(\"Game Plays Maker Service\", () => {\n let services: { gamePlaysMaker: GamePlaysMakerService };\n let mocks: {\n playerKillerService: {\n killOrRevealPlayer: jest.SpyInstance;\n isAncientKillable: jest.SpyInstance;\n };\n gameHistoryRecordService: {\n getPreviousGameHistoryRecord: jest.SpyInstance;\n };\n };\n\n beforeEach(async() => {\n mocks = {\n playerKillerService: {\n killOrRevealPlayer: jest.fn(),\n isAncientKillable: jest.fn(),\n },\n gameHistoryRecordService: { getPreviousGameHistoryRecord: jest.fn() },\n };\n\n const module: TestingModule = await Test.createTestingModule({\n providers: [\n GamePlaysMakerService,\n {\n provide: PlayerKillerService,\n useValue: mocks.playerKillerService,\n },\n {\n provide: GameHistoryRecordService,\n useValue: mocks.gameHistoryRecordService,\n },\n ],\n }).compile();\n\n services = { gamePlaysMaker: module.get(GamePlaysMakerService) };\n });\n\n describe(\"gameSourcePlayMethods\", () => {\n it(\"should contain play methods from game play sources when accessed.\", () => {\n expect(services.gamePlaysMaker[\"gameSourcePlayMethods\"][PLAYER_GROUPS.WEREWOLVES]).toStrictEqual(expect.any(Function));\n expect(services.gamePlaysMaker[\"gameSourcePlayMethods\"][ROLE_NAMES.FOX]).toStrictEqual(expect.any(Function));\n expect(services.gamePlaysMaker[\"gameSourcePlayMethods\"][PLAYER_ATTRIBUTE_NAMES.SHERIFF]).toStrictEqual(expect.any(Function));\n });\n });\n\n describe(\"makeGamePlay\", () => {\n let localMocks: {\n gamePlaysMakerService: {\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 guardProtects: jest.SpyInstance;\n foxSniffs: jest.SpyInstance;\n wildChildChoosesModel: jest.SpyInstance;\n dogWolfChoosesSide: jest.SpyInstance;\n scapegoatBansVoting: jest.SpyInstance;\n thiefChoosesCard: jest.SpyInstance;\n allPlay: jest.SpyInstance;\n ravenMarks: jest.SpyInstance;\n sheriffPlays: jest.SpyInstance;\n };\n };\n \n beforeEach(() => {\n localMocks = {\n gamePlaysMakerService: {\n werewolvesEat: jest.spyOn(services.gamePlaysMaker as unknown as { werewolvesEat }, \"werewolvesEat\").mockImplementation(),\n bigBadWolfEats: jest.spyOn(services.gamePlaysMaker as unknown as { bigBadWolfEats }, \"bigBadWolfEats\").mockImplementation(),\n whiteWerewolfEats: jest.spyOn(services.gamePlaysMaker as unknown as { whiteWerewolfEats }, \"whiteWerewolfEats\").mockImplementation(),\n seerLooks: jest.spyOn(services.gamePlaysMaker as unknown as { seerLooks }, \"seerLooks\").mockImplementation(),\n cupidCharms: jest.spyOn(services.gamePlaysMaker as unknown as { cupidCharms }, \"cupidCharms\").mockImplementation(),\n piedPiperCharms: jest.spyOn(services.gamePlaysMaker as unknown as { piedPiperCharms }, \"piedPiperCharms\").mockImplementation(),\n witchUsesPotions: jest.spyOn(services.gamePlaysMaker as unknown as { witchUsesPotions }, \"witchUsesPotions\").mockImplementation(),\n hunterShoots: jest.spyOn(services.gamePlaysMaker as unknown as { hunterShoots }, \"hunterShoots\").mockImplementation(),\n guardProtects: jest.spyOn(services.gamePlaysMaker as unknown as { guardProtects }, \"guardProtects\").mockImplementation(),\n foxSniffs: jest.spyOn(services.gamePlaysMaker as unknown as { foxSniffs }, \"foxSniffs\").mockImplementation(),\n wildChildChoosesModel: jest.spyOn(services.gamePlaysMaker as unknown as { wildChildChoosesModel }, \"wildChildChoosesModel\").mockImplementation(),\n dogWolfChoosesSide: jest.spyOn(services.gamePlaysMaker as unknown as { dogWolfChoosesSide }, \"dogWolfChoosesSide\").mockImplementation(),\n scapegoatBansVoting: jest.spyOn(services.gamePlaysMaker as unknown as { scapegoatBansVoting }, \"scapegoatBansVoting\").mockImplementation(),\n thiefChoosesCard: jest.spyOn(services.gamePlaysMaker as unknown as { thiefChoosesCard }, \"thiefChoosesCard\").mockImplementation(),\n allPlay: jest.spyOn(services.gamePlaysMaker as unknown as { allPlay }, \"allPlay\").mockImplementation(),\n ravenMarks: jest.spyOn(services.gamePlaysMaker as unknown as { ravenMarks }, \"ravenMarks\").mockImplementation(),\n sheriffPlays: jest.spyOn(services.gamePlaysMaker as unknown as { sheriffPlays }, \"sheriffPlays\").mockImplementation(),\n },\n };\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.gamePlaysMaker.makeGamePlay(play, game);\n\n const gamePlaysMakerServiceMockKeys = Object.keys(localMocks.gamePlaysMakerService);\n for (const gamePlaysMakerServiceMockKey of gamePlaysMakerServiceMockKeys) {\n expect(localMocks.gamePlaysMakerService[gamePlaysMakerServiceMockKey]).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.gamePlaysMaker.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.gamePlaysMaker.makeGamePlay(play, game);\n \n expect(localMocks.gamePlaysMakerService.werewolvesEat).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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.hunterShoots).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call guardProtects method when it's guard's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayGuardProtects() });\n await services.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.guardProtects).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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.wildChildChoosesModel).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call dogWolfChoosesSide method when it's dog wolf's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayDogWolfChoosesSide() });\n await services.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.dogWolfChoosesSide).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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.thiefChoosesCard).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call allPlay method when it's all's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayAllVote() });\n await services.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.allPlay).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call ravenMarks method when it's raven's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayRavenMarks() });\n await services.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.ravenMarks).toHaveBeenCalledExactlyOnceWith(play, 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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.sheriffPlays).toHaveBeenCalledExactlyOnceWith(play, 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 = createFakeGame();\n\n await expect(services.gamePlaysMaker[\"sheriffSettlesVotes\"](play, game)).resolves.toStrictEqual(game);\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 = createFakeGame({ currentPlay: createFakeGamePlaySheriffDelegates() });\n await services.gamePlaysMaker[\"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 = createFakeGame();\n\n expect(services.gamePlaysMaker[\"sheriffDelegates\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should remove previous sheriff attribute and add it to the target when called.\", () => {\n const players = bulkCreateFakePlayers(4, [{ attributes: [createFakeSheriffByAllPlayerAttribute()] }]);\n const play = createFakeMakeGamePlayWithRelationsDto({ targets: [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })] });\n const game = createFakeGame({ 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.gamePlaysMaker[\"sheriffDelegates\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"sheriffPlays\", () => {\n let localMocks: {\n gamePlaysMakerService: {\n sheriffDelegates: jest.SpyInstance;\n sheriffSettlesVotes: jest.SpyInstance;\n };\n };\n \n beforeEach(() => {\n localMocks = {\n gamePlaysMakerService: {\n sheriffDelegates: jest.spyOn(services.gamePlaysMaker as unknown as { sheriffDelegates }, \"sheriffDelegates\").mockImplementation(),\n sheriffSettlesVotes: jest.spyOn(services.gamePlaysMaker as unknown as { sheriffSettlesVotes }, \"sheriffSettlesVotes\").mockImplementation(),\n },\n };\n });\n \n it(\"should return game as is when upcoming play is not for sheriff.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlayFoxSniffs() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlaysMaker[\"sheriffPlays\"](play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should call sheriffDelegates method when upcoming play is sheriff role delegation.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlaySheriffDelegates() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlaysMaker[\"sheriffPlays\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.sheriffDelegates).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call sheriffSettlesVotes method when upcoming play is sheriff settling vote.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlaySheriffSettlesVotes() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlaysMaker[\"sheriffPlays\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.sheriffSettlesVotes).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n });\n\n describe(\"addRavenMarkVoteToPlayerVoteCounts\", () => {\n it(\"should return player vote counts as is when action is not vote.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayFoxSniffs() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts as is when there is no raven player in the game.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeFoxAlivePlayer(),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts as is when raven player is not alive.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer({ isAlive: false }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts as is when raven player is powerless.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts as is when there are no raven mark.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts as is when the raven target is dead.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer({ isAlive: false, attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts with new player vote entry when raven target doesn't have vote.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ raven: createFakeRavenGameOptions({ markPenalty: 2 }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n [players[2], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(expectedPlayerVoteCounts);\n });\n\n it(\"should return player vote counts with updated player vote entry when raven target already has votes.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ raven: createFakeRavenGameOptions({ markPenalty: 5 }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 7],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(expectedPlayerVoteCounts);\n });\n });\n\n describe(\"getPlayerVoteCounts\", () => {\n it(\"should get player vote counts with only simple votes when there is no sheriff.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ hasDoubledVote: true }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[1], target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[0], 2],\n [players[1], 1],\n ];\n\n expect(services.gamePlaysMaker[\"getPlayerVoteCounts\"](votes, game)).toContainAllValues(expectedPlayerVoteCounts);\n });\n\n it(\"should get player vote counts with only simple votes when sheriff doesn't have double vote.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ hasDoubledVote: false }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[1], target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[1], 1],\n [players[0], 2],\n ];\n\n expect(services.gamePlaysMaker[\"getPlayerVoteCounts\"](votes, game)).toContainAllValues(expectedPlayerVoteCounts);\n });\n\n it(\"should get player vote counts with simple only votes when game play is not vote.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ hasDoubledVote: true }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllElectSheriff(), options });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[1], target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[1], 1],\n [players[0], 2],\n ];\n\n expect(services.gamePlaysMaker[\"getPlayerVoteCounts\"](votes, game)).toContainAllValues(expectedPlayerVoteCounts);\n });\n\n it(\"should get player vote counts with simple votes and one doubled vote when sheriff has double vote.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ hasDoubledVote: true }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[1], target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[1], 2],\n [players[0], 2],\n ];\n\n expect(services.gamePlaysMaker[\"getPlayerVoteCounts\"](votes, game)).toContainAllValues(expectedPlayerVoteCounts);\n });\n });\n\n describe(\"getNominatedPlayers\", () => {\n it(\"should get nominated players when called.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const sheriffOptions = createFakeSheriffGameOptions({ hasDoubledVote: true });\n const ravenOptions = createFakeRavenGameOptions({ markPenalty: 2 });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: sheriffOptions, raven: ravenOptions }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const expectedNominatedPlayers = [\n players[1],\n players[2],\n ];\n\n expect(services.gamePlaysMaker[\"getNominatedPlayers\"](votes, game)).toContainAllValues(expectedNominatedPlayers);\n });\n });\n\n describe(\"handleTieInVotes\", () => {\n let localMocks: { gameMutator: { prependUpcomingPlayInGame: jest.SpyInstance } };\n\n beforeEach(() => {\n localMocks = { gameMutator: { prependUpcomingPlayInGame: jest.spyOn(GameMutator, \"prependUpcomingPlayInGame\") } };\n });\n\n it(\"should not kill scapegoat when he's not the game.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n await services.gamePlaysMaker[\"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: Player[] = [\n createFakeScapegoatAlivePlayer({ isAlive: false }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n await services.gamePlaysMaker[\"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: Player[] = [\n createFakeScapegoatAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n await services.gamePlaysMaker[\"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: Player[] = [\n createFakeScapegoatAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const playerDeath = createFakePlayerVoteScapegoatedByAllDeath();\n await services.gamePlaysMaker[\"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: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n await services.gamePlaysMaker[\"handleTieInVotes\"](game);\n\n expect(localMocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledWith(gamePlaySheriffSettlesVotes, game);\n });\n\n it(\"should not prepend sheriff delegation game play when sheriff is dead.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer({ isAlive: false, attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n await services.gamePlaysMaker[\"handleTieInVotes\"](game);\n\n expect(localMocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledWith(gamePlaySheriffSettlesVotes, game);\n });\n\n it(\"should prepend sheriff delegation game play when sheriff is in the game.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n mocks.gameHistoryRecordService.getPreviousGameHistoryRecord.mockResolvedValue(null);\n await services.gamePlaysMaker[\"handleTieInVotes\"](game);\n\n expect(localMocks.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: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n mocks.gameHistoryRecordService.getPreviousGameHistoryRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay() }));\n const gamePlayAllVote = createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES });\n await services.gamePlaysMaker[\"handleTieInVotes\"](game);\n\n expect(localMocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(gamePlayAllVote, game);\n });\n\n it(\"should prepend vote game play when there is no game history records.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const gamePlayAllVote = createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES });\n mocks.gameHistoryRecordService.getPreviousGameHistoryRecord.mockResolvedValue(null);\n await services.gamePlaysMaker[\"handleTieInVotes\"](game);\n\n expect(localMocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(gamePlayAllVote, game);\n });\n\n it(\"should not prepend vote game play when previous play is a tie.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const previousGameHistoryRecord = createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ votingResult: GAME_HISTORY_RECORD_VOTING_RESULTS.TIE }) });\n mocks.gameHistoryRecordService.getPreviousGameHistoryRecord.mockResolvedValue(previousGameHistoryRecord);\n\n await expect(services.gamePlaysMaker[\"handleTieInVotes\"](game)).resolves.toStrictEqual(game);\n });\n });\n \n describe(\"allVote\", () => {\n let localMocks: {\n gamePlaysMakerService: {\n handleTieInVotes: jest.SpyInstance;\n getNominatedPlayers: jest.SpyInstance;\n };\n };\n \n beforeEach(() => {\n localMocks = {\n gamePlaysMakerService: {\n handleTieInVotes: jest.spyOn(services.gamePlaysMaker as unknown as { handleTieInVotes }, \"handleTieInVotes\").mockImplementation(),\n getNominatedPlayers: jest.spyOn(services.gamePlaysMaker as unknown as { getNominatedPlayers }, \"getNominatedPlayers\").mockImplementation(),\n },\n };\n });\n \n it(\"should return game as is when there is no vote.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlaysMaker[\"allVote\"](play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no nominated players.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n\n await expect(services.gamePlaysMaker[\"allVote\"](play, game)).resolves.toStrictEqual(game);\n });\n \n it(\"should call handleTieInVotes method when there are several nominated players.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlaysMaker[\"allVote\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.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: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 = createFakeGame({\n ...game,\n upcomingPlays: [createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.STUTTERING_JUDGE_REQUEST })],\n });\n localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlaysMaker[\"allVote\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.handleTieInVotes).toHaveBeenCalledExactlyOnceWith(expectedGame);\n });\n\n it(\"should call killOrRevealPlayer method when there is one nominated player.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 playerVoteByAllDeath = createFakePlayerVoteByAllDeath();\n localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlaysMaker[\"allVote\"](play, game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(players[1]._id, game, playerVoteByAllDeath);\n });\n });\n \n describe(\"allElectSheriff\", () => {\n let localMocks: {\n gamePlaysMakerService: {\n getNominatedPlayers: jest.SpyInstance;\n };\n };\n \n beforeEach(() => {\n localMocks = { gamePlaysMakerService: { getNominatedPlayers: jest.spyOn(services.gamePlaysMaker as unknown as { getNominatedPlayers }, \"getNominatedPlayers\").mockImplementation() } };\n });\n \n it(\"should return game as is when there is no vote.\", () => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"allElectSheriff\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no nominated players.\", () => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue([]);\n\n expect(services.gamePlaysMaker[\"allElectSheriff\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add sheriff attribute to nominated player when called.\", () => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue([players[1]]);\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n createFakePlayer({ ...players[1], attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlaysMaker[\"allElectSheriff\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"allPlay\", () => {\n let localMocks: {\n gamePlaysMakerService: {\n allElectSheriff: jest.SpyInstance;\n allVote: jest.SpyInstance;\n };\n };\n\n beforeEach(() => {\n localMocks = {\n gamePlaysMakerService: {\n allElectSheriff: jest.spyOn(services.gamePlaysMaker as unknown as { allElectSheriff }, \"allElectSheriff\").mockImplementation(),\n allVote: jest.spyOn(services.gamePlaysMaker as unknown as { allVote }, \"allVote\").mockImplementation(),\n },\n };\n });\n\n it(\"should return game as is when upcoming play is not for all.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlayFoxSniffs() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlaysMaker[\"allPlay\"](play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should call allElectSheriff method when upcoming play is sheriff role delegation.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlayAllElectSheriff() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlaysMaker[\"allPlay\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.allElectSheriff).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call allVote method when upcoming play is sheriff settling vote.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlayAllVote() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlaysMaker[\"allPlay\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.allVote).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: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = bulkCreateFakeGameAdditionalCards(4);\n const game = createFakeGame({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: additionalCards[0] });\n\n expect(services.gamePlaysMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no chosen card.\", () => {\n const players: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = bulkCreateFakeGameAdditionalCards(4);\n const game = createFakeGame({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when chosen card role is unknown.\", () => {\n const players: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = bulkCreateFakeGameAdditionalCards(4);\n const game = createFakeGame({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: createFakeGameAdditionalCard({}, { roleName: \"Toto\" }) });\n\n expect(services.gamePlaysMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should update thief role and side when called.\", () => {\n const players: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = bulkCreateFakeGameAdditionalCards(4, [createFakeGameAdditionalCard({ roleName: ROLE_NAMES.WEREWOLF })]);\n const game = createFakeGame({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: additionalCards[0] });\n const expectedThiefPlayer = createFakePlayer({\n ...players[0],\n role: { ...players[0].role, current: ROLE_NAMES.WEREWOLF },\n side: { ...players[0].side, current: ROLE_SIDES.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.gamePlaysMaker[\"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: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"scapegoatBansVoting\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add scapegoat ban voting attributes to targets when called.\", () => {\n const players: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"scapegoatBansVoting\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"dogWolfChoosesSide\", () => {\n it(\"should return game as is when chosen side is not set.\", () => {\n const players: Player[] = [\n createFakeDogWolfAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"dogWolfChoosesSide\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no dog wolf in the game.\", () => {\n const players: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenSide: ROLE_SIDES.WEREWOLVES });\n\n expect(services.gamePlaysMaker[\"dogWolfChoosesSide\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return dog wolf on the werewolves side when called.\", () => {\n const players: Player[] = [\n createFakeRavenAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenSide: ROLE_SIDES.WEREWOLVES });\n const expectedDogWolfPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: ROLE_SIDES.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedDogWolfPlayer,\n players[2],\n players[3],\n ],\n });\n \n expect(services.gamePlaysMaker[\"dogWolfChoosesSide\"](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: Player[] = [\n createFakeDogWolfAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"wildChildChoosesModel\"](play, game)).toStrictEqual(game);\n });\n \n it(\"should add worshiped attribute to target when called.\", () => {\n const players: Player[] = [\n createFakeDogWolfAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeRavenAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"foxSniffs\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no fox in the game.\", () => {\n const players: Player[] = [\n createFakeSeerAlivePlayer({ position: 0 }),\n createFakeRavenAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n\n expect(services.gamePlaysMaker[\"foxSniffs\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when fox is not powerless if misses werewolves by game options.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeRavenAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: false }) }) });\n const game = createFakeGame({ players, options });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n\n expect(services.gamePlaysMaker[\"foxSniffs\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when fox sniffes a werewolf in the group.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeRavenAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: true }) }) });\n const game = createFakeGame({ players, options });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n\n expect(services.gamePlaysMaker[\"foxSniffs\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should make fox powerless when there is no werewolf in the group.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeRavenAlivePlayer({ position: 1 }),\n createFakeVillagerAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: true }) }) });\n const game = createFakeGame({ players, options });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[0],\n attributes: [createFakePowerlessByFoxPlayerAttribute()],\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.gamePlaysMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"ravenMarks\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"ravenMarks\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add raven marked attribute to target when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeRavenMarkedByRavenPlayerAttribute()],\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.gamePlaysMaker[\"ravenMarks\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"guardProtects\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"guardProtects\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add protected attribute to target when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeProtectedByGuardPlayerAttribute()],\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.gamePlaysMaker[\"guardProtects\"](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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlaysMaker[\"hunterShoots\"](play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should call killOrRevealPlayer method when called.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const playerDeath = createFakePlayerShotByHunterDeath();\n await services.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add only one potion attributes to targets when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], drankPotion: WITCH_POTIONS.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.gamePlaysMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(expectedGame);\n });\n \n it(\"should add both potion attributes to targets when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[2], drankPotion: WITCH_POTIONS.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.gamePlaysMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"piedPiperCharms\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"piedPiperCharms\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add pied piper charmed attributes to targets when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"cupidCharms\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add in-love attribute to targets when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"seerLooks\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add seen attribute to target when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"whiteWerewolfEats\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add eaten attribute by white werewolf to target when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"bigBadWolfEats\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add eaten attribute by big bad wolf to target when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"bigBadWolfEats\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"werewolvesEat\", () => {\n it(\"should return game as is when expected target count is not reached.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlaysMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should add eaten attribute by werewolves to target when target is not infected.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: false })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.isAncientKillable.mockReturnValue(false);\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\n await expect(services.gamePlaysMaker[\"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 ancient.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeAncientAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.isAncientKillable.mockReturnValue(false);\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\n await expect(services.gamePlaysMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should change target side to werewolves when he's infected and not the ancient.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.isAncientKillable.mockReturnValue(false);\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: ROLE_SIDES.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 await expect(services.gamePlaysMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should change target side to werewolves when he's infected and killable as ancient.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeAncientAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.isAncientKillable.mockReturnValue(true);\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: ROLE_SIDES.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 await expect(services.gamePlaysMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n });\n});" + "source": "import type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport type { MakeGamePlayVoteWithRelationsDto } from \"../../../../../../../../src/modules/game/dto/make-game-play/make-game-play-vote/make-game-play-vote-with-relations.dto\";\nimport { GAME_HISTORY_RECORD_VOTING_RESULTS } from \"../../../../../../../../src/modules/game/enums/game-history-record.enum\";\nimport { GAME_PLAY_CAUSES, WITCH_POTIONS } from \"../../../../../../../../src/modules/game/enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport * as GameMutator from \"../../../../../../../../src/modules/game/helpers/game.mutator\";\nimport { GameHistoryRecordService } from \"../../../../../../../../src/modules/game/providers/services/game-history/game-history-record.service\";\nimport { GamePlaysMakerService } from \"../../../../../../../../src/modules/game/providers/services/game-play/game-plays-maker.service\";\nimport { PlayerKillerService } from \"../../../../../../../../src/modules/game/providers/services/player/player-killer.service\";\nimport type { Game } from \"../../../../../../../../src/modules/game/schemas/game.schema\";\nimport type { Player } from \"../../../../../../../../src/modules/game/schemas/player/player.schema\";\nimport type { PlayerVoteCount } from \"../../../../../../../../src/modules/game/types/game-play.type\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport { createFakeMakeGamePlayTargetWithRelationsDto } from \"../../../../../../../factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-target-with-relations.dto.factory\";\nimport { createFakeMakeGamePlayVoteWithRelationsDto } from \"../../../../../../../factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-vote-with-relations.dto.factory\";\nimport { createFakeMakeGamePlayWithRelationsDto } from \"../../../../../../../factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-with-relations.dto.factory\";\nimport { bulkCreateFakeGameAdditionalCards, createFakeGameAdditionalCard } from \"../../../../../../../factories/game/schemas/game-additional-card/game-additional-card.schema.factory\";\nimport { createFakeGameHistoryRecord, createFakeGameHistoryRecordAllVotePlay } from \"../../../../../../../factories/game/schemas/game-history-record/game-history-record.schema.factory\";\nimport { createFakeGameOptions } from \"../../../../../../../factories/game/schemas/game-options/game-options.schema.factory\";\nimport { createFakeFoxGameOptions, createFakeRavenGameOptions, createFakeRolesGameOptions, createFakeSheriffGameOptions } from \"../../../../../../../factories/game/schemas/game-options/game-roles-options.schema.factory\";\nimport { createFakeGamePlayAllElectSheriff, createFakeGamePlayAllVote, createFakeGamePlayBigBadWolfEats, createFakeGamePlayCupidCharms, createFakeGamePlayDogWolfChoosesSide, createFakeGamePlayFoxSniffs, createFakeGamePlayGuardProtects, createFakeGamePlayHunterShoots, createFakeGamePlayPiedPiperCharms, createFakeGamePlayRavenMarks, createFakeGamePlayScapegoatBansVoting, createFakeGamePlaySeerLooks, createFakeGamePlaySheriffDelegates, createFakeGamePlaySheriffSettlesVotes, createFakeGamePlayThiefChoosesCard, createFakeGamePlayTwoSistersMeetEachOther, createFakeGamePlayWerewolvesEat, createFakeGamePlayWhiteWerewolfEats, createFakeGamePlayWildChildChoosesModel, createFakeGamePlayWitchUsesPotions } from \"../../../../../../../factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeCantVoteByScapegoatPlayerAttribute, createFakeCharmedByPiedPiperPlayerAttribute, createFakeDrankDeathPotionByWitchPlayerAttribute, createFakeDrankLifePotionByWitchPlayerAttribute, createFakeEatenByBigBadWolfPlayerAttribute, createFakeEatenByWerewolvesPlayerAttribute, createFakeEatenByWhiteWerewolfPlayerAttribute, createFakeInLoveByCupidPlayerAttribute, createFakePowerlessByAncientPlayerAttribute, createFakePowerlessByFoxPlayerAttribute, createFakeProtectedByGuardPlayerAttribute, createFakeRavenMarkedByRavenPlayerAttribute, createFakeSeenBySeerPlayerAttribute, createFakeSheriffByAllPlayerAttribute, createFakeSheriffBySheriffPlayerAttribute, createFakeWorshipedByWildChildPlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakePlayerShotByHunterDeath, createFakePlayerVoteByAllDeath, createFakePlayerVoteBySheriffDeath, createFakePlayerVoteScapegoatedByAllDeath } from \"../../../../../../../factories/game/schemas/player/player-death/player-death.schema.factory\";\nimport { createFakeAncientAlivePlayer, createFakeDogWolfAlivePlayer, createFakeFoxAlivePlayer, createFakeRavenAlivePlayer, createFakeScapegoatAlivePlayer, createFakeSeerAlivePlayer, createFakeThiefAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer } from \"../../../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { bulkCreateFakePlayers, createFakePlayer } from \"../../../../../../../factories/game/schemas/player/player.schema.factory\";\n\ndescribe(\"Game Plays Maker Service\", () => {\n let services: { gamePlaysMaker: GamePlaysMakerService };\n let mocks: {\n playerKillerService: {\n killOrRevealPlayer: jest.SpyInstance;\n isAncientKillable: jest.SpyInstance;\n };\n gameHistoryRecordService: {\n getPreviousGameHistoryRecord: jest.SpyInstance;\n };\n };\n\n beforeEach(async() => {\n mocks = {\n playerKillerService: {\n killOrRevealPlayer: jest.fn(),\n isAncientKillable: jest.fn(),\n },\n gameHistoryRecordService: { getPreviousGameHistoryRecord: jest.fn() },\n };\n\n const module: TestingModule = await Test.createTestingModule({\n providers: [\n GamePlaysMakerService,\n {\n provide: PlayerKillerService,\n useValue: mocks.playerKillerService,\n },\n {\n provide: GameHistoryRecordService,\n useValue: mocks.gameHistoryRecordService,\n },\n ],\n }).compile();\n\n services = { gamePlaysMaker: module.get(GamePlaysMakerService) };\n });\n\n describe(\"gameSourcePlayMethods\", () => {\n it(\"should contain play methods from game play sources when accessed.\", () => {\n expect(services.gamePlaysMaker[\"gameSourcePlayMethods\"][PLAYER_GROUPS.WEREWOLVES]).toStrictEqual(expect.any(Function));\n expect(services.gamePlaysMaker[\"gameSourcePlayMethods\"][ROLE_NAMES.FOX]).toStrictEqual(expect.any(Function));\n expect(services.gamePlaysMaker[\"gameSourcePlayMethods\"][PLAYER_ATTRIBUTE_NAMES.SHERIFF]).toStrictEqual(expect.any(Function));\n });\n });\n\n describe(\"makeGamePlay\", () => {\n let localMocks: {\n gamePlaysMakerService: {\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 guardProtects: jest.SpyInstance;\n foxSniffs: jest.SpyInstance;\n wildChildChoosesModel: jest.SpyInstance;\n dogWolfChoosesSide: jest.SpyInstance;\n scapegoatBansVoting: jest.SpyInstance;\n thiefChoosesCard: jest.SpyInstance;\n allPlay: jest.SpyInstance;\n ravenMarks: jest.SpyInstance;\n sheriffPlays: jest.SpyInstance;\n };\n };\n \n beforeEach(() => {\n localMocks = {\n gamePlaysMakerService: {\n werewolvesEat: jest.spyOn(services.gamePlaysMaker as unknown as { werewolvesEat }, \"werewolvesEat\").mockImplementation(),\n bigBadWolfEats: jest.spyOn(services.gamePlaysMaker as unknown as { bigBadWolfEats }, \"bigBadWolfEats\").mockImplementation(),\n whiteWerewolfEats: jest.spyOn(services.gamePlaysMaker as unknown as { whiteWerewolfEats }, \"whiteWerewolfEats\").mockImplementation(),\n seerLooks: jest.spyOn(services.gamePlaysMaker as unknown as { seerLooks }, \"seerLooks\").mockImplementation(),\n cupidCharms: jest.spyOn(services.gamePlaysMaker as unknown as { cupidCharms }, \"cupidCharms\").mockImplementation(),\n piedPiperCharms: jest.spyOn(services.gamePlaysMaker as unknown as { piedPiperCharms }, \"piedPiperCharms\").mockImplementation(),\n witchUsesPotions: jest.spyOn(services.gamePlaysMaker as unknown as { witchUsesPotions }, \"witchUsesPotions\").mockImplementation(),\n hunterShoots: jest.spyOn(services.gamePlaysMaker as unknown as { hunterShoots }, \"hunterShoots\").mockImplementation(),\n guardProtects: jest.spyOn(services.gamePlaysMaker as unknown as { guardProtects }, \"guardProtects\").mockImplementation(),\n foxSniffs: jest.spyOn(services.gamePlaysMaker as unknown as { foxSniffs }, \"foxSniffs\").mockImplementation(),\n wildChildChoosesModel: jest.spyOn(services.gamePlaysMaker as unknown as { wildChildChoosesModel }, \"wildChildChoosesModel\").mockImplementation(),\n dogWolfChoosesSide: jest.spyOn(services.gamePlaysMaker as unknown as { dogWolfChoosesSide }, \"dogWolfChoosesSide\").mockImplementation(),\n scapegoatBansVoting: jest.spyOn(services.gamePlaysMaker as unknown as { scapegoatBansVoting }, \"scapegoatBansVoting\").mockImplementation(),\n thiefChoosesCard: jest.spyOn(services.gamePlaysMaker as unknown as { thiefChoosesCard }, \"thiefChoosesCard\").mockImplementation(),\n allPlay: jest.spyOn(services.gamePlaysMaker as unknown as { allPlay }, \"allPlay\").mockImplementation(),\n ravenMarks: jest.spyOn(services.gamePlaysMaker as unknown as { ravenMarks }, \"ravenMarks\").mockImplementation(),\n sheriffPlays: jest.spyOn(services.gamePlaysMaker as unknown as { sheriffPlays }, \"sheriffPlays\").mockImplementation(),\n },\n };\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.gamePlaysMaker.makeGamePlay(play, game);\n\n const gamePlaysMakerServiceMockKeys = Object.keys(localMocks.gamePlaysMakerService);\n for (const gamePlaysMakerServiceMockKey of gamePlaysMakerServiceMockKeys) {\n expect(localMocks.gamePlaysMakerService[gamePlaysMakerServiceMockKey]).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.gamePlaysMaker.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.gamePlaysMaker.makeGamePlay(play, game);\n \n expect(localMocks.gamePlaysMakerService.werewolvesEat).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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.hunterShoots).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call guardProtects method when it's guard's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayGuardProtects() });\n await services.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.guardProtects).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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.wildChildChoosesModel).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call dogWolfChoosesSide method when it's dog wolf's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayDogWolfChoosesSide() });\n await services.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.dogWolfChoosesSide).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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.thiefChoosesCard).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call allPlay method when it's all's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayAllVote() });\n await services.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.allPlay).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call ravenMarks method when it's raven's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayRavenMarks() });\n await services.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.ravenMarks).toHaveBeenCalledExactlyOnceWith(play, 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.gamePlaysMaker.makeGamePlay(play, game);\n\n expect(localMocks.gamePlaysMakerService.sheriffPlays).toHaveBeenCalledExactlyOnceWith(play, 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 = createFakeGame();\n\n await expect(services.gamePlaysMaker[\"sheriffSettlesVotes\"](play, game)).resolves.toStrictEqual(game);\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 = createFakeGame({ currentPlay: createFakeGamePlaySheriffDelegates() });\n await services.gamePlaysMaker[\"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 = createFakeGame();\n\n expect(services.gamePlaysMaker[\"sheriffDelegates\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should remove previous sheriff attribute and add it to the target when called.\", () => {\n const players = bulkCreateFakePlayers(4, [{ attributes: [createFakeSheriffByAllPlayerAttribute()] }]);\n const play = createFakeMakeGamePlayWithRelationsDto({ targets: [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })] });\n const game = createFakeGame({ 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.gamePlaysMaker[\"sheriffDelegates\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"sheriffPlays\", () => {\n let localMocks: {\n gamePlaysMakerService: {\n sheriffDelegates: jest.SpyInstance;\n sheriffSettlesVotes: jest.SpyInstance;\n };\n };\n \n beforeEach(() => {\n localMocks = {\n gamePlaysMakerService: {\n sheriffDelegates: jest.spyOn(services.gamePlaysMaker as unknown as { sheriffDelegates }, \"sheriffDelegates\").mockImplementation(),\n sheriffSettlesVotes: jest.spyOn(services.gamePlaysMaker as unknown as { sheriffSettlesVotes }, \"sheriffSettlesVotes\").mockImplementation(),\n },\n };\n });\n \n it(\"should return game as is when upcoming play is not for sheriff.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlayFoxSniffs() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlaysMaker[\"sheriffPlays\"](play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should call sheriffDelegates method when upcoming play is sheriff role delegation.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlaySheriffDelegates() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlaysMaker[\"sheriffPlays\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.sheriffDelegates).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call sheriffSettlesVotes method when upcoming play is sheriff settling vote.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlaySheriffSettlesVotes() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlaysMaker[\"sheriffPlays\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.sheriffSettlesVotes).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n });\n\n describe(\"addRavenMarkVoteToPlayerVoteCounts\", () => {\n it(\"should return player vote counts as is when action is not vote.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayFoxSniffs() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts as is when there is no raven player in the game.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeFoxAlivePlayer(),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts as is when raven player is not alive.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer({ isAlive: false }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts as is when raven player is powerless.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts as is when there are no raven mark.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts as is when the raven target is dead.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer({ isAlive: false, attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote() });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(playerVoteCounts);\n });\n\n it(\"should return player vote counts with new player vote entry when raven target doesn't have vote.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ raven: createFakeRavenGameOptions({ markPenalty: 2 }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n [players[2], 2],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(expectedPlayerVoteCounts);\n });\n\n it(\"should return player vote counts with updated player vote entry when raven target already has votes.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ raven: createFakeRavenGameOptions({ markPenalty: 5 }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const playerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 2],\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[0], 1],\n [players[1], 7],\n ];\n\n expect(services.gamePlaysMaker[\"addRavenMarkVoteToPlayerVoteCounts\"](playerVoteCounts, game)).toStrictEqual(expectedPlayerVoteCounts);\n });\n });\n\n describe(\"getPlayerVoteCounts\", () => {\n it(\"should get player vote counts with only simple votes when there is no sheriff.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ hasDoubledVote: true }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[1], target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[0], 2],\n [players[1], 1],\n ];\n\n expect(services.gamePlaysMaker[\"getPlayerVoteCounts\"](votes, game)).toContainAllValues(expectedPlayerVoteCounts);\n });\n\n it(\"should get player vote counts with only simple votes when sheriff doesn't have double vote.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ hasDoubledVote: false }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[1], target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[1], 1],\n [players[0], 2],\n ];\n\n expect(services.gamePlaysMaker[\"getPlayerVoteCounts\"](votes, game)).toContainAllValues(expectedPlayerVoteCounts);\n });\n\n it(\"should get player vote counts with simple only votes when game play is not vote.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ hasDoubledVote: true }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllElectSheriff(), options });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[1], target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[1], 1],\n [players[0], 2],\n ];\n\n expect(services.gamePlaysMaker[\"getPlayerVoteCounts\"](votes, game)).toContainAllValues(expectedPlayerVoteCounts);\n });\n\n it(\"should get player vote counts with simple votes and one doubled vote when sheriff has double vote.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ hasDoubledVote: true }) }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[1], target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const expectedPlayerVoteCounts: PlayerVoteCount[] = [\n [players[1], 2],\n [players[0], 2],\n ];\n\n expect(services.gamePlaysMaker[\"getPlayerVoteCounts\"](votes, game)).toContainAllValues(expectedPlayerVoteCounts);\n });\n });\n\n describe(\"getNominatedPlayers\", () => {\n it(\"should get nominated players when called.\", () => {\n const players: Player[] = [\n createFakeAncientAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeRavenMarkedByRavenPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const sheriffOptions = createFakeSheriffGameOptions({ hasDoubledVote: true });\n const ravenOptions = createFakeRavenGameOptions({ markPenalty: 2 });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: sheriffOptions, raven: ravenOptions }) });\n const game = createFakeGame({ players, currentPlay: createFakeGamePlayAllVote(), options });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const expectedNominatedPlayers = [\n players[1],\n players[2],\n ];\n\n expect(services.gamePlaysMaker[\"getNominatedPlayers\"](votes, game)).toContainAllValues(expectedNominatedPlayers);\n });\n });\n\n describe(\"handleTieInVotes\", () => {\n let localMocks: { gameMutator: { prependUpcomingPlayInGame: jest.SpyInstance } };\n\n beforeEach(() => {\n localMocks = { gameMutator: { prependUpcomingPlayInGame: jest.spyOn(GameMutator, \"prependUpcomingPlayInGame\") } };\n });\n\n it(\"should not kill scapegoat when he's not the game.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n await services.gamePlaysMaker[\"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: Player[] = [\n createFakeScapegoatAlivePlayer({ isAlive: false }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n await services.gamePlaysMaker[\"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: Player[] = [\n createFakeScapegoatAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n await services.gamePlaysMaker[\"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: Player[] = [\n createFakeScapegoatAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const playerDeath = createFakePlayerVoteScapegoatedByAllDeath();\n await services.gamePlaysMaker[\"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: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n await services.gamePlaysMaker[\"handleTieInVotes\"](game);\n\n expect(localMocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledWith(gamePlaySheriffSettlesVotes, game);\n });\n\n it(\"should not prepend sheriff delegation game play when sheriff is dead.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer({ isAlive: false, attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n await services.gamePlaysMaker[\"handleTieInVotes\"](game);\n\n expect(localMocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledWith(gamePlaySheriffSettlesVotes, game);\n });\n\n it(\"should prepend sheriff delegation game play when sheriff is in the game.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n mocks.gameHistoryRecordService.getPreviousGameHistoryRecord.mockResolvedValue(null);\n await services.gamePlaysMaker[\"handleTieInVotes\"](game);\n\n expect(localMocks.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: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n mocks.gameHistoryRecordService.getPreviousGameHistoryRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay() }));\n const gamePlayAllVote = createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES });\n await services.gamePlaysMaker[\"handleTieInVotes\"](game);\n\n expect(localMocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(gamePlayAllVote, game);\n });\n\n it(\"should prepend vote game play when there is no game history records.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const gamePlayAllVote = createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES });\n mocks.gameHistoryRecordService.getPreviousGameHistoryRecord.mockResolvedValue(null);\n await services.gamePlaysMaker[\"handleTieInVotes\"](game);\n\n expect(localMocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(gamePlayAllVote, game);\n });\n\n it(\"should not prepend vote game play when previous play is a tie.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const previousGameHistoryRecord = createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ votingResult: GAME_HISTORY_RECORD_VOTING_RESULTS.TIE }) });\n mocks.gameHistoryRecordService.getPreviousGameHistoryRecord.mockResolvedValue(previousGameHistoryRecord);\n\n await expect(services.gamePlaysMaker[\"handleTieInVotes\"](game)).resolves.toStrictEqual(game);\n });\n });\n \n describe(\"allVote\", () => {\n let localMocks: {\n gamePlaysMakerService: {\n handleTieInVotes: jest.SpyInstance;\n getNominatedPlayers: jest.SpyInstance;\n };\n };\n \n beforeEach(() => {\n localMocks = {\n gamePlaysMakerService: {\n handleTieInVotes: jest.spyOn(services.gamePlaysMaker as unknown as { handleTieInVotes }, \"handleTieInVotes\").mockImplementation(),\n getNominatedPlayers: jest.spyOn(services.gamePlaysMaker as unknown as { getNominatedPlayers }, \"getNominatedPlayers\").mockImplementation(),\n },\n };\n });\n \n it(\"should return game as is when there is no vote.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlaysMaker[\"allVote\"](play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no nominated players.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n\n await expect(services.gamePlaysMaker[\"allVote\"](play, game)).resolves.toStrictEqual(game);\n });\n \n it(\"should call handleTieInVotes method when there are several nominated players.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlaysMaker[\"allVote\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.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: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 = createFakeGame({\n ...game,\n upcomingPlays: [createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.STUTTERING_JUDGE_REQUEST })],\n });\n localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlaysMaker[\"allVote\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.handleTieInVotes).toHaveBeenCalledExactlyOnceWith(expectedGame);\n });\n\n it(\"should call killOrRevealPlayer method when there is one nominated player.\", async() => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 playerVoteByAllDeath = createFakePlayerVoteByAllDeath();\n localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlaysMaker[\"allVote\"](play, game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(players[1]._id, game, playerVoteByAllDeath);\n });\n });\n \n describe(\"allElectSheriff\", () => {\n let localMocks: {\n gamePlaysMakerService: {\n getNominatedPlayers: jest.SpyInstance;\n };\n };\n \n beforeEach(() => {\n localMocks = { gamePlaysMakerService: { getNominatedPlayers: jest.spyOn(services.gamePlaysMaker as unknown as { getNominatedPlayers }, \"getNominatedPlayers\").mockImplementation() } };\n });\n \n it(\"should return game as is when there is no vote.\", () => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"allElectSheriff\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no nominated players.\", () => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue([]);\n\n expect(services.gamePlaysMaker[\"allElectSheriff\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add sheriff attribute to nominated player when called.\", () => {\n const players: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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 localMocks.gamePlaysMakerService.getNominatedPlayers.mockReturnValue([players[1]]);\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n createFakePlayer({ ...players[1], attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlaysMaker[\"allElectSheriff\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"allPlay\", () => {\n let localMocks: {\n gamePlaysMakerService: {\n allElectSheriff: jest.SpyInstance;\n allVote: jest.SpyInstance;\n };\n };\n\n beforeEach(() => {\n localMocks = {\n gamePlaysMakerService: {\n allElectSheriff: jest.spyOn(services.gamePlaysMaker as unknown as { allElectSheriff }, \"allElectSheriff\").mockImplementation(),\n allVote: jest.spyOn(services.gamePlaysMaker as unknown as { allVote }, \"allVote\").mockImplementation(),\n },\n };\n });\n\n it(\"should return game as is when upcoming play is not for all.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlayFoxSniffs() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlaysMaker[\"allPlay\"](play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should call allElectSheriff method when upcoming play is sheriff role delegation.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlayAllElectSheriff() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlaysMaker[\"allPlay\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.allElectSheriff).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call allVote method when upcoming play is sheriff settling vote.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlayAllVote() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlaysMaker[\"allPlay\"](play, game);\n\n expect(localMocks.gamePlaysMakerService.allVote).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: Player[] = [\n createFakeSeerAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = bulkCreateFakeGameAdditionalCards(4);\n const game = createFakeGame({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: additionalCards[0] });\n\n expect(services.gamePlaysMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no chosen card.\", () => {\n const players: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = bulkCreateFakeGameAdditionalCards(4);\n const game = createFakeGame({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when chosen card role is unknown.\", () => {\n const players: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = bulkCreateFakeGameAdditionalCards(4);\n const game = createFakeGame({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: createFakeGameAdditionalCard({}, { roleName: \"Toto\" }) });\n\n expect(services.gamePlaysMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should update thief role and side when called.\", () => {\n const players: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = bulkCreateFakeGameAdditionalCards(4, [createFakeGameAdditionalCard({ roleName: ROLE_NAMES.WEREWOLF })]);\n const game = createFakeGame({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: additionalCards[0] });\n const expectedThiefPlayer = createFakePlayer({\n ...players[0],\n role: { ...players[0].role, current: ROLE_NAMES.WEREWOLF },\n side: { ...players[0].side, current: ROLE_SIDES.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.gamePlaysMaker[\"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: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"scapegoatBansVoting\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add scapegoat ban voting attributes to targets when called.\", () => {\n const players: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"scapegoatBansVoting\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"dogWolfChoosesSide\", () => {\n it(\"should return game as is when chosen side is not set.\", () => {\n const players: Player[] = [\n createFakeDogWolfAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"dogWolfChoosesSide\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no dog wolf in the game.\", () => {\n const players: Player[] = [\n createFakeThiefAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenSide: ROLE_SIDES.WEREWOLVES });\n\n expect(services.gamePlaysMaker[\"dogWolfChoosesSide\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return dog wolf on the werewolves side when called.\", () => {\n const players: Player[] = [\n createFakeRavenAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenSide: ROLE_SIDES.WEREWOLVES });\n const expectedDogWolfPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: ROLE_SIDES.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedDogWolfPlayer,\n players[2],\n players[3],\n ],\n });\n \n expect(services.gamePlaysMaker[\"dogWolfChoosesSide\"](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: Player[] = [\n createFakeDogWolfAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"wildChildChoosesModel\"](play, game)).toStrictEqual(game);\n });\n \n it(\"should add worshiped attribute to target when called.\", () => {\n const players: Player[] = [\n createFakeDogWolfAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeRavenAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"foxSniffs\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no fox in the game.\", () => {\n const players: Player[] = [\n createFakeSeerAlivePlayer({ position: 0 }),\n createFakeRavenAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n\n expect(services.gamePlaysMaker[\"foxSniffs\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when fox is not powerless if misses werewolves by game options.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeRavenAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: false }) }) });\n const game = createFakeGame({ players, options });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n\n expect(services.gamePlaysMaker[\"foxSniffs\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when fox sniffes a werewolf in the group.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeRavenAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: true }) }) });\n const game = createFakeGame({ players, options });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n\n expect(services.gamePlaysMaker[\"foxSniffs\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should make fox powerless when there is no werewolf in the group.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeRavenAlivePlayer({ position: 1 }),\n createFakeVillagerAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: true }) }) });\n const game = createFakeGame({ 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.gamePlaysMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"ravenMarks\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"ravenMarks\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add raven marked attribute to target when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeRavenMarkedByRavenPlayerAttribute()],\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.gamePlaysMaker[\"ravenMarks\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"guardProtects\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"guardProtects\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add protected attribute to target when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeProtectedByGuardPlayerAttribute()],\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.gamePlaysMaker[\"guardProtects\"](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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlaysMaker[\"hunterShoots\"](play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should call killOrRevealPlayer method when called.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const playerDeath = createFakePlayerShotByHunterDeath();\n await services.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add only one potion attributes to targets when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], drankPotion: WITCH_POTIONS.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.gamePlaysMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(expectedGame);\n });\n \n it(\"should add both potion attributes to targets when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[2], drankPotion: WITCH_POTIONS.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.gamePlaysMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"piedPiperCharms\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"piedPiperCharms\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add pied piper charmed attributes to targets when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"cupidCharms\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add in-love attribute to targets when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"seerLooks\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add seen attribute to target when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"whiteWerewolfEats\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add eaten attribute by white werewolf to target when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"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: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n expect(services.gamePlaysMaker[\"bigBadWolfEats\"](play, game)).toStrictEqual(game);\n });\n\n it(\"should add eaten attribute by big bad wolf to target when called.\", () => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ 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.gamePlaysMaker[\"bigBadWolfEats\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"werewolvesEat\", () => {\n it(\"should return game as is when expected target count is not reached.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlaysMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should add eaten attribute by werewolves to target when target is not infected.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: false })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.isAncientKillable.mockReturnValue(false);\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\n await expect(services.gamePlaysMaker[\"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 ancient.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeAncientAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.isAncientKillable.mockReturnValue(false);\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\n await expect(services.gamePlaysMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should change target side to werewolves when he's infected and not the ancient.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeRavenAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.isAncientKillable.mockReturnValue(false);\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: ROLE_SIDES.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 await expect(services.gamePlaysMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should change target side to werewolves when he's infected and killable as ancient.\", async() => {\n const players: Player[] = [\n createFakeFoxAlivePlayer(),\n createFakeAncientAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.isAncientKillable.mockReturnValue(true);\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: ROLE_SIDES.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 await expect(services.gamePlaysMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n });\n});" }, "tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts": { "tests": [ @@ -80401,7 +82033,7 @@ "location": { "start": { "column": 6, - "line": 101 + "line": 103 } } }, @@ -80411,7 +82043,7 @@ "location": { "start": { "column": 6, - "line": 119 + "line": 121 } } }, @@ -80421,7 +82053,7 @@ "location": { "start": { "column": 6, - "line": 137 + "line": 139 } } }, @@ -80431,7 +82063,7 @@ "location": { "start": { "column": 6, - "line": 157 + "line": 159 } } }, @@ -80441,7 +82073,7 @@ "location": { "start": { "column": 6, - "line": 181 + "line": 183 } } }, @@ -80451,7 +82083,7 @@ "location": { "start": { "column": 6, - "line": 195 + "line": 197 } } }, @@ -80461,7 +82093,7 @@ "location": { "start": { "column": 6, - "line": 202 + "line": 204 } } }, @@ -80471,7 +82103,7 @@ "location": { "start": { "column": 6, - "line": 209 + "line": 211 } } }, @@ -80481,7 +82113,7 @@ "location": { "start": { "column": 6, - "line": 216 + "line": 218 } } }, @@ -80491,7 +82123,7 @@ "location": { "start": { "column": 6, - "line": 225 + "line": 227 } } }, @@ -80501,7 +82133,7 @@ "location": { "start": { "column": 6, - "line": 243 + "line": 245 } } }, @@ -80511,7 +82143,7 @@ "location": { "start": { "column": 6, - "line": 269 + "line": 271 } } }, @@ -80521,7 +82153,7 @@ "location": { "start": { "column": 6, - "line": 276 + "line": 278 } } }, @@ -80531,7 +82163,7 @@ "location": { "start": { "column": 6, - "line": 283 + "line": 285 } } }, @@ -80541,7 +82173,7 @@ "location": { "start": { "column": 6, - "line": 289 + "line": 291 } } }, @@ -80551,403 +82183,403 @@ "location": { "start": { "column": 6, - "line": 296 + "line": 298 } } }, { "id": "242", - "name": "Player Killer Service getAncientLivesCountAgainstWerewolves should return same amount of lives when no werewolves attack against ancient.", + "name": "Player Killer Service removePlayerAttributesAfterDeath should remove player attributes which need to be removed after death when called.", "location": { "start": { "column": 6, - "line": 305 + "line": 307 } } }, { "id": "243", - "name": "Player Killer Service getAncientLivesCountAgainstWerewolves should return amount of lives minus one when ancient was attacked three times but protected once and saved by witch once.", + "name": "Player Killer Service getAncientLivesCountAgainstWerewolves should return same amount of lives when no werewolves attack against ancient.", "location": { "start": { "column": 6, - "line": 322 + "line": 329 } } }, { "id": "244", - "name": "Player Killer Service getAncientLivesCountAgainstWerewolves should return amount of lives minus one when ancient was attacked but not protected and killed by witch.", + "name": "Player Killer Service getAncientLivesCountAgainstWerewolves should return amount of lives minus one when ancient was attacked three times but protected once and saved by witch once.", "location": { "start": { "column": 6, - "line": 358 + "line": 346 } } }, { "id": "245", - "name": "Player Killer Service isIdiotKillable should return true when idiot is already revealed.", + "name": "Player Killer Service getAncientLivesCountAgainstWerewolves should return amount of lives minus one when ancient was attacked but not protected and killed by witch.", "location": { "start": { "column": 6, - "line": 377 + "line": 382 } } }, { "id": "246", - "name": "Player Killer Service isIdiotKillable should return true when idiot is killed by other cause than a vote.", + "name": "Player Killer Service isIdiotKillable should return true when idiot is already revealed.", "location": { "start": { "column": 6, - "line": 384 + "line": 401 } } }, { "id": "247", - "name": "Player Killer Service isIdiotKillable should return true when idiot is killed by vote but powerless.", + "name": "Player Killer Service isIdiotKillable should return true when idiot is killed by other cause than a vote.", "location": { "start": { "column": 6, - "line": 390 + "line": 408 } } }, { "id": "248", - "name": "Player Killer Service isIdiotKillable should return false when idiot is not revealed, dies from votes and is not powerless.", + "name": "Player Killer Service isIdiotKillable should return true when idiot is killed by vote but powerless.", "location": { "start": { "column": 6, - "line": 396 + "line": 414 } } }, { "id": "249", - "name": "Player Killer Service canPlayerBeEaten should return false when player is saved by the witch.", + "name": "Player Killer Service isIdiotKillable should return false when idiot is not revealed, dies from votes and is not powerless.", "location": { "start": { "column": 6, - "line": 404 + "line": 420 } } }, { "id": "250", - "name": "Player Killer Service canPlayerBeEaten should return false when player is protected by guard and is not little girl.", + "name": "Player Killer Service canPlayerBeEaten should return false when player is saved by the witch.", "location": { "start": { "column": 6, - "line": 411 + "line": 428 } } }, { "id": "251", - "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.", + "name": "Player Killer Service canPlayerBeEaten should return false when player is protected by guard and is not little girl.", "location": { "start": { "column": 6, - "line": 419 + "line": 435 } } }, { "id": "252", - "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.", + "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": { "column": 6, - "line": 427 + "line": 443 } } }, { "id": "253", - "name": "Player Killer Service canPlayerBeEaten should return true when player defenseless.", + "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": { "column": 6, - "line": 435 + "line": 451 } } }, { "id": "254", - "name": "Player Killer Service isPlayerKillable should return false when cause is EATEN and player can't be eaten.", + "name": "Player Killer Service canPlayerBeEaten should return true when player defenseless.", "location": { "start": { "column": 6, - "line": 444 + "line": 459 } } }, { "id": "255", - "name": "Player Killer Service isPlayerKillable should not call can player be eaten validator when cause is not EATEN.", + "name": "Player Killer Service isPlayerKillable should return false when cause is EATEN and player can't be eaten.", "location": { "start": { "column": 6, - "line": 452 + "line": 468 } } }, { "id": "256", - "name": "Player Killer Service isPlayerKillable should call is idiot killable when player is an idiot.", + "name": "Player Killer Service isPlayerKillable should not call can player be eaten validator when cause is not EATEN.", "location": { "start": { "column": 6, - "line": 461 + "line": 476 } } }, { "id": "257", - "name": "Player Killer Service isPlayerKillable should not call is idiot killable when player is not an idiot.", + "name": "Player Killer Service isPlayerKillable should call is idiot killable when player is an idiot.", "location": { "start": { "column": 6, - "line": 470 + "line": 485 } } }, { "id": "258", - "name": "Player Killer Service isPlayerKillable should call is ancient killable when player is an ancient.", + "name": "Player Killer Service isPlayerKillable should not call is idiot killable when player is not an idiot.", "location": { "start": { "column": 6, - "line": 479 + "line": 494 } } }, { "id": "259", - "name": "Player Killer Service isPlayerKillable should not call is ancient killable when player is not an ancient.", + "name": "Player Killer Service isPlayerKillable should call is ancient killable when player is an ancient.", "location": { "start": { "column": 6, - "line": 488 + "line": 503 } } }, { "id": "260", - "name": "Player Killer Service isPlayerKillable should return true when there are no contraindications.", + "name": "Player Killer Service isPlayerKillable should not call is ancient killable when player is not an ancient.", "location": { "start": { "column": 6, - "line": 497 + "line": 512 } } }, { "id": "261", - "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when killed player doesn't have the worshiped attribute.", + "name": "Player Killer Service isPlayerKillable should return true when there are no contraindications.", "location": { "start": { "column": 6, - "line": 506 + "line": 521 } } }, { "id": "262", - "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when there is no wild child player.", + "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when killed player doesn't have the worshiped attribute.", "location": { "start": { "column": 6, - "line": 518 + "line": 530 } } }, { "id": "263", - "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when wild child player is dead.", + "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when there is no wild child player.", "location": { "start": { "column": 6, - "line": 530 + "line": 542 } } }, { "id": "264", - "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when wild child player is powerless.", + "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when wild child player is dead.", "location": { "start": { "column": 6, - "line": 542 + "line": 554 } } }, { "id": "265", - "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should transform wild child to a werewolf sided player when called.", + "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when wild child player is powerless.", "location": { "start": { "column": 6, - "line": 554 + "line": 566 } } }, { "id": "266", - "name": "Player Killer Service applyInLovePlayerDeathOutcomes should return game as is when killed player doesn't have the in love attribute.", + "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should transform wild child to a werewolf sided player when called.", "location": { "start": { "column": 6, - "line": 580 + "line": 578 } } }, { "id": "267", - "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.", + "name": "Player Killer Service applyInLovePlayerDeathOutcomes should return game as is when killed player doesn't have the in love attribute.", "location": { "start": { "column": 6, - "line": 592 + "line": 604 } } }, { "id": "268", - "name": "Player Killer Service applyInLovePlayerDeathOutcomes should return game as is when the other lover is not found because he is dead.", + "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": { "column": 6, - "line": 604 + "line": 616 } } }, { "id": "269", - "name": "Player Killer Service applyInLovePlayerDeathOutcomes should kill the other lover when called.", + "name": "Player Killer Service applyInLovePlayerDeathOutcomes should return game as is when the other lover is not found because he is dead.", "location": { "start": { "column": 6, - "line": 616 + "line": 628 } } }, { "id": "270", - "name": "Player Killer Service applySheriffPlayerDeathOutcomes should return game as is when player is not the sheriff.", + "name": "Player Killer Service applyInLovePlayerDeathOutcomes should kill the other lover when called.", "location": { "start": { "column": 6, - "line": 632 + "line": 640 } } }, { "id": "271", - "name": "Player Killer Service applySheriffPlayerDeathOutcomes should return game as is when player is idiot and not powerless.", + "name": "Player Killer Service applySheriffPlayerDeathOutcomes should return game as is when player is not the sheriff.", "location": { "start": { "column": 6, - "line": 644 + "line": 656 } } }, { "id": "272", - "name": "Player Killer Service applySheriffPlayerDeathOutcomes should prepend sheriff election game play when called with powerless idiot.", + "name": "Player Killer Service applySheriffPlayerDeathOutcomes should return game as is when player is idiot and not powerless.", "location": { "start": { "column": 6, - "line": 656 + "line": 668 } } }, { "id": "273", - "name": "Player Killer Service applySheriffPlayerDeathOutcomes should prepend sheriff election game play when called with any other role.", + "name": "Player Killer Service applySheriffPlayerDeathOutcomes should prepend sheriff election game play when called with powerless idiot.", "location": { "start": { "column": 6, - "line": 672 + "line": 680 } } }, { "id": "274", - "name": "Player Killer Service applyPlayerAttributesDeathOutcomes should call no methods when player doesn't have the right attributes.", + "name": "Player Killer Service applySheriffPlayerDeathOutcomes should prepend sheriff election game play when called with any other role.", "location": { "start": { "column": 6, - "line": 698 + "line": 696 } } }, { "id": "275", - "name": "Player Killer Service applyPlayerAttributesDeathOutcomes should call all methods when player have all attributes.", + "name": "Player Killer Service applyPlayerAttributesDeathOutcomes should call no methods when player doesn't have the right attributes.", "location": { "start": { "column": 6, - "line": 713 + "line": 722 } } }, { "id": "276", - "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when killed player is not rusty sword knight.", + "name": "Player Killer Service applyPlayerAttributesDeathOutcomes should call all methods when player have all attributes.", "location": { "start": { "column": 6, - "line": 741 + "line": 737 } } }, { "id": "277", - "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when killed player is powerless.", + "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when killed player is not rusty sword knight.", "location": { "start": { "column": 6, - "line": 754 + "line": 765 } } }, { "id": "278", - "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when death cause is not eaten.", + "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when killed player is powerless.", "location": { "start": { "column": 6, - "line": 767 + "line": 778 } } }, { "id": "279", - "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when no left alive werewolf is found.", + "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when death cause is not eaten.", "location": { "start": { "column": 6, - "line": 780 + "line": 791 } } }, { "id": "280", - "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game with first left alive werewolf player with contaminated attribute when called.", + "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when no left alive werewolf is found.", "location": { "start": { "column": 6, - "line": 793 + "line": 804 } } }, { "id": "281", - "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player is not scapegoat.", + "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game with first left alive werewolf player with contaminated attribute when called.", "location": { "start": { "column": 6, @@ -80957,231 +82589,241 @@ }, { "id": "282", - "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player is powerless.", + "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player is not scapegoat.", "location": { "start": { "column": 6, - "line": 830 + "line": 841 } } }, { "id": "283", - "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player was not scapegoated.", + "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player is powerless.", "location": { "start": { "column": 6, - "line": 843 + "line": 854 } } }, { "id": "284", - "name": "Player Killer Service applyScapegoatDeathOutcomes should return game with upcoming scapegoat bans votes play when called.", + "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player was not scapegoated.", "location": { "start": { "column": 6, - "line": 856 + "line": 867 } } }, { "id": "285", - "name": "Player Killer Service applyAncientDeathOutcomes should return game as is when killed player is not ancient.", + "name": "Player Killer Service applyScapegoatDeathOutcomes should return game with upcoming scapegoat bans votes play when called.", "location": { "start": { "column": 6, - "line": 876 + "line": 880 } } }, { "id": "286", - "name": "Player Killer Service applyAncientDeathOutcomes should return game as is when killed player is powerless.", + "name": "Player Killer Service applyAncientDeathOutcomes should return game as is when killed player is not ancient.", "location": { "start": { "column": 6, - "line": 892 + "line": 900 } } }, { "id": "287", - "name": "Player Killer Service applyAncientDeathOutcomes should return game as is when ancient doesn't take his revenge and idiot is not revealed.", + "name": "Player Killer Service applyAncientDeathOutcomes should return game as is when killed player is powerless.", "location": { "start": { "column": 6, - "line": 908 + "line": 916 } } }, { "id": "288", - "name": "Player Killer Service applyAncientDeathOutcomes should game as is when ancient doesn't take his revenge from game options.", + "name": "Player Killer Service applyAncientDeathOutcomes should return game as is when ancient doesn't take his revenge and idiot is not revealed.", "location": { "start": { "column": 6, - "line": 921 + "line": 932 } } }, { "id": "289", - "name": "Player Killer Service applyAncientDeathOutcomes should return game with all villagers powerless when ancient takes his revenge.", + "name": "Player Killer Service applyAncientDeathOutcomes should game as is when ancient doesn't take his revenge from game options.", "location": { "start": { "column": 6, - "line": 935 + "line": 945 } } }, { "id": "290", - "name": "Player Killer Service applyAncientDeathOutcomes should return game as is when idiot was revealed before but doesn't die on ancient death thanks to game options.", + "name": "Player Killer Service applyAncientDeathOutcomes should return game with all villagers powerless when ancient takes his revenge.", "location": { "start": { "column": 6, - "line": 960 + "line": 959 } } }, { "id": "291", - "name": "Player Killer Service applyAncientDeathOutcomes should return game with killed idiot when idiot was revealed before.", + "name": "Player Killer Service applyAncientDeathOutcomes should return game as is when idiot was revealed before but doesn't die on ancient death thanks to game options.", "location": { "start": { "column": 6, - "line": 979 + "line": 984 } } }, { "id": "292", - "name": "Player Killer Service applyHunterDeathOutcomes should return game as is when killed player is not hunter.", + "name": "Player Killer Service applyAncientDeathOutcomes should return game with killed idiot when idiot was revealed before.", "location": { "start": { "column": 6, - "line": 1000 + "line": 1003 } } }, { "id": "293", - "name": "Player Killer Service applyHunterDeathOutcomes should return game as is when killed player powerless.", + "name": "Player Killer Service applyHunterDeathOutcomes should return game as is when killed player is not hunter.", "location": { "start": { "column": 6, - "line": 1012 + "line": 1024 } } }, { "id": "294", - "name": "Player Killer Service applyHunterDeathOutcomes should return game with upcoming hunter shoots play when called.", + "name": "Player Killer Service applyHunterDeathOutcomes should return game as is when killed player powerless.", "location": { "start": { "column": 6, - "line": 1024 + "line": 1036 } } }, { "id": "295", - "name": "Player Killer Service applyPlayerRoleDeathOutcomes should return game as is without calling role method outcomes when killed player doesn't have the right role.", + "name": "Player Killer Service applyHunterDeathOutcomes should return game with upcoming hunter shoots play when called.", "location": { "start": { "column": 6, - "line": 1050 + "line": 1048 } } }, { "id": "296", - "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed hunter outcomes method when killed player is hunter.", + "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": { "column": 6, - "line": 1067 + "line": 1074 } } }, { "id": "297", - "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed ancient outcomes method when killed player is ancient.", + "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed hunter outcomes method when killed player is hunter.", "location": { "start": { "column": 6, - "line": 1084 + "line": 1091 } } }, { "id": "298", - "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed scapegoat outcomes method when killed player is scapegoat.", + "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed ancient outcomes method when killed player is ancient.", "location": { "start": { "column": 6, - "line": 1100 + "line": 1108 } } }, { "id": "299", - "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed rusty sword knight outcomes method when killed player is rusty sword knight.", + "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed scapegoat outcomes method when killed player is scapegoat.", "location": { "start": { "column": 6, - "line": 1117 + "line": 1124 } } }, { "id": "300", - "name": "Player Killer Service applyPlayerDeathOutcomes should call player death outcomes methods when called.", + "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed rusty sword knight outcomes method when killed player is rusty sword knight.", "location": { "start": { "column": 6, - "line": 1136 + "line": 1141 } } }, { "id": "301", - "name": "Player Killer Service killPlayer should set player to dead and call death outcomes method when called.", + "name": "Player Killer Service applyPlayerDeathOutcomes should call player death outcomes methods when called.", "location": { "start": { "column": 6, - "line": 1161 + "line": 1160 } } }, { "id": "302", - "name": "Player Killer Service getPlayerToKillInGame should throw error when player is already dead.", + "name": "Player Killer Service killPlayer should set player to dead and call death outcomes method when called.", "location": { "start": { "column": 6, - "line": 1189 + "line": 1185 } } }, { "id": "303", + "name": "Player Killer Service getPlayerToKillInGame should throw error when player is already dead.", + "location": { + "start": { + "column": 6, + "line": 1215 + } + } + }, + { + "id": "304", "name": "Player Killer Service getPlayerToKillInGame should get player to kill when called.", "location": { "start": { "column": 6, - "line": 1208 + "line": 1234 } } } ], - "source": "import type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport { WITCH_POTIONS } from \"../../../../../../../../src/modules/game/enums/game-play.enum\";\nimport { PLAYER_DEATH_CAUSES } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport * as GameHelper from \"../../../../../../../../src/modules/game/helpers/game.helper\";\nimport * as GameMutator from \"../../../../../../../../src/modules/game/helpers/game.mutator\";\nimport { createPowerlessByAncientPlayerAttribute, createWorshipedByWildChildPlayerAttribute } from \"../../../../../../../../src/modules/game/helpers/player/player-attribute/player-attribute.factory\";\nimport { GameHistoryRecordService } from \"../../../../../../../../src/modules/game/providers/services/game-history/game-history-record.service\";\nimport { PlayerKillerService } from \"../../../../../../../../src/modules/game/providers/services/player/player-killer.service\";\nimport type { Game } from \"../../../../../../../../src/modules/game/schemas/game.schema\";\nimport type { Player } from \"../../../../../../../../src/modules/game/schemas/player/player.schema\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport { UNEXPECTED_EXCEPTION_REASONS } from \"../../../../../../../../src/shared/exception/enums/unexpected-exception.enum\";\nimport * as UnexpectedExceptionFactory from \"../../../../../../../../src/shared/exception/helpers/unexpected-exception.factory\";\nimport { UnexpectedException } from \"../../../../../../../../src/shared/exception/types/unexpected-exception.type\";\nimport { createFakeGameHistoryRecord, createFakeGameHistoryRecordGuardProtectPlay, createFakeGameHistoryRecordPlayTarget, createFakeGameHistoryRecordWerewolvesEatPlay, createFakeGameHistoryRecordWitchUsePotionsPlay } from \"../../../../../../../factories/game/schemas/game-history-record/game-history-record.schema.factory\";\nimport { createFakeGameOptions } from \"../../../../../../../factories/game/schemas/game-options/game-options.schema.factory\";\nimport { createFakeAncientGameOptions, createFakeIdiotGameOptions, createFakeLittleGirlGameOptions, createFakeRolesGameOptions } from \"../../../../../../../factories/game/schemas/game-options/game-roles-options.schema.factory\";\nimport { createFakeGamePlayHunterShoots, createFakeGamePlayScapegoatBansVoting, createFakeGamePlaySheriffDelegates } from \"../../../../../../../factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeCantVoteByAllPlayerAttribute, createFakeContaminatedByRustySwordKnightPlayerAttribute, createFakeDrankLifePotionByWitchPlayerAttribute, createFakeInLoveByCupidPlayerAttribute, createFakePowerlessByAncientPlayerAttribute, createFakeProtectedByGuardPlayerAttribute, createFakeSheriffByAllPlayerAttribute, createFakeWorshipedByWildChildPlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakePlayerBrokenHeartByCupidDeath, createFakePlayerDeathPotionByWitchDeath, createFakePlayerEatenByWerewolvesDeath, createFakePlayerReconsiderPardonByAllDeath, createFakePlayerVoteByAllDeath, createFakePlayerVoteScapegoatedByAllDeath } from \"../../../../../../../factories/game/schemas/player/player-death/player-death.schema.factory\";\nimport { createFakeAncientAlivePlayer, createFakeGuardAlivePlayer, createFakeHunterAlivePlayer, createFakeIdiotAlivePlayer, createFakeLittleGirlAlivePlayer, createFakeRustySwordKnightAlivePlayer, createFakeScapegoatAlivePlayer, createFakeSeerAlivePlayer, createFakeVillagerVillagerAlivePlayer, createFakeWerewolfAlivePlayer, createFakeWildChildAlivePlayer, createFakeWitchAlivePlayer } from \"../../../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { createFakePlayer, createFakePlayerRole, createFakePlayerSide } from \"../../../../../../../factories/game/schemas/player/player.schema.factory\";\n\ndescribe(\"Player Killer Service\", () => {\n let mocks: {\n playerKillerService: {\n getPlayerToKillInGame: jest.SpyInstance;\n isPlayerKillable: jest.SpyInstance;\n doesPlayerRoleMustBeRevealed: jest.SpyInstance;\n revealPlayerRole: jest.SpyInstance;\n killPlayer: jest.SpyInstance;\n applySheriffPlayerDeathOutcomes: jest.SpyInstance;\n applyInLovePlayerDeathOutcomes: jest.SpyInstance;\n applyWorshipedPlayerDeathOutcomes: jest.SpyInstance;\n applyHunterDeathOutcomes: jest.SpyInstance;\n applyAncientDeathOutcomes: jest.SpyInstance;\n applyScapegoatDeathOutcomes: jest.SpyInstance;\n applyRustySwordKnightDeathOutcomes: jest.SpyInstance;\n };\n gameHistoryRecordService: {\n getGameHistoryWerewolvesEatAncientRecords: jest.SpyInstance;\n getGameHistoryAncientProtectedFromWerewolvesRecords: jest.SpyInstance;\n };\n gameHelper: {\n getPlayerWithIdOrThrow: jest.SpyInstance;\n };\n unexpectedExceptionFactory: {\n createCantFindPlayerUnexpectedException: jest.SpyInstance;\n };\n };\n let services: { playerKiller: PlayerKillerService };\n\n beforeEach(async() => {\n mocks = {\n playerKillerService: {\n getPlayerToKillInGame: jest.fn(),\n isPlayerKillable: jest.fn(),\n doesPlayerRoleMustBeRevealed: jest.fn(),\n revealPlayerRole: jest.fn(),\n killPlayer: jest.fn(),\n applySheriffPlayerDeathOutcomes: jest.fn(),\n applyInLovePlayerDeathOutcomes: jest.fn(),\n applyWorshipedPlayerDeathOutcomes: jest.fn(),\n applyHunterDeathOutcomes: jest.fn(),\n applyAncientDeathOutcomes: jest.fn(),\n applyScapegoatDeathOutcomes: jest.fn(),\n applyRustySwordKnightDeathOutcomes: jest.fn(),\n },\n gameHistoryRecordService: {\n getGameHistoryWerewolvesEatAncientRecords: jest.fn(),\n getGameHistoryAncientProtectedFromWerewolvesRecords: jest.fn(),\n },\n gameHelper: { getPlayerWithIdOrThrow: jest.fn() },\n unexpectedExceptionFactory: { createCantFindPlayerUnexpectedException: jest.fn() },\n };\n \n const module: TestingModule = await Test.createTestingModule({\n providers: [\n PlayerKillerService,\n {\n provide: GameHistoryRecordService,\n useValue: mocks.gameHistoryRecordService,\n },\n ],\n }).compile();\n\n services = { playerKiller: module.get(PlayerKillerService) };\n });\n\n describe(\"killOrRevealPlayer\", () => {\n beforeEach(() => {\n mocks.playerKillerService.getPlayerToKillInGame = jest.spyOn(services.playerKiller as unknown as { getPlayerToKillInGame }, \"getPlayerToKillInGame\");\n mocks.playerKillerService.isPlayerKillable = jest.spyOn(services.playerKiller as unknown as { isPlayerKillable }, \"isPlayerKillable\");\n mocks.playerKillerService.killPlayer = jest.spyOn(services.playerKiller as unknown as { killPlayer }, \"killPlayer\");\n mocks.playerKillerService.doesPlayerRoleMustBeRevealed = jest.spyOn(services.playerKiller as unknown as { doesPlayerRoleMustBeRevealed }, \"doesPlayerRoleMustBeRevealed\");\n mocks.playerKillerService.revealPlayerRole = jest.spyOn(services.playerKiller as unknown as { revealPlayerRole }, \"revealPlayerRole\");\n });\n\n it(\"should return game as is when player can't be revealed or killed.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n mocks.playerKillerService.getPlayerToKillInGame.mockReturnValue(players[0]);\n mocks.playerKillerService.isPlayerKillable.mockReturnValue(false);\n mocks.playerKillerService.doesPlayerRoleMustBeRevealed.mockReturnValue(false);\n\n await expect(services.playerKiller.killOrRevealPlayer(players[0]._id, game, death)).resolves.toStrictEqual(game);\n expect(mocks.playerKillerService.killPlayer).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.revealPlayerRole).not.toHaveBeenCalled();\n });\n\n it(\"should call kill method when player is killable.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n mocks.playerKillerService.getPlayerToKillInGame.mockReturnValue(players[0]);\n mocks.playerKillerService.isPlayerKillable.mockReturnValue(true);\n mocks.playerKillerService.doesPlayerRoleMustBeRevealed.mockReturnValue(true);\n\n await services.playerKiller.killOrRevealPlayer(players[0]._id, game, death);\n expect(mocks.playerKillerService.killPlayer).toHaveBeenCalledExactlyOnceWith(players[0], game, death);\n expect(mocks.playerKillerService.revealPlayerRole).not.toHaveBeenCalled();\n });\n\n it(\"should call reveal role method when player role must be revealed.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n mocks.playerKillerService.getPlayerToKillInGame.mockReturnValue(players[0]);\n mocks.playerKillerService.isPlayerKillable.mockReturnValue(false);\n mocks.playerKillerService.doesPlayerRoleMustBeRevealed.mockReturnValue(true);\n\n await services.playerKiller.killOrRevealPlayer(players[0]._id, game, death);\n expect(mocks.playerKillerService.killPlayer).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.revealPlayerRole).toHaveBeenCalledExactlyOnceWith(players[0], game);\n });\n });\n\n describe(\"applyPlayerRoleRevelationOutcomes\", () => {\n it(\"should add can't vote attribute when player is idiot.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer({\n ...players[0],\n attributes: [createFakeCantVoteByAllPlayerAttribute()],\n }),\n game.players[1],\n game.players[2],\n game.players[3],\n ],\n });\n\n expect(services.playerKiller[\"applyPlayerRoleRevelationOutcomes\"](game.players[0], game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return the game as is when player is not an idiot.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyPlayerRoleRevelationOutcomes\"](game.players[1], game)).toStrictEqual(game);\n });\n });\n \n describe(\"isAncientKillable\", () => {\n it(\"should return true when cause is not EATEN.\", async() => {\n const game = createFakeGame();\n jest.spyOn(services.playerKiller as unknown as { getAncientLivesCountAgainstWerewolves }, \"getAncientLivesCountAgainstWerewolves\").mockReturnValue(2);\n\n await expect(services.playerKiller.isAncientKillable(game, PLAYER_DEATH_CAUSES.VOTE)).resolves.toBe(true);\n });\n\n it(\"should return false when cause is EATEN but ancient still have at least one life left.\", async() => {\n const game = createFakeGame();\n jest.spyOn(services.playerKiller as unknown as { getAncientLivesCountAgainstWerewolves }, \"getAncientLivesCountAgainstWerewolves\").mockReturnValue(2);\n\n await expect(services.playerKiller.isAncientKillable(game, PLAYER_DEATH_CAUSES.EATEN)).resolves.toBe(false);\n });\n\n it(\"should return true when cause is EATEN but ancient has only one life left.\", async() => {\n const game = createFakeGame();\n jest.spyOn(services.playerKiller as unknown as { getAncientLivesCountAgainstWerewolves }, \"getAncientLivesCountAgainstWerewolves\").mockReturnValue(1);\n\n await expect(services.playerKiller.isAncientKillable(game, PLAYER_DEATH_CAUSES.EATEN)).resolves.toBe(true);\n });\n\n it(\"should return true when cause is EATEN but ancient has 0 life left.\", async() => {\n const game = createFakeGame();\n jest.spyOn(services.playerKiller as unknown as { getAncientLivesCountAgainstWerewolves }, \"getAncientLivesCountAgainstWerewolves\").mockReturnValue(0);\n\n await expect(services.playerKiller.isAncientKillable(game, PLAYER_DEATH_CAUSES.EATEN)).resolves.toBe(true);\n });\n });\n\n describe(\"revealPlayerRole\", () => {\n it(\"should throw error when player to reveal is not found among players.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const unknownPlayer = createFakePlayer();\n const interpolations = { gameId: game._id.toString(), playerId: unknownPlayer._id.toString() };\n const exception = new UnexpectedException(\"revealPlayerRole\", UNEXPECTED_EXCEPTION_REASONS.CANT_FIND_PLAYER_WITH_ID_IN_GAME, interpolations);\n\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException = jest.spyOn(UnexpectedExceptionFactory, \"createCantFindPlayerUnexpectedException\").mockReturnValue(exception);\n\n expect(() => services.playerKiller[\"revealPlayerRole\"](unknownPlayer, game)).toThrow(exception);\n expect(mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"revealPlayerRole\", interpolations);\n });\n\n it(\"should reveal player role when called.\", () => {\n const players = [\n createFakeWildChildAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer({\n ...players[0],\n role: createFakePlayerRole({ ...players[0].role, isRevealed: true }),\n }),\n game.players[1],\n game.players[2],\n game.players[3],\n ],\n });\n\n expect(services.playerKiller[\"revealPlayerRole\"](players[0], game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"doesPlayerRoleMustBeRevealed\", () => {\n it(\"should return false when player role is already revealed.\", () => {\n const player = createFakeVillagerVillagerAlivePlayer();\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"doesPlayerRoleMustBeRevealed\"](player, death)).toBe(false);\n });\n\n it(\"should return false when player role is not idiot.\", () => {\n const player = createFakeSeerAlivePlayer();\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"doesPlayerRoleMustBeRevealed\"](player, death)).toBe(false);\n });\n\n it(\"should return false when player role is idiot but powerless.\", () => {\n const player = createFakeIdiotAlivePlayer({ attributes: [createPowerlessByAncientPlayerAttribute()] });\n const death = createFakePlayerVoteByAllDeath();\n expect(services.playerKiller[\"doesPlayerRoleMustBeRevealed\"](player, death)).toBe(false);\n });\n\n it(\"should return false when player role is idiot but death cause is not vote.\", () => {\n const player = createFakeIdiotAlivePlayer();\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n expect(services.playerKiller[\"doesPlayerRoleMustBeRevealed\"](player, death)).toBe(false);\n });\n\n it(\"should return true when player role is idiot and death cause is not vote.\", () => {\n const player = createFakeIdiotAlivePlayer();\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"doesPlayerRoleMustBeRevealed\"](player, death)).toBe(true);\n });\n });\n\n describe(\"getAncientLivesCountAgainstWerewolves\", () => {\n it(\"should return same amount of lives when no werewolves attack against ancient.\", async() => {\n const livesCountAgainstWerewolves = 3;\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: createFakeAncientGameOptions({ livesCountAgainstWerewolves }) }) });\n const game = createFakeGame({ options });\n const gameHistoryRecordPlayAncientTarget = createFakeGameHistoryRecordPlayTarget({ player: createFakeAncientAlivePlayer() });\n const ancientProtectedFromWerewolvesRecords = [\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordGuardProtectPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 1,\n }),\n ];\n mocks.gameHistoryRecordService.getGameHistoryWerewolvesEatAncientRecords.mockResolvedValue([]);\n mocks.gameHistoryRecordService.getGameHistoryAncientProtectedFromWerewolvesRecords.mockResolvedValue(ancientProtectedFromWerewolvesRecords);\n\n await expect(services.playerKiller[\"getAncientLivesCountAgainstWerewolves\"](game)).resolves.toBe(3);\n });\n\n it(\"should return amount of lives minus one when ancient was attacked three times but protected once and saved by witch once.\", async() => {\n const livesCountAgainstWerewolves = 3;\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: createFakeAncientGameOptions({ livesCountAgainstWerewolves }) }) });\n const game = createFakeGame({ options });\n const gameHistoryRecordPlayAncientTarget = createFakeGameHistoryRecordPlayTarget({ player: createFakeAncientAlivePlayer() });\n const gameHistoryRecordPlayAncientDrankLifePotionTarget = createFakeGameHistoryRecordPlayTarget({ ...gameHistoryRecordPlayAncientTarget, drankPotion: WITCH_POTIONS.LIFE });\n const werewolvesEatAncientRecords = [\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 1,\n }),\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 2,\n }),\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 3,\n }),\n ];\n const ancientProtectedFromWerewolvesRecords = [\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordGuardProtectPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 1,\n }),\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: [gameHistoryRecordPlayAncientDrankLifePotionTarget] }),\n turn: 2,\n }),\n ];\n mocks.gameHistoryRecordService.getGameHistoryWerewolvesEatAncientRecords.mockResolvedValue(werewolvesEatAncientRecords);\n mocks.gameHistoryRecordService.getGameHistoryAncientProtectedFromWerewolvesRecords.mockResolvedValue(ancientProtectedFromWerewolvesRecords);\n\n await expect(services.playerKiller[\"getAncientLivesCountAgainstWerewolves\"](game)).resolves.toBe(2);\n });\n\n it(\"should return amount of lives minus one when ancient was attacked but not protected and killed by witch.\", async() => {\n const livesCountAgainstWerewolves = 3;\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: createFakeAncientGameOptions({ livesCountAgainstWerewolves }) }) });\n const game = createFakeGame({ options });\n const gameHistoryRecordPlayAncientTarget = createFakeGameHistoryRecordPlayTarget({ player: createFakeAncientAlivePlayer() });\n const werewolvesEatAncientRecords = [\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 1,\n }),\n ];\n mocks.gameHistoryRecordService.getGameHistoryWerewolvesEatAncientRecords.mockResolvedValue(werewolvesEatAncientRecords);\n mocks.gameHistoryRecordService.getGameHistoryAncientProtectedFromWerewolvesRecords.mockResolvedValue([]);\n \n await expect(services.playerKiller[\"getAncientLivesCountAgainstWerewolves\"](game)).resolves.toBe(2);\n });\n });\n\n describe(\"isIdiotKillable\", () => {\n it(\"should return true when idiot is already revealed.\", () => {\n const player = createFakeIdiotAlivePlayer();\n player.role.isRevealed = true;\n\n expect(services.playerKiller[\"isIdiotKillable\"](player, PLAYER_DEATH_CAUSES.VOTE)).toBe(true);\n });\n\n it(\"should return true when idiot is killed by other cause than a vote.\", () => {\n const player = createFakeIdiotAlivePlayer();\n\n expect(services.playerKiller[\"isIdiotKillable\"](player, PLAYER_DEATH_CAUSES.DEATH_POTION)).toBe(true);\n });\n\n it(\"should return true when idiot is killed by vote but powerless.\", () => {\n const player = createFakeIdiotAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] });\n\n expect(services.playerKiller[\"isIdiotKillable\"](player, PLAYER_DEATH_CAUSES.VOTE)).toBe(true);\n });\n\n it(\"should return false when idiot is not revealed, dies from votes and is not powerless.\", () => {\n const player = createFakeIdiotAlivePlayer();\n\n expect(services.playerKiller[\"isIdiotKillable\"](player, PLAYER_DEATH_CAUSES.VOTE)).toBe(false);\n });\n });\n\n describe(\"canPlayerBeEaten\", () => {\n it(\"should return false when player is saved by the witch.\", () => {\n const player = createFakeSeerAlivePlayer({ attributes: [createFakeDrankLifePotionByWitchPlayerAttribute()] });\n const game = createFakeGame();\n\n expect(services.playerKiller[\"canPlayerBeEaten\"](player, game)).toBe(false);\n });\n\n it(\"should return false when player is protected by guard and is not little girl.\", () => {\n const player = createFakeSeerAlivePlayer({ attributes: [createFakeProtectedByGuardPlayerAttribute()] });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ littleGirl: createFakeLittleGirlGameOptions({ isProtectedByGuard: false }) }) });\n const game = createFakeGame({ options });\n\n expect(services.playerKiller[\"canPlayerBeEaten\"](player, game)).toBe(false);\n });\n\n it(\"should return false when player is protected by guard, is little girl but game options allows guard to protect her.\", () => {\n const player = createFakeLittleGirlAlivePlayer({ attributes: [createFakeProtectedByGuardPlayerAttribute()] });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ littleGirl: createFakeLittleGirlGameOptions({ isProtectedByGuard: true }) }) });\n const game = createFakeGame({ options });\n\n expect(services.playerKiller[\"canPlayerBeEaten\"](player, game)).toBe(false);\n });\n\n it(\"should return true when player is protected by guard, is little girl but game options doesn't allow guard to protect her.\", () => {\n const player = createFakeLittleGirlAlivePlayer({ attributes: [createFakeProtectedByGuardPlayerAttribute()] });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ littleGirl: createFakeLittleGirlGameOptions({ isProtectedByGuard: false }) }) });\n const game = createFakeGame({ options });\n\n expect(services.playerKiller[\"canPlayerBeEaten\"](player, game)).toBe(true);\n });\n\n it(\"should return true when player defenseless.\", () => {\n const player = createFakeSeerAlivePlayer({ attributes: [] });\n const game = createFakeGame();\n\n expect(services.playerKiller[\"canPlayerBeEaten\"](player, game)).toBe(true);\n });\n });\n\n describe(\"isPlayerKillable\", () => {\n it(\"should return false when cause is EATEN and player can't be eaten.\", async() => {\n jest.spyOn(services.playerKiller as unknown as { canPlayerBeEaten }, \"canPlayerBeEaten\").mockReturnValue(false);\n const player = createFakePlayer();\n const game = createFakeGame();\n\n await expect(services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.EATEN)).resolves.toBe(false);\n });\n\n it(\"should not call can player be eaten validator when cause is not EATEN.\", async() => {\n const canPlayerBeEatenMock = jest.spyOn(services.playerKiller as unknown as { canPlayerBeEaten }, \"canPlayerBeEaten\").mockReturnValue(false);\n const player = createFakePlayer();\n const game = createFakeGame();\n await services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE);\n\n expect(canPlayerBeEatenMock).not.toHaveBeenCalled();\n });\n\n it(\"should call is idiot killable when player is an idiot.\", async() => {\n const isIdiotKillableMock = jest.spyOn(services.playerKiller as unknown as { isIdiotKillable }, \"isIdiotKillable\").mockReturnValue(false);\n const player = createFakeIdiotAlivePlayer();\n const game = createFakeGame();\n await services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE);\n\n expect(isIdiotKillableMock).toHaveBeenCalledExactlyOnceWith(player, PLAYER_DEATH_CAUSES.VOTE);\n });\n\n it(\"should not call is idiot killable when player is not an idiot.\", async() => {\n const isIdiotKillableMock = jest.spyOn(services.playerKiller as unknown as { isIdiotKillable }, \"isIdiotKillable\").mockReturnValue(false);\n const player = createFakeSeerAlivePlayer();\n const game = createFakeGame();\n await services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE);\n\n expect(isIdiotKillableMock).not.toHaveBeenCalled();\n });\n\n it(\"should call is ancient killable when player is an ancient.\", async() => {\n const isAncientKillableMock = jest.spyOn(services.playerKiller as unknown as { isAncientKillable }, \"isAncientKillable\").mockReturnValue(false);\n const player = createFakeAncientAlivePlayer();\n const game = createFakeGame();\n await services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE);\n\n expect(isAncientKillableMock).toHaveBeenCalledExactlyOnceWith(game, PLAYER_DEATH_CAUSES.VOTE);\n });\n\n it(\"should not call is ancient killable when player is not an ancient.\", async() => {\n const isAncientKillableMock = jest.spyOn(services.playerKiller as unknown as { isAncientKillable }, \"isAncientKillable\").mockReturnValue(false);\n const player = createFakeSeerAlivePlayer();\n const game = createFakeGame();\n await services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE);\n\n expect(isAncientKillableMock).not.toHaveBeenCalled();\n });\n\n it(\"should return true when there are no contraindications.\", async() => {\n const player = createFakeSeerAlivePlayer();\n const game = createFakeGame();\n\n await expect(services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE)).resolves.toBe(true);\n });\n });\n\n describe(\"applyWorshipedPlayerDeathOutcomes\", () => {\n it(\"should return game as is when killed player doesn't have the worshiped attribute.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWildChildAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer({ attributes: [createWorshipedByWildChildPlayerAttribute()] }),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyWorshipedPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no wild child player.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createWorshipedByWildChildPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWitchAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyWorshipedPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when wild child player is dead.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createWorshipedByWildChildPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWildChildAlivePlayer({ isAlive: false }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyWorshipedPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when wild child player is powerless.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createWorshipedByWildChildPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWildChildAlivePlayer({ attributes: [createPowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyWorshipedPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should transform wild child to a werewolf sided player when called.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createWorshipedByWildChildPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWildChildAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n game.players[0],\n game.players[1],\n game.players[2],\n createFakePlayer({\n ...game.players[3],\n side: createFakePlayerSide({ ...game.players[3].side, current: ROLE_SIDES.WEREWOLVES }),\n }),\n ],\n });\n\n expect(services.playerKiller[\"applyWorshipedPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"applyInLovePlayerDeathOutcomes\", () => {\n it(\"should return game as is when killed player doesn't have the in love attribute.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyInLovePlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when the other lover is not found because no other one has the in love attribute.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyInLovePlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when the other lover is not found because he is dead.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()], isAlive: false }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyInLovePlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should kill the other lover when called.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n mocks.playerKillerService.killPlayer = jest.spyOn(services.playerKiller as unknown as { killPlayer }, \"killPlayer\").mockImplementation();\n services.playerKiller[\"applyInLovePlayerDeathOutcomes\"](players[1], game);\n\n expect(mocks.playerKillerService.killPlayer).toHaveBeenCalledExactlyOnceWith(players[0], game, createFakePlayerBrokenHeartByCupidDeath());\n });\n });\n\n describe(\"applySheriffPlayerDeathOutcomes\", () => {\n it(\"should return game as is when player is not the sheriff.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applySheriffPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when player is idiot and not powerless.\", () => {\n const players = [\n createFakeIdiotAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applySheriffPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should prepend sheriff election game play when called with powerless idiot.\", () => {\n const players = [\n createFakeIdiotAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute(), createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGame({ players, upcomingPlays });\n\n expect(services.playerKiller[\"applySheriffPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(createFakeGame({\n ...game,\n upcomingPlays: [createFakeGamePlaySheriffDelegates(), ...game.upcomingPlays],\n }));\n });\n\n it(\"should prepend sheriff election game play when called with any other role.\", () => {\n const players = [\n createFakeWildChildAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGame({ players, upcomingPlays });\n\n expect(services.playerKiller[\"applySheriffPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(createFakeGame({\n ...game,\n upcomingPlays: [createFakeGamePlaySheriffDelegates(), ...game.upcomingPlays],\n }));\n });\n });\n\n describe(\"applyPlayerAttributesDeathOutcomes\", () => {\n beforeEach(() => {\n mocks.playerKillerService.applySheriffPlayerDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applySheriffPlayerDeathOutcomes }, \"applySheriffPlayerDeathOutcomes\").mockImplementation();\n mocks.playerKillerService.applyInLovePlayerDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyInLovePlayerDeathOutcomes }, \"applyInLovePlayerDeathOutcomes\").mockImplementation();\n mocks.playerKillerService.applyWorshipedPlayerDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyWorshipedPlayerDeathOutcomes }, \"applyWorshipedPlayerDeathOutcomes\").mockImplementation();\n mocks.gameHelper.getPlayerWithIdOrThrow = jest.spyOn(GameHelper, \"getPlayerWithIdOrThrow\").mockImplementation();\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException = jest.spyOn(UnexpectedExceptionFactory, \"createCantFindPlayerUnexpectedException\").mockImplementation();\n });\n\n it(\"should call no methods when player doesn't have the right attributes.\", () => {\n const players = [\n createFakeIdiotAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n services.playerKiller[\"applyPlayerAttributesDeathOutcomes\"](game.players[0], game);\n expect(mocks.playerKillerService.applySheriffPlayerDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyInLovePlayerDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyWorshipedPlayerDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).not.toHaveBeenCalled();\n });\n\n it(\"should call all methods when player have all attributes.\", () => {\n const players = [\n createFakeIdiotAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute(), createFakeInLoveByCupidPlayerAttribute(), createFakeWorshipedByWildChildPlayerAttribute()] }),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const interpolations = { gameId: game._id.toString(), playerId: players[2]._id.toString() };\n const exception = new UnexpectedException(\"applyPlayerAttributesDeathOutcomes\", UNEXPECTED_EXCEPTION_REASONS.CANT_FIND_PLAYER_WITH_ID_IN_GAME, interpolations);\n\n mocks.playerKillerService.applySheriffPlayerDeathOutcomes.mockReturnValue(game);\n mocks.playerKillerService.applyInLovePlayerDeathOutcomes.mockReturnValue(game);\n mocks.playerKillerService.applyWorshipedPlayerDeathOutcomes.mockReturnValue(game);\n mocks.gameHelper.getPlayerWithIdOrThrow.mockReturnValue(game.players[2]);\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException.mockReturnValue(exception);\n services.playerKiller[\"applyPlayerAttributesDeathOutcomes\"](game.players[2], game);\n\n expect(mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"applyPlayerAttributesDeathOutcomes\", interpolations);\n expect(mocks.playerKillerService.applySheriffPlayerDeathOutcomes).toHaveBeenCalledExactlyOnceWith(game.players[2], game);\n expect(mocks.playerKillerService.applyInLovePlayerDeathOutcomes).toHaveBeenCalledExactlyOnceWith(game.players[2], game);\n expect(mocks.playerKillerService.applyWorshipedPlayerDeathOutcomes).toHaveBeenCalledExactlyOnceWith(game.players[2], game);\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenNthCalledWith(1, game.players[2]._id, game, exception);\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenNthCalledWith(2, game.players[2]._id, game, exception);\n });\n });\n\n describe(\"applyRustySwordKnightDeathOutcomes\", () => {\n it(\"should return game as is when killed player is not rusty sword knight.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerEatenByWerewolvesDeath();\n\n expect(services.playerKiller[\"applyRustySwordKnightDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when killed player is powerless.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerEatenByWerewolvesDeath();\n\n expect(services.playerKiller[\"applyRustySwordKnightDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when death cause is not eaten.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"applyRustySwordKnightDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when no left alive werewolf is found.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer(),\n createFakeWerewolfAlivePlayer({ isAlive: false }),\n createFakeWerewolfAlivePlayer({ isAlive: false }),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerEatenByWerewolvesDeath();\n\n expect(services.playerKiller[\"applyRustySwordKnightDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game with first left alive werewolf player with contaminated attribute when called.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n createFakeGuardAlivePlayer({ position: 4 }),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerEatenByWerewolvesDeath();\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n players[1],\n createFakePlayer({ ...players[2], attributes: [createFakeContaminatedByRustySwordKnightPlayerAttribute()] }),\n players[3],\n ],\n });\n\n expect(services.playerKiller[\"applyRustySwordKnightDeathOutcomes\"](players[0], game, death)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"applyScapegoatDeathOutcomes\", () => {\n it(\"should return game as is when killed player is not scapegoat.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerVoteScapegoatedByAllDeath();\n\n expect(services.playerKiller[\"applyScapegoatDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when killed player is powerless.\", () => {\n const players = [\n createFakeScapegoatAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerVoteScapegoatedByAllDeath();\n\n expect(services.playerKiller[\"applyScapegoatDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when killed player was not scapegoated.\", () => {\n const players = [\n createFakeScapegoatAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"applyScapegoatDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game with upcoming scapegoat bans votes play when called.\", () => {\n const players = [\n createFakeScapegoatAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGame({ players, upcomingPlays });\n const death = createFakePlayerVoteScapegoatedByAllDeath();\n const expectedGame = createFakeGame({\n ...game,\n upcomingPlays: [createFakeGamePlayScapegoatBansVoting(), ...upcomingPlays],\n });\n\n expect(services.playerKiller[\"applyScapegoatDeathOutcomes\"](players[0], game, death)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"applyAncientDeathOutcomes\", () => {\n it(\"should return game as is when killed player is not ancient.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeIdiotAlivePlayer({ role: createFakePlayerRole({ isRevealed: true, current: ROLE_NAMES.IDIOT, original: ROLE_NAMES.IDIOT }) }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const ancientOptions = createFakeAncientGameOptions({ doesTakeHisRevenge: true });\n const idiotOptions = createFakeIdiotGameOptions({ doesDieOnAncientDeath: true });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ idiot: idiotOptions, ancient: ancientOptions }) });\n const game = createFakeGame({ players, options });\n const death = createFakePlayerVoteScapegoatedByAllDeath();\n\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when killed player is powerless.\", () => {\n const players = [\n createFakeAncientAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeIdiotAlivePlayer({ role: createFakePlayerRole({ isRevealed: true, current: ROLE_NAMES.IDIOT, original: ROLE_NAMES.IDIOT }) }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const ancientOptions = createFakeAncientGameOptions({ doesTakeHisRevenge: true });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: ancientOptions }) });\n const game = createFakeGame({ players, options });\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when ancient doesn't take his revenge and idiot is not revealed.\", () => {\n const players = [\n createFakeAncientAlivePlayer(),\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerEatenByWerewolvesDeath();\n\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should game as is when ancient doesn't take his revenge from game options.\", () => {\n const players = [\n createFakeAncientAlivePlayer({ isAlive: false }),\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n createFakeSeerAlivePlayer({ isAlive: false }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: createFakeAncientGameOptions({ doesTakeHisRevenge: false }) }) });\n const game = createFakeGame({ players, options });\n const death = createFakePlayerDeathPotionByWitchDeath();\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game with all villagers powerless when ancient takes his revenge.\", () => {\n const players = [\n createFakeAncientAlivePlayer({ isAlive: false }),\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n createFakeSeerAlivePlayer({ isAlive: false }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: createFakeAncientGameOptions({ doesTakeHisRevenge: true }) }) });\n const game = createFakeGame({ players, options });\n const death = createFakePlayerDeathPotionByWitchDeath();\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n createFakePlayer({ ...players[1], attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n players[2],\n createFakePlayer({ ...players[3], attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakePlayer(players[4]),\n ],\n });\n\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when idiot was revealed before but doesn't die on ancient death thanks to game options.\", () => {\n const players = [\n createFakeAncientAlivePlayer({ isAlive: false }),\n createFakeIdiotAlivePlayer({ role: createFakePlayerRole({ isRevealed: true, current: ROLE_NAMES.IDIOT, original: ROLE_NAMES.IDIOT }) }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n createFakeSeerAlivePlayer({ isAlive: false }),\n ];\n const ancientOptions = createFakeAncientGameOptions({ doesTakeHisRevenge: false });\n const idiotOptions = createFakeIdiotGameOptions({ doesDieOnAncientDeath: false });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: ancientOptions, idiot: idiotOptions }) });\n const game = createFakeGame({ players, options });\n mocks.playerKillerService.killPlayer = jest.spyOn(services.playerKiller as unknown as { killPlayer }, \"killPlayer\").mockImplementation();\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n expect(mocks.playerKillerService.killPlayer).not.toHaveBeenCalled();\n });\n\n it(\"should return game with killed idiot when idiot was revealed before.\", () => {\n const players = [\n createFakeAncientAlivePlayer({ isAlive: false }),\n createFakeIdiotAlivePlayer({ role: createFakePlayerRole({ isRevealed: true, current: ROLE_NAMES.IDIOT, original: ROLE_NAMES.IDIOT }) }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n createFakeSeerAlivePlayer({ isAlive: false }),\n ];\n const ancientOptions = createFakeAncientGameOptions({ doesTakeHisRevenge: false });\n const idiotOptions = createFakeIdiotGameOptions({ doesDieOnAncientDeath: true });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: ancientOptions, idiot: idiotOptions }) });\n const game = createFakeGame({ players, options });\n mocks.playerKillerService.killPlayer = jest.spyOn(services.playerKiller as unknown as { killPlayer }, \"killPlayer\").mockImplementation();\n const death = createFakePlayerDeathPotionByWitchDeath();\n services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death);\n\n expect(mocks.playerKillerService.killPlayer).toHaveBeenCalledExactlyOnceWith(players[1], game, createFakePlayerReconsiderPardonByAllDeath());\n });\n });\n\n describe(\"applyHunterDeathOutcomes\", () => {\n it(\"should return game as is when killed player is not hunter.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyHunterDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when killed player powerless.\", () => {\n const players = [\n createFakeHunterAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyHunterDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game with upcoming hunter shoots play when called.\", () => {\n const players = [\n createFakeHunterAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const upcomingPlays = [createFakeGamePlayScapegoatBansVoting()];\n const game = createFakeGame({ players, upcomingPlays });\n const expectedGame = createFakeGame({\n ...game,\n upcomingPlays: [createFakeGamePlayHunterShoots(), ...upcomingPlays],\n });\n\n expect(services.playerKiller[\"applyHunterDeathOutcomes\"](players[0], game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"applyPlayerRoleDeathOutcomes\", () => {\n beforeEach(() => {\n mocks.playerKillerService.applyHunterDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyHunterDeathOutcomes }, \"applyHunterDeathOutcomes\").mockImplementation();\n mocks.playerKillerService.applyAncientDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyAncientDeathOutcomes }, \"applyAncientDeathOutcomes\").mockImplementation();\n mocks.playerKillerService.applyScapegoatDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyScapegoatDeathOutcomes }, \"applyScapegoatDeathOutcomes\").mockImplementation();\n mocks.playerKillerService.applyRustySwordKnightDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyRustySwordKnightDeathOutcomes }, \"applyRustySwordKnightDeathOutcomes\").mockImplementation();\n });\n\n it(\"should return game as is without calling role method outcomes when killed player doesn't have the right role.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n expect(services.playerKiller[\"applyPlayerRoleDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n expect(mocks.playerKillerService.applyHunterDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyAncientDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyScapegoatDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyRustySwordKnightDeathOutcomes).not.toHaveBeenCalled();\n });\n\n it(\"should call killed hunter outcomes method when killed player is hunter.\", () => {\n const players = [\n createFakeHunterAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n services.playerKiller[\"applyPlayerRoleDeathOutcomes\"](players[0], game, death);\n\n expect(mocks.playerKillerService.applyHunterDeathOutcomes).toHaveBeenCalledExactlyOnceWith(players[0], game);\n expect(mocks.playerKillerService.applyAncientDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyScapegoatDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyRustySwordKnightDeathOutcomes).not.toHaveBeenCalled();\n });\n\n it(\"should call killed ancient outcomes method when killed player is ancient.\", () => {\n const players = [\n createFakeAncientAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n services.playerKiller[\"applyPlayerRoleDeathOutcomes\"](players[0], game, death);\n expect(mocks.playerKillerService.applyAncientDeathOutcomes).toHaveBeenCalledExactlyOnceWith(players[0], game, death);\n expect(mocks.playerKillerService.applyHunterDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyScapegoatDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyRustySwordKnightDeathOutcomes).not.toHaveBeenCalled();\n });\n\n it(\"should call killed scapegoat outcomes method when killed player is scapegoat.\", () => {\n const players = [\n createFakeScapegoatAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n services.playerKiller[\"applyPlayerRoleDeathOutcomes\"](players[0], game, death);\n\n expect(mocks.playerKillerService.applyScapegoatDeathOutcomes).toHaveBeenCalledExactlyOnceWith(players[0], game, death);\n expect(mocks.playerKillerService.applyHunterDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyAncientDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyRustySwordKnightDeathOutcomes).not.toHaveBeenCalled();\n });\n\n it(\"should call killed rusty sword knight outcomes method when killed player is rusty sword knight.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n services.playerKiller[\"applyPlayerRoleDeathOutcomes\"](players[0], game, death);\n\n expect(mocks.playerKillerService.applyRustySwordKnightDeathOutcomes).toHaveBeenCalledExactlyOnceWith(players[0], game, death);\n expect(mocks.playerKillerService.applyHunterDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyAncientDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyScapegoatDeathOutcomes).not.toHaveBeenCalled();\n });\n });\n\n describe(\"applyPlayerDeathOutcomes\", () => {\n it(\"should call player death outcomes methods when called.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n const exception = new UnexpectedException(\"applyPlayerAttributesDeathOutcomes\", UNEXPECTED_EXCEPTION_REASONS.CANT_FIND_PLAYER_WITH_ID_IN_GAME, { gameId: game._id.toString(), playerId: players[0]._id.toString() });\n\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException = jest.spyOn(UnexpectedExceptionFactory, \"createCantFindPlayerUnexpectedException\").mockReturnValue(exception);\n const applyPlayerRoleDeathOutcomesMock = jest.spyOn(services.playerKiller as unknown as { applyPlayerRoleDeathOutcomes }, \"applyPlayerRoleDeathOutcomes\").mockReturnValue(game);\n mocks.gameHelper.getPlayerWithIdOrThrow = jest.spyOn(GameHelper, \"getPlayerWithIdOrThrow\").mockReturnValue(players[0]);\n const applyPlayerAttributesDeathOutcomesMock = jest.spyOn(services.playerKiller as unknown as { applyPlayerAttributesDeathOutcomes }, \"applyPlayerAttributesDeathOutcomes\").mockImplementation();\n services.playerKiller[\"applyPlayerDeathOutcomes\"](players[0], game, death);\n\n expect(mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"applyPlayerDeathOutcomes\", { gameId: game._id, playerId: players[0]._id });\n expect(applyPlayerRoleDeathOutcomesMock).toHaveBeenCalledExactlyOnceWith(players[0], game, death);\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenCalledExactlyOnceWith(players[0]._id, game, exception);\n expect(applyPlayerAttributesDeathOutcomesMock).toHaveBeenCalledExactlyOnceWith(players[0], game);\n });\n });\n\n describe(\"killPlayer\", () => {\n it(\"should set player to dead and call death outcomes method when called.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n const exception = new UnexpectedException(\"applyPlayerAttributesDeathOutcomes\", UNEXPECTED_EXCEPTION_REASONS.CANT_FIND_PLAYER_WITH_ID_IN_GAME, { gameId: game._id.toString(), playerId: players[0]._id.toString() });\n const expectedKilledPlayer = createFakePlayer({ ...players[0], isAlive: false, role: createFakePlayerRole({ ...players[0].role, isRevealed: true }), death });\n\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException = jest.spyOn(UnexpectedExceptionFactory, \"createCantFindPlayerUnexpectedException\").mockReturnValue(exception);\n const updatePlayerInGameMock = jest.spyOn(GameMutator, \"updatePlayerInGame\").mockReturnValue(game);\n mocks.gameHelper.getPlayerWithIdOrThrow = jest.spyOn(GameHelper, \"getPlayerWithIdOrThrow\").mockReturnValue(expectedKilledPlayer);\n const applyPlayerDeathOutcomesMock = jest.spyOn(services.playerKiller as unknown as { applyPlayerDeathOutcomes }, \"applyPlayerDeathOutcomes\").mockReturnValue(game);\n services.playerKiller[\"killPlayer\"](players[0], game, death);\n\n expect(mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"killPlayer\", { gameId: game._id, playerId: players[0]._id });\n expect(updatePlayerInGameMock).toHaveBeenNthCalledWith(1, players[0]._id, expectedKilledPlayer, game);\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenNthCalledWith(1, expectedKilledPlayer._id, game, exception);\n expect(applyPlayerDeathOutcomesMock).toHaveBeenCalledExactlyOnceWith(expectedKilledPlayer, game, death);\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenNthCalledWith(2, expectedKilledPlayer._id, game, exception);\n expect(updatePlayerInGameMock).toHaveBeenNthCalledWith(2, players[0]._id, { attributes: [] }, game);\n });\n });\n\n describe(\"getPlayerToKillInGame\", () => {\n it(\"should throw error when player is already dead.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer({ isAlive: false }),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const exceptionInterpolations = { gameId: game._id.toString(), playerId: players[1]._id.toString() };\n const cantFindPlayerException = new UnexpectedException(\"getPlayerToKillInGame\", UNEXPECTED_EXCEPTION_REASONS.CANT_FIND_PLAYER_WITH_ID_IN_GAME, exceptionInterpolations);\n const playerIsDeadException = new UnexpectedException(\"getPlayerToKillInGame\", UNEXPECTED_EXCEPTION_REASONS.PLAYER_IS_DEAD, exceptionInterpolations);\n\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException = jest.spyOn(UnexpectedExceptionFactory, \"createCantFindPlayerUnexpectedException\").mockReturnValue(cantFindPlayerException);\n const createPlayerIsDeadUnexpectedExceptionMock = jest.spyOn(UnexpectedExceptionFactory, \"createPlayerIsDeadUnexpectedException\").mockReturnValue(playerIsDeadException);\n\n expect(() => services.playerKiller[\"getPlayerToKillInGame\"](players[1]._id, game)).toThrow(playerIsDeadException);\n expect(mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"getPlayerToKillInGame\", exceptionInterpolations);\n expect(createPlayerIsDeadUnexpectedExceptionMock).toHaveBeenCalledExactlyOnceWith(\"getPlayerToKillInGame\", exceptionInterpolations);\n });\n\n it(\"should get player to kill when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"getPlayerToKillInGame\"](players[1]._id, game)).toStrictEqual(players[1]);\n });\n });\n});" + "source": "import type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport { WITCH_POTIONS } from \"../../../../../../../../src/modules/game/enums/game-play.enum\";\nimport { PLAYER_DEATH_CAUSES } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport * as GameHelper from \"../../../../../../../../src/modules/game/helpers/game.helper\";\nimport * as GameMutator from \"../../../../../../../../src/modules/game/helpers/game.mutator\";\nimport { createPowerlessByAncientPlayerAttribute, createWorshipedByWildChildPlayerAttribute } from \"../../../../../../../../src/modules/game/helpers/player/player-attribute/player-attribute.factory\";\nimport { GameHistoryRecordService } from \"../../../../../../../../src/modules/game/providers/services/game-history/game-history-record.service\";\nimport { PlayerKillerService } from \"../../../../../../../../src/modules/game/providers/services/player/player-killer.service\";\nimport type { Game } from \"../../../../../../../../src/modules/game/schemas/game.schema\";\nimport type { Player } from \"../../../../../../../../src/modules/game/schemas/player/player.schema\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport { UNEXPECTED_EXCEPTION_REASONS } from \"../../../../../../../../src/shared/exception/enums/unexpected-exception.enum\";\nimport * as UnexpectedExceptionFactory from \"../../../../../../../../src/shared/exception/helpers/unexpected-exception.factory\";\nimport { UnexpectedException } from \"../../../../../../../../src/shared/exception/types/unexpected-exception.type\";\nimport { createFakeGameHistoryRecord, createFakeGameHistoryRecordGuardProtectPlay, createFakeGameHistoryRecordPlayTarget, createFakeGameHistoryRecordWerewolvesEatPlay, createFakeGameHistoryRecordWitchUsePotionsPlay } from \"../../../../../../../factories/game/schemas/game-history-record/game-history-record.schema.factory\";\nimport { createFakeGameOptions } from \"../../../../../../../factories/game/schemas/game-options/game-options.schema.factory\";\nimport { createFakeAncientGameOptions, createFakeIdiotGameOptions, createFakeLittleGirlGameOptions, createFakeRolesGameOptions } from \"../../../../../../../factories/game/schemas/game-options/game-roles-options.schema.factory\";\nimport { createFakeGamePlayHunterShoots, createFakeGamePlayScapegoatBansVoting, createFakeGamePlaySheriffDelegates } from \"../../../../../../../factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeCantVoteByAllPlayerAttribute, createFakeContaminatedByRustySwordKnightPlayerAttribute, createFakeDrankLifePotionByWitchPlayerAttribute, createFakeInLoveByCupidPlayerAttribute, createFakePowerlessByAncientPlayerAttribute, createFakeProtectedByGuardPlayerAttribute, createFakeSheriffByAllPlayerAttribute, createFakeWorshipedByWildChildPlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakePlayerBrokenHeartByCupidDeath, createFakePlayerDeathPotionByWitchDeath, createFakePlayerEatenByWerewolvesDeath, createFakePlayerReconsiderPardonByAllDeath, createFakePlayerVoteByAllDeath, createFakePlayerVoteScapegoatedByAllDeath } from \"../../../../../../../factories/game/schemas/player/player-death/player-death.schema.factory\";\nimport { createFakeAncientAlivePlayer, createFakeGuardAlivePlayer, createFakeHunterAlivePlayer, createFakeIdiotAlivePlayer, createFakeLittleGirlAlivePlayer, createFakeRustySwordKnightAlivePlayer, createFakeScapegoatAlivePlayer, createFakeSeerAlivePlayer, createFakeVillagerVillagerAlivePlayer, createFakeWerewolfAlivePlayer, createFakeWildChildAlivePlayer, createFakeWitchAlivePlayer } from \"../../../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { createFakePlayer, createFakePlayerRole, createFakePlayerSide } from \"../../../../../../../factories/game/schemas/player/player.schema.factory\";\n\ndescribe(\"Player Killer Service\", () => {\n let mocks: {\n playerKillerService: {\n getPlayerToKillInGame: jest.SpyInstance;\n isPlayerKillable: jest.SpyInstance;\n doesPlayerRoleMustBeRevealed: jest.SpyInstance;\n removePlayerAttributesAfterDeath: jest.SpyInstance;\n revealPlayerRole: jest.SpyInstance;\n killPlayer: jest.SpyInstance;\n applySheriffPlayerDeathOutcomes: jest.SpyInstance;\n applyInLovePlayerDeathOutcomes: jest.SpyInstance;\n applyWorshipedPlayerDeathOutcomes: jest.SpyInstance;\n applyHunterDeathOutcomes: jest.SpyInstance;\n applyAncientDeathOutcomes: jest.SpyInstance;\n applyScapegoatDeathOutcomes: jest.SpyInstance;\n applyRustySwordKnightDeathOutcomes: jest.SpyInstance;\n };\n gameHistoryRecordService: {\n getGameHistoryWerewolvesEatAncientRecords: jest.SpyInstance;\n getGameHistoryAncientProtectedFromWerewolvesRecords: jest.SpyInstance;\n };\n gameHelper: {\n getPlayerWithIdOrThrow: jest.SpyInstance;\n };\n unexpectedExceptionFactory: {\n createCantFindPlayerUnexpectedException: jest.SpyInstance;\n };\n };\n let services: { playerKiller: PlayerKillerService };\n\n beforeEach(async() => {\n mocks = {\n playerKillerService: {\n getPlayerToKillInGame: jest.fn(),\n isPlayerKillable: jest.fn(),\n doesPlayerRoleMustBeRevealed: jest.fn(),\n removePlayerAttributesAfterDeath: jest.fn(),\n revealPlayerRole: jest.fn(),\n killPlayer: jest.fn(),\n applySheriffPlayerDeathOutcomes: jest.fn(),\n applyInLovePlayerDeathOutcomes: jest.fn(),\n applyWorshipedPlayerDeathOutcomes: jest.fn(),\n applyHunterDeathOutcomes: jest.fn(),\n applyAncientDeathOutcomes: jest.fn(),\n applyScapegoatDeathOutcomes: jest.fn(),\n applyRustySwordKnightDeathOutcomes: jest.fn(),\n },\n gameHistoryRecordService: {\n getGameHistoryWerewolvesEatAncientRecords: jest.fn(),\n getGameHistoryAncientProtectedFromWerewolvesRecords: jest.fn(),\n },\n gameHelper: { getPlayerWithIdOrThrow: jest.fn() },\n unexpectedExceptionFactory: { createCantFindPlayerUnexpectedException: jest.fn() },\n };\n \n const module: TestingModule = await Test.createTestingModule({\n providers: [\n PlayerKillerService,\n {\n provide: GameHistoryRecordService,\n useValue: mocks.gameHistoryRecordService,\n },\n ],\n }).compile();\n\n services = { playerKiller: module.get(PlayerKillerService) };\n });\n\n describe(\"killOrRevealPlayer\", () => {\n beforeEach(() => {\n mocks.playerKillerService.getPlayerToKillInGame = jest.spyOn(services.playerKiller as unknown as { getPlayerToKillInGame }, \"getPlayerToKillInGame\");\n mocks.playerKillerService.isPlayerKillable = jest.spyOn(services.playerKiller as unknown as { isPlayerKillable }, \"isPlayerKillable\");\n mocks.playerKillerService.killPlayer = jest.spyOn(services.playerKiller as unknown as { killPlayer }, \"killPlayer\");\n mocks.playerKillerService.doesPlayerRoleMustBeRevealed = jest.spyOn(services.playerKiller as unknown as { doesPlayerRoleMustBeRevealed }, \"doesPlayerRoleMustBeRevealed\");\n mocks.playerKillerService.revealPlayerRole = jest.spyOn(services.playerKiller as unknown as { revealPlayerRole }, \"revealPlayerRole\");\n });\n\n it(\"should return game as is when player can't be revealed or killed.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n mocks.playerKillerService.getPlayerToKillInGame.mockReturnValue(players[0]);\n mocks.playerKillerService.isPlayerKillable.mockReturnValue(false);\n mocks.playerKillerService.doesPlayerRoleMustBeRevealed.mockReturnValue(false);\n\n await expect(services.playerKiller.killOrRevealPlayer(players[0]._id, game, death)).resolves.toStrictEqual(game);\n expect(mocks.playerKillerService.killPlayer).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.revealPlayerRole).not.toHaveBeenCalled();\n });\n\n it(\"should call kill method when player is killable.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n mocks.playerKillerService.getPlayerToKillInGame.mockReturnValue(players[0]);\n mocks.playerKillerService.isPlayerKillable.mockReturnValue(true);\n mocks.playerKillerService.doesPlayerRoleMustBeRevealed.mockReturnValue(true);\n\n await services.playerKiller.killOrRevealPlayer(players[0]._id, game, death);\n expect(mocks.playerKillerService.killPlayer).toHaveBeenCalledExactlyOnceWith(players[0], game, death);\n expect(mocks.playerKillerService.revealPlayerRole).not.toHaveBeenCalled();\n });\n\n it(\"should call reveal role method when player role must be revealed.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n mocks.playerKillerService.getPlayerToKillInGame.mockReturnValue(players[0]);\n mocks.playerKillerService.isPlayerKillable.mockReturnValue(false);\n mocks.playerKillerService.doesPlayerRoleMustBeRevealed.mockReturnValue(true);\n\n await services.playerKiller.killOrRevealPlayer(players[0]._id, game, death);\n expect(mocks.playerKillerService.killPlayer).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.revealPlayerRole).toHaveBeenCalledExactlyOnceWith(players[0], game);\n });\n });\n\n describe(\"applyPlayerRoleRevelationOutcomes\", () => {\n it(\"should add can't vote attribute when player is idiot.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer({\n ...players[0],\n attributes: [createFakeCantVoteByAllPlayerAttribute()],\n }),\n game.players[1],\n game.players[2],\n game.players[3],\n ],\n });\n\n expect(services.playerKiller[\"applyPlayerRoleRevelationOutcomes\"](game.players[0], game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return the game as is when player is not an idiot.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyPlayerRoleRevelationOutcomes\"](game.players[1], game)).toStrictEqual(game);\n });\n });\n \n describe(\"isAncientKillable\", () => {\n it(\"should return true when cause is not EATEN.\", async() => {\n const game = createFakeGame();\n jest.spyOn(services.playerKiller as unknown as { getAncientLivesCountAgainstWerewolves }, \"getAncientLivesCountAgainstWerewolves\").mockReturnValue(2);\n\n await expect(services.playerKiller.isAncientKillable(game, PLAYER_DEATH_CAUSES.VOTE)).resolves.toBe(true);\n });\n\n it(\"should return false when cause is EATEN but ancient still have at least one life left.\", async() => {\n const game = createFakeGame();\n jest.spyOn(services.playerKiller as unknown as { getAncientLivesCountAgainstWerewolves }, \"getAncientLivesCountAgainstWerewolves\").mockReturnValue(2);\n\n await expect(services.playerKiller.isAncientKillable(game, PLAYER_DEATH_CAUSES.EATEN)).resolves.toBe(false);\n });\n\n it(\"should return true when cause is EATEN but ancient has only one life left.\", async() => {\n const game = createFakeGame();\n jest.spyOn(services.playerKiller as unknown as { getAncientLivesCountAgainstWerewolves }, \"getAncientLivesCountAgainstWerewolves\").mockReturnValue(1);\n\n await expect(services.playerKiller.isAncientKillable(game, PLAYER_DEATH_CAUSES.EATEN)).resolves.toBe(true);\n });\n\n it(\"should return true when cause is EATEN but ancient has 0 life left.\", async() => {\n const game = createFakeGame();\n jest.spyOn(services.playerKiller as unknown as { getAncientLivesCountAgainstWerewolves }, \"getAncientLivesCountAgainstWerewolves\").mockReturnValue(0);\n\n await expect(services.playerKiller.isAncientKillable(game, PLAYER_DEATH_CAUSES.EATEN)).resolves.toBe(true);\n });\n });\n\n describe(\"revealPlayerRole\", () => {\n it(\"should throw error when player to reveal is not found among players.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const unknownPlayer = createFakePlayer();\n const interpolations = { gameId: game._id.toString(), playerId: unknownPlayer._id.toString() };\n const exception = new UnexpectedException(\"revealPlayerRole\", UNEXPECTED_EXCEPTION_REASONS.CANT_FIND_PLAYER_WITH_ID_IN_GAME, interpolations);\n\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException = jest.spyOn(UnexpectedExceptionFactory, \"createCantFindPlayerUnexpectedException\").mockReturnValue(exception);\n\n expect(() => services.playerKiller[\"revealPlayerRole\"](unknownPlayer, game)).toThrow(exception);\n expect(mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"revealPlayerRole\", interpolations);\n });\n\n it(\"should reveal player role when called.\", () => {\n const players = [\n createFakeWildChildAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer({\n ...players[0],\n role: createFakePlayerRole({ ...players[0].role, isRevealed: true }),\n }),\n game.players[1],\n game.players[2],\n game.players[3],\n ],\n });\n\n expect(services.playerKiller[\"revealPlayerRole\"](players[0], game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"doesPlayerRoleMustBeRevealed\", () => {\n it(\"should return false when player role is already revealed.\", () => {\n const player = createFakeVillagerVillagerAlivePlayer();\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"doesPlayerRoleMustBeRevealed\"](player, death)).toBe(false);\n });\n\n it(\"should return false when player role is not idiot.\", () => {\n const player = createFakeSeerAlivePlayer();\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"doesPlayerRoleMustBeRevealed\"](player, death)).toBe(false);\n });\n\n it(\"should return false when player role is idiot but powerless.\", () => {\n const player = createFakeIdiotAlivePlayer({ attributes: [createPowerlessByAncientPlayerAttribute()] });\n const death = createFakePlayerVoteByAllDeath();\n expect(services.playerKiller[\"doesPlayerRoleMustBeRevealed\"](player, death)).toBe(false);\n });\n\n it(\"should return false when player role is idiot but death cause is not vote.\", () => {\n const player = createFakeIdiotAlivePlayer();\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n expect(services.playerKiller[\"doesPlayerRoleMustBeRevealed\"](player, death)).toBe(false);\n });\n\n it(\"should return true when player role is idiot and death cause is not vote.\", () => {\n const player = createFakeIdiotAlivePlayer();\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"doesPlayerRoleMustBeRevealed\"](player, death)).toBe(true);\n });\n });\n\n describe(\"removePlayerAttributesAfterDeath\", () => {\n it(\"should remove player attributes which need to be removed after death when called.\", () => {\n const player = createFakePlayer({\n isAlive: false,\n attributes: [\n createFakeCantVoteByAllPlayerAttribute({ doesRemainAfterDeath: false }),\n createFakePowerlessByAncientPlayerAttribute(),\n createFakeSheriffByAllPlayerAttribute({ doesRemainAfterDeath: true }),\n ],\n });\n const expectedPlayer = createFakePlayer({\n ...player,\n attributes: [\n player.attributes[1],\n player.attributes[2],\n ],\n });\n \n expect(services.playerKiller[\"removePlayerAttributesAfterDeath\"](player)).toStrictEqual(expectedPlayer);\n });\n });\n\n describe(\"getAncientLivesCountAgainstWerewolves\", () => {\n it(\"should return same amount of lives when no werewolves attack against ancient.\", async() => {\n const livesCountAgainstWerewolves = 3;\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: createFakeAncientGameOptions({ livesCountAgainstWerewolves }) }) });\n const game = createFakeGame({ options });\n const gameHistoryRecordPlayAncientTarget = createFakeGameHistoryRecordPlayTarget({ player: createFakeAncientAlivePlayer() });\n const ancientProtectedFromWerewolvesRecords = [\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordGuardProtectPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 1,\n }),\n ];\n mocks.gameHistoryRecordService.getGameHistoryWerewolvesEatAncientRecords.mockResolvedValue([]);\n mocks.gameHistoryRecordService.getGameHistoryAncientProtectedFromWerewolvesRecords.mockResolvedValue(ancientProtectedFromWerewolvesRecords);\n\n await expect(services.playerKiller[\"getAncientLivesCountAgainstWerewolves\"](game)).resolves.toBe(3);\n });\n\n it(\"should return amount of lives minus one when ancient was attacked three times but protected once and saved by witch once.\", async() => {\n const livesCountAgainstWerewolves = 3;\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: createFakeAncientGameOptions({ livesCountAgainstWerewolves }) }) });\n const game = createFakeGame({ options });\n const gameHistoryRecordPlayAncientTarget = createFakeGameHistoryRecordPlayTarget({ player: createFakeAncientAlivePlayer() });\n const gameHistoryRecordPlayAncientDrankLifePotionTarget = createFakeGameHistoryRecordPlayTarget({ ...gameHistoryRecordPlayAncientTarget, drankPotion: WITCH_POTIONS.LIFE });\n const werewolvesEatAncientRecords = [\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 1,\n }),\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 2,\n }),\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 3,\n }),\n ];\n const ancientProtectedFromWerewolvesRecords = [\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordGuardProtectPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 1,\n }),\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: [gameHistoryRecordPlayAncientDrankLifePotionTarget] }),\n turn: 2,\n }),\n ];\n mocks.gameHistoryRecordService.getGameHistoryWerewolvesEatAncientRecords.mockResolvedValue(werewolvesEatAncientRecords);\n mocks.gameHistoryRecordService.getGameHistoryAncientProtectedFromWerewolvesRecords.mockResolvedValue(ancientProtectedFromWerewolvesRecords);\n\n await expect(services.playerKiller[\"getAncientLivesCountAgainstWerewolves\"](game)).resolves.toBe(2);\n });\n\n it(\"should return amount of lives minus one when ancient was attacked but not protected and killed by witch.\", async() => {\n const livesCountAgainstWerewolves = 3;\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: createFakeAncientGameOptions({ livesCountAgainstWerewolves }) }) });\n const game = createFakeGame({ options });\n const gameHistoryRecordPlayAncientTarget = createFakeGameHistoryRecordPlayTarget({ player: createFakeAncientAlivePlayer() });\n const werewolvesEatAncientRecords = [\n createFakeGameHistoryRecord({\n play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: [gameHistoryRecordPlayAncientTarget] }),\n turn: 1,\n }),\n ];\n mocks.gameHistoryRecordService.getGameHistoryWerewolvesEatAncientRecords.mockResolvedValue(werewolvesEatAncientRecords);\n mocks.gameHistoryRecordService.getGameHistoryAncientProtectedFromWerewolvesRecords.mockResolvedValue([]);\n \n await expect(services.playerKiller[\"getAncientLivesCountAgainstWerewolves\"](game)).resolves.toBe(2);\n });\n });\n\n describe(\"isIdiotKillable\", () => {\n it(\"should return true when idiot is already revealed.\", () => {\n const player = createFakeIdiotAlivePlayer();\n player.role.isRevealed = true;\n\n expect(services.playerKiller[\"isIdiotKillable\"](player, PLAYER_DEATH_CAUSES.VOTE)).toBe(true);\n });\n\n it(\"should return true when idiot is killed by other cause than a vote.\", () => {\n const player = createFakeIdiotAlivePlayer();\n\n expect(services.playerKiller[\"isIdiotKillable\"](player, PLAYER_DEATH_CAUSES.DEATH_POTION)).toBe(true);\n });\n\n it(\"should return true when idiot is killed by vote but powerless.\", () => {\n const player = createFakeIdiotAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] });\n\n expect(services.playerKiller[\"isIdiotKillable\"](player, PLAYER_DEATH_CAUSES.VOTE)).toBe(true);\n });\n\n it(\"should return false when idiot is not revealed, dies from votes and is not powerless.\", () => {\n const player = createFakeIdiotAlivePlayer();\n\n expect(services.playerKiller[\"isIdiotKillable\"](player, PLAYER_DEATH_CAUSES.VOTE)).toBe(false);\n });\n });\n\n describe(\"canPlayerBeEaten\", () => {\n it(\"should return false when player is saved by the witch.\", () => {\n const player = createFakeSeerAlivePlayer({ attributes: [createFakeDrankLifePotionByWitchPlayerAttribute()] });\n const game = createFakeGame();\n\n expect(services.playerKiller[\"canPlayerBeEaten\"](player, game)).toBe(false);\n });\n\n it(\"should return false when player is protected by guard and is not little girl.\", () => {\n const player = createFakeSeerAlivePlayer({ attributes: [createFakeProtectedByGuardPlayerAttribute()] });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ littleGirl: createFakeLittleGirlGameOptions({ isProtectedByGuard: false }) }) });\n const game = createFakeGame({ options });\n\n expect(services.playerKiller[\"canPlayerBeEaten\"](player, game)).toBe(false);\n });\n\n it(\"should return false when player is protected by guard, is little girl but game options allows guard to protect her.\", () => {\n const player = createFakeLittleGirlAlivePlayer({ attributes: [createFakeProtectedByGuardPlayerAttribute()] });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ littleGirl: createFakeLittleGirlGameOptions({ isProtectedByGuard: true }) }) });\n const game = createFakeGame({ options });\n\n expect(services.playerKiller[\"canPlayerBeEaten\"](player, game)).toBe(false);\n });\n\n it(\"should return true when player is protected by guard, is little girl but game options doesn't allow guard to protect her.\", () => {\n const player = createFakeLittleGirlAlivePlayer({ attributes: [createFakeProtectedByGuardPlayerAttribute()] });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ littleGirl: createFakeLittleGirlGameOptions({ isProtectedByGuard: false }) }) });\n const game = createFakeGame({ options });\n\n expect(services.playerKiller[\"canPlayerBeEaten\"](player, game)).toBe(true);\n });\n\n it(\"should return true when player defenseless.\", () => {\n const player = createFakeSeerAlivePlayer({ attributes: [] });\n const game = createFakeGame();\n\n expect(services.playerKiller[\"canPlayerBeEaten\"](player, game)).toBe(true);\n });\n });\n\n describe(\"isPlayerKillable\", () => {\n it(\"should return false when cause is EATEN and player can't be eaten.\", async() => {\n jest.spyOn(services.playerKiller as unknown as { canPlayerBeEaten }, \"canPlayerBeEaten\").mockReturnValue(false);\n const player = createFakePlayer();\n const game = createFakeGame();\n\n await expect(services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.EATEN)).resolves.toBe(false);\n });\n\n it(\"should not call can player be eaten validator when cause is not EATEN.\", async() => {\n const canPlayerBeEatenMock = jest.spyOn(services.playerKiller as unknown as { canPlayerBeEaten }, \"canPlayerBeEaten\").mockReturnValue(false);\n const player = createFakePlayer();\n const game = createFakeGame();\n await services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE);\n\n expect(canPlayerBeEatenMock).not.toHaveBeenCalled();\n });\n\n it(\"should call is idiot killable when player is an idiot.\", async() => {\n const isIdiotKillableMock = jest.spyOn(services.playerKiller as unknown as { isIdiotKillable }, \"isIdiotKillable\").mockReturnValue(false);\n const player = createFakeIdiotAlivePlayer();\n const game = createFakeGame();\n await services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE);\n\n expect(isIdiotKillableMock).toHaveBeenCalledExactlyOnceWith(player, PLAYER_DEATH_CAUSES.VOTE);\n });\n\n it(\"should not call is idiot killable when player is not an idiot.\", async() => {\n const isIdiotKillableMock = jest.spyOn(services.playerKiller as unknown as { isIdiotKillable }, \"isIdiotKillable\").mockReturnValue(false);\n const player = createFakeSeerAlivePlayer();\n const game = createFakeGame();\n await services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE);\n\n expect(isIdiotKillableMock).not.toHaveBeenCalled();\n });\n\n it(\"should call is ancient killable when player is an ancient.\", async() => {\n const isAncientKillableMock = jest.spyOn(services.playerKiller as unknown as { isAncientKillable }, \"isAncientKillable\").mockReturnValue(false);\n const player = createFakeAncientAlivePlayer();\n const game = createFakeGame();\n await services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE);\n\n expect(isAncientKillableMock).toHaveBeenCalledExactlyOnceWith(game, PLAYER_DEATH_CAUSES.VOTE);\n });\n\n it(\"should not call is ancient killable when player is not an ancient.\", async() => {\n const isAncientKillableMock = jest.spyOn(services.playerKiller as unknown as { isAncientKillable }, \"isAncientKillable\").mockReturnValue(false);\n const player = createFakeSeerAlivePlayer();\n const game = createFakeGame();\n await services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE);\n\n expect(isAncientKillableMock).not.toHaveBeenCalled();\n });\n\n it(\"should return true when there are no contraindications.\", async() => {\n const player = createFakeSeerAlivePlayer();\n const game = createFakeGame();\n\n await expect(services.playerKiller[\"isPlayerKillable\"](player, game, PLAYER_DEATH_CAUSES.VOTE)).resolves.toBe(true);\n });\n });\n\n describe(\"applyWorshipedPlayerDeathOutcomes\", () => {\n it(\"should return game as is when killed player doesn't have the worshiped attribute.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWildChildAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer({ attributes: [createWorshipedByWildChildPlayerAttribute()] }),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyWorshipedPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when there is no wild child player.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createWorshipedByWildChildPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWitchAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyWorshipedPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when wild child player is dead.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createWorshipedByWildChildPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWildChildAlivePlayer({ isAlive: false }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyWorshipedPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when wild child player is powerless.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createWorshipedByWildChildPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWildChildAlivePlayer({ attributes: [createPowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyWorshipedPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should transform wild child to a werewolf sided player when called.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createWorshipedByWildChildPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWildChildAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n game.players[0],\n game.players[1],\n game.players[2],\n createFakePlayer({\n ...game.players[3],\n side: createFakePlayerSide({ ...game.players[3].side, current: ROLE_SIDES.WEREWOLVES }),\n }),\n ],\n });\n\n expect(services.playerKiller[\"applyWorshipedPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"applyInLovePlayerDeathOutcomes\", () => {\n it(\"should return game as is when killed player doesn't have the in love attribute.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyInLovePlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when the other lover is not found because no other one has the in love attribute.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyInLovePlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when the other lover is not found because he is dead.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()], isAlive: false }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyInLovePlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should kill the other lover when called.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n mocks.playerKillerService.killPlayer = jest.spyOn(services.playerKiller as unknown as { killPlayer }, \"killPlayer\").mockImplementation();\n services.playerKiller[\"applyInLovePlayerDeathOutcomes\"](players[1], game);\n\n expect(mocks.playerKillerService.killPlayer).toHaveBeenCalledExactlyOnceWith(players[0], game, createFakePlayerBrokenHeartByCupidDeath());\n });\n });\n\n describe(\"applySheriffPlayerDeathOutcomes\", () => {\n it(\"should return game as is when player is not the sheriff.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applySheriffPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when player is idiot and not powerless.\", () => {\n const players = [\n createFakeIdiotAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applySheriffPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should prepend sheriff election game play when called with powerless idiot.\", () => {\n const players = [\n createFakeIdiotAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute(), createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGame({ players, upcomingPlays });\n\n expect(services.playerKiller[\"applySheriffPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(createFakeGame({\n ...game,\n upcomingPlays: [createFakeGamePlaySheriffDelegates(), ...game.upcomingPlays],\n }));\n });\n\n it(\"should prepend sheriff election game play when called with any other role.\", () => {\n const players = [\n createFakeWildChildAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGame({ players, upcomingPlays });\n\n expect(services.playerKiller[\"applySheriffPlayerDeathOutcomes\"](players[0], game)).toStrictEqual(createFakeGame({\n ...game,\n upcomingPlays: [createFakeGamePlaySheriffDelegates(), ...game.upcomingPlays],\n }));\n });\n });\n\n describe(\"applyPlayerAttributesDeathOutcomes\", () => {\n beforeEach(() => {\n mocks.playerKillerService.applySheriffPlayerDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applySheriffPlayerDeathOutcomes }, \"applySheriffPlayerDeathOutcomes\").mockImplementation();\n mocks.playerKillerService.applyInLovePlayerDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyInLovePlayerDeathOutcomes }, \"applyInLovePlayerDeathOutcomes\").mockImplementation();\n mocks.playerKillerService.applyWorshipedPlayerDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyWorshipedPlayerDeathOutcomes }, \"applyWorshipedPlayerDeathOutcomes\").mockImplementation();\n mocks.gameHelper.getPlayerWithIdOrThrow = jest.spyOn(GameHelper, \"getPlayerWithIdOrThrow\").mockImplementation();\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException = jest.spyOn(UnexpectedExceptionFactory, \"createCantFindPlayerUnexpectedException\").mockImplementation();\n });\n\n it(\"should call no methods when player doesn't have the right attributes.\", () => {\n const players = [\n createFakeIdiotAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n services.playerKiller[\"applyPlayerAttributesDeathOutcomes\"](game.players[0], game);\n expect(mocks.playerKillerService.applySheriffPlayerDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyInLovePlayerDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyWorshipedPlayerDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).not.toHaveBeenCalled();\n });\n\n it(\"should call all methods when player have all attributes.\", () => {\n const players = [\n createFakeIdiotAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeInLoveByCupidPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeSheriffByAllPlayerAttribute(), createFakeInLoveByCupidPlayerAttribute(), createFakeWorshipedByWildChildPlayerAttribute()] }),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const interpolations = { gameId: game._id.toString(), playerId: players[2]._id.toString() };\n const exception = new UnexpectedException(\"applyPlayerAttributesDeathOutcomes\", UNEXPECTED_EXCEPTION_REASONS.CANT_FIND_PLAYER_WITH_ID_IN_GAME, interpolations);\n\n mocks.playerKillerService.applySheriffPlayerDeathOutcomes.mockReturnValue(game);\n mocks.playerKillerService.applyInLovePlayerDeathOutcomes.mockReturnValue(game);\n mocks.playerKillerService.applyWorshipedPlayerDeathOutcomes.mockReturnValue(game);\n mocks.gameHelper.getPlayerWithIdOrThrow.mockReturnValue(game.players[2]);\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException.mockReturnValue(exception);\n services.playerKiller[\"applyPlayerAttributesDeathOutcomes\"](game.players[2], game);\n\n expect(mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"applyPlayerAttributesDeathOutcomes\", interpolations);\n expect(mocks.playerKillerService.applySheriffPlayerDeathOutcomes).toHaveBeenCalledExactlyOnceWith(game.players[2], game);\n expect(mocks.playerKillerService.applyInLovePlayerDeathOutcomes).toHaveBeenCalledExactlyOnceWith(game.players[2], game);\n expect(mocks.playerKillerService.applyWorshipedPlayerDeathOutcomes).toHaveBeenCalledExactlyOnceWith(game.players[2], game);\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenNthCalledWith(1, game.players[2]._id, game, exception);\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenNthCalledWith(2, game.players[2]._id, game, exception);\n });\n });\n\n describe(\"applyRustySwordKnightDeathOutcomes\", () => {\n it(\"should return game as is when killed player is not rusty sword knight.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerEatenByWerewolvesDeath();\n\n expect(services.playerKiller[\"applyRustySwordKnightDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when killed player is powerless.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerEatenByWerewolvesDeath();\n\n expect(services.playerKiller[\"applyRustySwordKnightDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when death cause is not eaten.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"applyRustySwordKnightDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when no left alive werewolf is found.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer(),\n createFakeWerewolfAlivePlayer({ isAlive: false }),\n createFakeWerewolfAlivePlayer({ isAlive: false }),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerEatenByWerewolvesDeath();\n\n expect(services.playerKiller[\"applyRustySwordKnightDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game with first left alive werewolf player with contaminated attribute when called.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n createFakeGuardAlivePlayer({ position: 4 }),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerEatenByWerewolvesDeath();\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n players[1],\n createFakePlayer({ ...players[2], attributes: [createFakeContaminatedByRustySwordKnightPlayerAttribute()] }),\n players[3],\n ],\n });\n\n expect(services.playerKiller[\"applyRustySwordKnightDeathOutcomes\"](players[0], game, death)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"applyScapegoatDeathOutcomes\", () => {\n it(\"should return game as is when killed player is not scapegoat.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerVoteScapegoatedByAllDeath();\n\n expect(services.playerKiller[\"applyScapegoatDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when killed player is powerless.\", () => {\n const players = [\n createFakeScapegoatAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerVoteScapegoatedByAllDeath();\n\n expect(services.playerKiller[\"applyScapegoatDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when killed player was not scapegoated.\", () => {\n const players = [\n createFakeScapegoatAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"applyScapegoatDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game with upcoming scapegoat bans votes play when called.\", () => {\n const players = [\n createFakeScapegoatAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGame({ players, upcomingPlays });\n const death = createFakePlayerVoteScapegoatedByAllDeath();\n const expectedGame = createFakeGame({\n ...game,\n upcomingPlays: [createFakeGamePlayScapegoatBansVoting(), ...upcomingPlays],\n });\n\n expect(services.playerKiller[\"applyScapegoatDeathOutcomes\"](players[0], game, death)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"applyAncientDeathOutcomes\", () => {\n it(\"should return game as is when killed player is not ancient.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeIdiotAlivePlayer({ role: createFakePlayerRole({ isRevealed: true, current: ROLE_NAMES.IDIOT, original: ROLE_NAMES.IDIOT }) }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const ancientOptions = createFakeAncientGameOptions({ doesTakeHisRevenge: true });\n const idiotOptions = createFakeIdiotGameOptions({ doesDieOnAncientDeath: true });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ idiot: idiotOptions, ancient: ancientOptions }) });\n const game = createFakeGame({ players, options });\n const death = createFakePlayerVoteScapegoatedByAllDeath();\n\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when killed player is powerless.\", () => {\n const players = [\n createFakeAncientAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeIdiotAlivePlayer({ role: createFakePlayerRole({ isRevealed: true, current: ROLE_NAMES.IDIOT, original: ROLE_NAMES.IDIOT }) }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const ancientOptions = createFakeAncientGameOptions({ doesTakeHisRevenge: true });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: ancientOptions }) });\n const game = createFakeGame({ players, options });\n const death = createFakePlayerVoteByAllDeath();\n\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game as is when ancient doesn't take his revenge and idiot is not revealed.\", () => {\n const players = [\n createFakeAncientAlivePlayer(),\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerEatenByWerewolvesDeath();\n\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should game as is when ancient doesn't take his revenge from game options.\", () => {\n const players = [\n createFakeAncientAlivePlayer({ isAlive: false }),\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n createFakeSeerAlivePlayer({ isAlive: false }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: createFakeAncientGameOptions({ doesTakeHisRevenge: false }) }) });\n const game = createFakeGame({ players, options });\n const death = createFakePlayerDeathPotionByWitchDeath();\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n });\n\n it(\"should return game with all villagers powerless when ancient takes his revenge.\", () => {\n const players = [\n createFakeAncientAlivePlayer({ isAlive: false }),\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n createFakeSeerAlivePlayer({ isAlive: false }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: createFakeAncientGameOptions({ doesTakeHisRevenge: true }) }) });\n const game = createFakeGame({ players, options });\n const death = createFakePlayerDeathPotionByWitchDeath();\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n createFakePlayer({ ...players[1], attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n players[2],\n createFakePlayer({ ...players[3], attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakePlayer(players[4]),\n ],\n });\n\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when idiot was revealed before but doesn't die on ancient death thanks to game options.\", () => {\n const players = [\n createFakeAncientAlivePlayer({ isAlive: false }),\n createFakeIdiotAlivePlayer({ role: createFakePlayerRole({ isRevealed: true, current: ROLE_NAMES.IDIOT, original: ROLE_NAMES.IDIOT }) }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n createFakeSeerAlivePlayer({ isAlive: false }),\n ];\n const ancientOptions = createFakeAncientGameOptions({ doesTakeHisRevenge: false });\n const idiotOptions = createFakeIdiotGameOptions({ doesDieOnAncientDeath: false });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: ancientOptions, idiot: idiotOptions }) });\n const game = createFakeGame({ players, options });\n mocks.playerKillerService.killPlayer = jest.spyOn(services.playerKiller as unknown as { killPlayer }, \"killPlayer\").mockImplementation();\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n expect(services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n expect(mocks.playerKillerService.killPlayer).not.toHaveBeenCalled();\n });\n\n it(\"should return game with killed idiot when idiot was revealed before.\", () => {\n const players = [\n createFakeAncientAlivePlayer({ isAlive: false }),\n createFakeIdiotAlivePlayer({ role: createFakePlayerRole({ isRevealed: true, current: ROLE_NAMES.IDIOT, original: ROLE_NAMES.IDIOT }) }),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n createFakeSeerAlivePlayer({ isAlive: false }),\n ];\n const ancientOptions = createFakeAncientGameOptions({ doesTakeHisRevenge: false });\n const idiotOptions = createFakeIdiotGameOptions({ doesDieOnAncientDeath: true });\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ ancient: ancientOptions, idiot: idiotOptions }) });\n const game = createFakeGame({ players, options });\n mocks.playerKillerService.killPlayer = jest.spyOn(services.playerKiller as unknown as { killPlayer }, \"killPlayer\").mockImplementation();\n const death = createFakePlayerDeathPotionByWitchDeath();\n services.playerKiller[\"applyAncientDeathOutcomes\"](players[0], game, death);\n\n expect(mocks.playerKillerService.killPlayer).toHaveBeenCalledExactlyOnceWith(players[1], game, createFakePlayerReconsiderPardonByAllDeath());\n });\n });\n\n describe(\"applyHunterDeathOutcomes\", () => {\n it(\"should return game as is when killed player is not hunter.\", () => {\n const players = [\n createFakeIdiotAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyHunterDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game as is when killed player powerless.\", () => {\n const players = [\n createFakeHunterAlivePlayer({ attributes: [createFakePowerlessByAncientPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"applyHunterDeathOutcomes\"](players[0], game)).toStrictEqual(game);\n });\n\n it(\"should return game with upcoming hunter shoots play when called.\", () => {\n const players = [\n createFakeHunterAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const upcomingPlays = [createFakeGamePlayScapegoatBansVoting()];\n const game = createFakeGame({ players, upcomingPlays });\n const expectedGame = createFakeGame({\n ...game,\n upcomingPlays: [createFakeGamePlayHunterShoots(), ...upcomingPlays],\n });\n\n expect(services.playerKiller[\"applyHunterDeathOutcomes\"](players[0], game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"applyPlayerRoleDeathOutcomes\", () => {\n beforeEach(() => {\n mocks.playerKillerService.applyHunterDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyHunterDeathOutcomes }, \"applyHunterDeathOutcomes\").mockImplementation();\n mocks.playerKillerService.applyAncientDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyAncientDeathOutcomes }, \"applyAncientDeathOutcomes\").mockImplementation();\n mocks.playerKillerService.applyScapegoatDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyScapegoatDeathOutcomes }, \"applyScapegoatDeathOutcomes\").mockImplementation();\n mocks.playerKillerService.applyRustySwordKnightDeathOutcomes = jest.spyOn(services.playerKiller as unknown as { applyRustySwordKnightDeathOutcomes }, \"applyRustySwordKnightDeathOutcomes\").mockImplementation();\n });\n\n it(\"should return game as is without calling role method outcomes when killed player doesn't have the right role.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n\n expect(services.playerKiller[\"applyPlayerRoleDeathOutcomes\"](players[0], game, death)).toStrictEqual(game);\n expect(mocks.playerKillerService.applyHunterDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyAncientDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyScapegoatDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyRustySwordKnightDeathOutcomes).not.toHaveBeenCalled();\n });\n\n it(\"should call killed hunter outcomes method when killed player is hunter.\", () => {\n const players = [\n createFakeHunterAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n services.playerKiller[\"applyPlayerRoleDeathOutcomes\"](players[0], game, death);\n\n expect(mocks.playerKillerService.applyHunterDeathOutcomes).toHaveBeenCalledExactlyOnceWith(players[0], game);\n expect(mocks.playerKillerService.applyAncientDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyScapegoatDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyRustySwordKnightDeathOutcomes).not.toHaveBeenCalled();\n });\n\n it(\"should call killed ancient outcomes method when killed player is ancient.\", () => {\n const players = [\n createFakeAncientAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n services.playerKiller[\"applyPlayerRoleDeathOutcomes\"](players[0], game, death);\n expect(mocks.playerKillerService.applyAncientDeathOutcomes).toHaveBeenCalledExactlyOnceWith(players[0], game, death);\n expect(mocks.playerKillerService.applyHunterDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyScapegoatDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyRustySwordKnightDeathOutcomes).not.toHaveBeenCalled();\n });\n\n it(\"should call killed scapegoat outcomes method when killed player is scapegoat.\", () => {\n const players = [\n createFakeScapegoatAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n services.playerKiller[\"applyPlayerRoleDeathOutcomes\"](players[0], game, death);\n\n expect(mocks.playerKillerService.applyScapegoatDeathOutcomes).toHaveBeenCalledExactlyOnceWith(players[0], game, death);\n expect(mocks.playerKillerService.applyHunterDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyAncientDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyRustySwordKnightDeathOutcomes).not.toHaveBeenCalled();\n });\n\n it(\"should call killed rusty sword knight outcomes method when killed player is rusty sword knight.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n services.playerKiller[\"applyPlayerRoleDeathOutcomes\"](players[0], game, death);\n\n expect(mocks.playerKillerService.applyRustySwordKnightDeathOutcomes).toHaveBeenCalledExactlyOnceWith(players[0], game, death);\n expect(mocks.playerKillerService.applyHunterDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyAncientDeathOutcomes).not.toHaveBeenCalled();\n expect(mocks.playerKillerService.applyScapegoatDeathOutcomes).not.toHaveBeenCalled();\n });\n });\n\n describe(\"applyPlayerDeathOutcomes\", () => {\n it(\"should call player death outcomes methods when called.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n const exception = new UnexpectedException(\"applyPlayerAttributesDeathOutcomes\", UNEXPECTED_EXCEPTION_REASONS.CANT_FIND_PLAYER_WITH_ID_IN_GAME, { gameId: game._id.toString(), playerId: players[0]._id.toString() });\n\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException = jest.spyOn(UnexpectedExceptionFactory, \"createCantFindPlayerUnexpectedException\").mockReturnValue(exception);\n const applyPlayerRoleDeathOutcomesMock = jest.spyOn(services.playerKiller as unknown as { applyPlayerRoleDeathOutcomes }, \"applyPlayerRoleDeathOutcomes\").mockReturnValue(game);\n mocks.gameHelper.getPlayerWithIdOrThrow = jest.spyOn(GameHelper, \"getPlayerWithIdOrThrow\").mockReturnValue(players[0]);\n const applyPlayerAttributesDeathOutcomesMock = jest.spyOn(services.playerKiller as unknown as { applyPlayerAttributesDeathOutcomes }, \"applyPlayerAttributesDeathOutcomes\").mockImplementation();\n services.playerKiller[\"applyPlayerDeathOutcomes\"](players[0], game, death);\n\n expect(mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"applyPlayerDeathOutcomes\", { gameId: game._id, playerId: players[0]._id });\n expect(applyPlayerRoleDeathOutcomesMock).toHaveBeenCalledExactlyOnceWith(players[0], game, death);\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenCalledExactlyOnceWith(players[0]._id, game, exception);\n expect(applyPlayerAttributesDeathOutcomesMock).toHaveBeenCalledExactlyOnceWith(players[0], game);\n });\n });\n\n describe(\"killPlayer\", () => {\n it(\"should set player to dead and call death outcomes method when called.\", () => {\n const players = [\n createFakeRustySwordKnightAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeGuardAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const death = createFakePlayerDeathPotionByWitchDeath();\n const exception = new UnexpectedException(\"applyPlayerAttributesDeathOutcomes\", UNEXPECTED_EXCEPTION_REASONS.CANT_FIND_PLAYER_WITH_ID_IN_GAME, { gameId: game._id.toString(), playerId: players[0]._id.toString() });\n const expectedKilledPlayer = createFakePlayer({ ...players[0], isAlive: false, role: createFakePlayerRole({ ...players[0].role, isRevealed: true }), death });\n\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException = jest.spyOn(UnexpectedExceptionFactory, \"createCantFindPlayerUnexpectedException\").mockReturnValue(exception);\n const updatePlayerInGameMock = jest.spyOn(GameMutator, \"updatePlayerInGame\").mockReturnValue(game);\n mocks.gameHelper.getPlayerWithIdOrThrow = jest.spyOn(GameHelper, \"getPlayerWithIdOrThrow\").mockReturnValue(expectedKilledPlayer);\n const removePlayerAttributesAfterDeathMock = jest.spyOn(services.playerKiller as unknown as { removePlayerAttributesAfterDeath }, \"removePlayerAttributesAfterDeath\").mockReturnValue(expectedKilledPlayer);\n const applyPlayerDeathOutcomesMock = jest.spyOn(services.playerKiller as unknown as { applyPlayerDeathOutcomes }, \"applyPlayerDeathOutcomes\").mockReturnValue(game);\n services.playerKiller[\"killPlayer\"](players[0], game, death);\n\n expect(mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"killPlayer\", { gameId: game._id, playerId: players[0]._id });\n expect(updatePlayerInGameMock).toHaveBeenNthCalledWith(1, players[0]._id, expectedKilledPlayer, game);\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenNthCalledWith(1, expectedKilledPlayer._id, game, exception);\n expect(applyPlayerDeathOutcomesMock).toHaveBeenCalledExactlyOnceWith(expectedKilledPlayer, game, death);\n expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenNthCalledWith(2, expectedKilledPlayer._id, game, exception);\n expect(removePlayerAttributesAfterDeathMock).toHaveBeenCalledWith(expectedKilledPlayer);\n expect(updatePlayerInGameMock).toHaveBeenNthCalledWith(2, players[0]._id, expectedKilledPlayer, game);\n });\n });\n\n describe(\"getPlayerToKillInGame\", () => {\n it(\"should throw error when player is already dead.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer({ isAlive: false }),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n const exceptionInterpolations = { gameId: game._id.toString(), playerId: players[1]._id.toString() };\n const cantFindPlayerException = new UnexpectedException(\"getPlayerToKillInGame\", UNEXPECTED_EXCEPTION_REASONS.CANT_FIND_PLAYER_WITH_ID_IN_GAME, exceptionInterpolations);\n const playerIsDeadException = new UnexpectedException(\"getPlayerToKillInGame\", UNEXPECTED_EXCEPTION_REASONS.PLAYER_IS_DEAD, exceptionInterpolations);\n\n mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException = jest.spyOn(UnexpectedExceptionFactory, \"createCantFindPlayerUnexpectedException\").mockReturnValue(cantFindPlayerException);\n const createPlayerIsDeadUnexpectedExceptionMock = jest.spyOn(UnexpectedExceptionFactory, \"createPlayerIsDeadUnexpectedException\").mockReturnValue(playerIsDeadException);\n\n expect(() => services.playerKiller[\"getPlayerToKillInGame\"](players[1]._id, game)).toThrow(playerIsDeadException);\n expect(mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"getPlayerToKillInGame\", exceptionInterpolations);\n expect(createPlayerIsDeadUnexpectedExceptionMock).toHaveBeenCalledExactlyOnceWith(\"getPlayerToKillInGame\", exceptionInterpolations);\n });\n\n it(\"should get player to kill when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGame({ players });\n\n expect(services.playerKiller[\"getPlayerToKillInGame\"](players[1]._id, game)).toStrictEqual(players[1]);\n });\n });\n});" }, "tests/unit/specs/modules/game/providers/services/game-play/game-plays-manager.service.spec.ts": { "tests": [ { - "id": "304", + "id": "305", "name": "Game Plays Manager Service removeObsoleteUpcomingPlays should return game as is when no game play needs to be removed.", "location": { "start": { @@ -81191,7 +82833,7 @@ } }, { - "id": "305", + "id": "306", "name": "Game Plays Manager Service removeObsoleteUpcomingPlays should remove some game plays when players became powerless or died.", "location": { "start": { @@ -81201,7 +82843,7 @@ } }, { - "id": "306", + "id": "307", "name": "Game Plays Manager Service proceedToNextGamePlay should return game as is when there is no upcoming plays.", "location": { "start": { @@ -81211,7 +82853,7 @@ } }, { - "id": "307", + "id": "308", "name": "Game Plays Manager Service proceedToNextGamePlay should make proceed to next game play when called.", "location": { "start": { @@ -81221,7 +82863,7 @@ } }, { - "id": "308", + "id": "309", "name": "Game Plays Manager Service getUpcomingNightPlays should get upcoming night plays when it's the first night with official rules and some roles [#0].", "location": { "start": { @@ -81231,7 +82873,7 @@ } }, { - "id": "309", + "id": "310", "name": "Game Plays Manager Service getUpcomingNightPlays should get upcoming night plays when it's the first night with official rules and all roles who act during the night [#1].", "location": { "start": { @@ -81241,7 +82883,7 @@ } }, { - "id": "310", + "id": "311", "name": "Game Plays Manager Service getUpcomingNightPlays should get upcoming night plays when it's the second night with official rules and some roles [#2].", "location": { "start": { @@ -81251,7 +82893,7 @@ } }, { - "id": "311", + "id": "312", "name": "Game Plays Manager Service isSheriffElectionTime should return false when sheriff is not enabled even if it's the time.", "location": { "start": { @@ -81261,7 +82903,7 @@ } }, { - "id": "312", + "id": "313", "name": "Game Plays Manager Service isSheriffElectionTime should return false when it's not the right turn.", "location": { "start": { @@ -81271,7 +82913,7 @@ } }, { - "id": "313", + "id": "314", "name": "Game Plays Manager Service isSheriffElectionTime should return false when it's not the right phase.", "location": { "start": { @@ -81281,7 +82923,7 @@ } }, { - "id": "314", + "id": "315", "name": "Game Plays Manager Service isSheriffElectionTime should return true when it's the right phase and turn.", "location": { "start": { @@ -81291,7 +82933,7 @@ } }, { - "id": "315", + "id": "316", "name": "Game Plays Manager Service isLoversGamePlaySuitableForCurrentPhase should return false when there is no cupid in the game dto.", "location": { "start": { @@ -81301,7 +82943,7 @@ } }, { - "id": "316", + "id": "317", "name": "Game Plays Manager Service isLoversGamePlaySuitableForCurrentPhase should return true when there is cupid in the game dto.", "location": { "start": { @@ -81311,7 +82953,7 @@ } }, { - "id": "317", + "id": "318", "name": "Game Plays Manager Service isLoversGamePlaySuitableForCurrentPhase should return false when there is no cupid in the game.", "location": { "start": { @@ -81321,7 +82963,7 @@ } }, { - "id": "318", + "id": "319", "name": "Game Plays Manager Service isLoversGamePlaySuitableForCurrentPhase should return false when there is cupid in the game but he is dead and there is no lovers.", "location": { "start": { @@ -81331,7 +82973,7 @@ } }, { - "id": "319", + "id": "320", "name": "Game Plays Manager Service isLoversGamePlaySuitableForCurrentPhase should return false when there is cupid in the game but he is powerless and there is no lovers.", "location": { "start": { @@ -81341,7 +82983,7 @@ } }, { - "id": "320", + "id": "321", "name": "Game Plays Manager Service isLoversGamePlaySuitableForCurrentPhase should return true when there is cupid alive and powerful and there is no lovers.", "location": { "start": { @@ -81351,7 +82993,7 @@ } }, { - "id": "321", + "id": "322", "name": "Game Plays Manager Service isLoversGamePlaySuitableForCurrentPhase should return false when cupid is dead but one of the lovers is dead.", "location": { "start": { @@ -81361,7 +83003,7 @@ } }, { - "id": "322", + "id": "323", "name": "Game Plays Manager Service isLoversGamePlaySuitableForCurrentPhase should return true when cupid is dead and lovers are alive.", "location": { "start": { @@ -81371,7 +83013,7 @@ } }, { - "id": "323", + "id": "324", "name": "Game Plays Manager Service isAllGamePlaySuitableForCurrentPhase should return true when game play's action is ELECT_SHERIFF.", "location": { "start": { @@ -81381,7 +83023,7 @@ } }, { - "id": "324", + "id": "325", "name": "Game Plays Manager Service isAllGamePlaySuitableForCurrentPhase should return true when game play's action is VOTE but reason is not angel presence.", "location": { "start": { @@ -81391,7 +83033,7 @@ } }, { - "id": "325", + "id": "326", "name": "Game Plays Manager Service isAllGamePlaySuitableForCurrentPhase should return false when there is no angel in the game dto.", "location": { "start": { @@ -81401,7 +83043,7 @@ } }, { - "id": "326", + "id": "327", "name": "Game Plays Manager Service isAllGamePlaySuitableForCurrentPhase should return true when there is angel in the game dto.", "location": { "start": { @@ -81411,7 +83053,7 @@ } }, { - "id": "327", + "id": "328", "name": "Game Plays Manager Service isAllGamePlaySuitableForCurrentPhase should return false when there is no angel in the game.", "location": { "start": { @@ -81421,7 +83063,7 @@ } }, { - "id": "328", + "id": "329", "name": "Game Plays Manager Service isAllGamePlaySuitableForCurrentPhase should return false when there is angel in the game but he is dead.", "location": { "start": { @@ -81431,7 +83073,7 @@ } }, { - "id": "329", + "id": "330", "name": "Game Plays Manager Service isAllGamePlaySuitableForCurrentPhase should return false when there is angel in the game but he is powerless.", "location": { "start": { @@ -81441,7 +83083,7 @@ } }, { - "id": "330", + "id": "331", "name": "Game Plays Manager Service isAllGamePlaySuitableForCurrentPhase should return true when there is angel in the game alive and powerful.", "location": { "start": { @@ -81451,7 +83093,7 @@ } }, { - "id": "331", + "id": "332", "name": "Game Plays Manager Service isGroupGamePlaySuitableForCurrentPhase should call all playable method when game plays source group is all.", "location": { "start": { @@ -81461,7 +83103,7 @@ } }, { - "id": "332", + "id": "333", "name": "Game Plays Manager Service isGroupGamePlaySuitableForCurrentPhase should call lovers playable method when game plays source group is lovers.", "location": { "start": { @@ -81471,7 +83113,7 @@ } }, { - "id": "333", + "id": "334", "name": "Game Plays Manager Service isGroupGamePlaySuitableForCurrentPhase should call charmed playable method when game plays source group is charmed people.", "location": { "start": { @@ -81481,7 +83123,7 @@ } }, { - "id": "334", + "id": "335", "name": "Game Plays Manager Service isGroupGamePlaySuitableForCurrentPhase should return true when game plays source group is werewolves and game is dto.", "location": { "start": { @@ -81491,7 +83133,7 @@ } }, { - "id": "335", + "id": "336", "name": "Game Plays Manager Service isGroupGamePlaySuitableForCurrentPhase should return false when game plays source group is villagers and game is dto.", "location": { "start": { @@ -81501,7 +83143,7 @@ } }, { - "id": "336", + "id": "337", "name": "Game Plays Manager Service isGroupGamePlaySuitableForCurrentPhase should return false when game plays source group is werewolves and all are powerless.", "location": { "start": { @@ -81511,7 +83153,7 @@ } }, { - "id": "337", + "id": "338", "name": "Game Plays Manager Service isGroupGamePlaySuitableForCurrentPhase should return true when game plays source group is werewolves and at least one is alive and powerful.", "location": { "start": { @@ -81521,7 +83163,7 @@ } }, { - "id": "338", + "id": "339", "name": "Game Plays Manager Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is not in the game dto.", "location": { "start": { @@ -81531,7 +83173,7 @@ } }, { - "id": "339", + "id": "340", "name": "Game Plays Manager Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is in the game dto but options specify that he's never called.", "location": { "start": { @@ -81541,7 +83183,7 @@ } }, { - "id": "340", + "id": "341", "name": "Game Plays Manager Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return true when white werewolf is in the game dto and options specify that he's called every other night.", "location": { "start": { @@ -81551,7 +83193,7 @@ } }, { - "id": "341", + "id": "342", "name": "Game Plays Manager Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is not in the game.", "location": { "start": { @@ -81561,7 +83203,7 @@ } }, { - "id": "342", + "id": "343", "name": "Game Plays Manager Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is in the game but options specify that he's never called.", "location": { "start": { @@ -81571,7 +83213,7 @@ } }, { - "id": "343", + "id": "344", "name": "Game Plays Manager Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is in the game but dead.", "location": { "start": { @@ -81581,7 +83223,7 @@ } }, { - "id": "344", + "id": "345", "name": "Game Plays Manager Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is in the game but powerless.", "location": { "start": { @@ -81591,7 +83233,7 @@ } }, { - "id": "345", + "id": "346", "name": "Game Plays Manager Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return true when white werewolf is in the game, alive and powerful.", "location": { "start": { @@ -81601,7 +83243,7 @@ } }, { - "id": "346", + "id": "347", "name": "Game Plays Manager Service isPiedPiperGamePlaySuitableForCurrentPhase should return false when pied piper is not in the game dto.", "location": { "start": { @@ -81611,7 +83253,7 @@ } }, { - "id": "347", + "id": "348", "name": "Game Plays Manager Service isPiedPiperGamePlaySuitableForCurrentPhase should return true when pied piper is in the game dto.", "location": { "start": { @@ -81621,7 +83263,7 @@ } }, { - "id": "348", + "id": "349", "name": "Game Plays Manager Service isPiedPiperGamePlaySuitableForCurrentPhase should return false when pied piper is not in the game.", "location": { "start": { @@ -81631,7 +83273,7 @@ } }, { - "id": "349", + "id": "350", "name": "Game Plays Manager Service isPiedPiperGamePlaySuitableForCurrentPhase should return false when pied piper is in the game can't charm anymore.", "location": { "start": { @@ -81641,7 +83283,7 @@ } }, { - "id": "350", + "id": "351", "name": "Game Plays Manager Service isPiedPiperGamePlaySuitableForCurrentPhase should return true when pied piper is in the game and can still charm.", "location": { "start": { @@ -81651,7 +83293,7 @@ } }, { - "id": "351", + "id": "352", "name": "Game Plays Manager Service isBigBadWolfGamePlaySuitableForCurrentPhase should return false when big bad wolf is not in the game dto.", "location": { "start": { @@ -81661,7 +83303,7 @@ } }, { - "id": "352", + "id": "353", "name": "Game Plays Manager Service isBigBadWolfGamePlaySuitableForCurrentPhase should return true when big bad wolf is in the game dto.", "location": { "start": { @@ -81671,7 +83313,7 @@ } }, { - "id": "353", + "id": "354", "name": "Game Plays Manager Service isBigBadWolfGamePlaySuitableForCurrentPhase should return false when big bad wolf is not in the game.", "location": { "start": { @@ -81681,7 +83323,7 @@ } }, { - "id": "354", + "id": "355", "name": "Game Plays Manager Service isBigBadWolfGamePlaySuitableForCurrentPhase should return false when big bad wolf is in the game but dead.", "location": { "start": { @@ -81691,7 +83333,7 @@ } }, { - "id": "355", + "id": "356", "name": "Game Plays Manager Service isBigBadWolfGamePlaySuitableForCurrentPhase should return false when big bad wolf is in the game but one werewolf is dead.", "location": { "start": { @@ -81701,7 +83343,7 @@ } }, { - "id": "356", + "id": "357", "name": "Game Plays Manager Service isBigBadWolfGamePlaySuitableForCurrentPhase should return true when big bad wolf is in the game, one werewolf is dead but classic rules are not followed.", "location": { "start": { @@ -81711,7 +83353,7 @@ } }, { - "id": "357", + "id": "358", "name": "Game Plays Manager Service isBigBadWolfGamePlaySuitableForCurrentPhase should return true when big bad wolf is in the game and all werewolves are alive.", "location": { "start": { @@ -81721,7 +83363,7 @@ } }, { - "id": "358", + "id": "359", "name": "Game Plays Manager Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when three brothers are not in the game dto.", "location": { "start": { @@ -81731,7 +83373,7 @@ } }, { - "id": "359", + "id": "360", "name": "Game Plays Manager Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when three brothers are in the game dto but options specify that they are never called.", "location": { "start": { @@ -81741,7 +83383,7 @@ } }, { - "id": "360", + "id": "361", "name": "Game Plays Manager Service isThreeBrothersGamePlaySuitableForCurrentPhase should return true when three brother are in the game dto and options specify that they are called every other night.", "location": { "start": { @@ -81751,7 +83393,7 @@ } }, { - "id": "361", + "id": "362", "name": "Game Plays Manager Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when three brothers are not in the game.", "location": { "start": { @@ -81761,7 +83403,7 @@ } }, { - "id": "362", + "id": "363", "name": "Game Plays Manager Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when three brothers is in the game but options specify that they are never called.", "location": { "start": { @@ -81771,7 +83413,7 @@ } }, { - "id": "363", + "id": "364", "name": "Game Plays Manager Service isThreeBrothersGamePlaySuitableForCurrentPhase should return true when three brothers are alive.", "location": { "start": { @@ -81781,7 +83423,7 @@ } }, { - "id": "364", + "id": "365", "name": "Game Plays Manager Service isThreeBrothersGamePlaySuitableForCurrentPhase should return true when two brothers are alive.", "location": { "start": { @@ -81791,7 +83433,7 @@ } }, { - "id": "365", + "id": "366", "name": "Game Plays Manager Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when one brothers is alive.", "location": { "start": { @@ -81801,7 +83443,7 @@ } }, { - "id": "366", + "id": "367", "name": "Game Plays Manager Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when all brothers are dead.", "location": { "start": { @@ -81811,7 +83453,7 @@ } }, { - "id": "367", + "id": "368", "name": "Game Plays Manager Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when two sisters are not in the game dto.", "location": { "start": { @@ -81821,7 +83463,7 @@ } }, { - "id": "368", + "id": "369", "name": "Game Plays Manager Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when two sisters are in the game dto but options specify that they are never called.", "location": { "start": { @@ -81831,7 +83473,7 @@ } }, { - "id": "369", + "id": "370", "name": "Game Plays Manager Service isTwoSistersGamePlaySuitableForCurrentPhase should return true when two sisters are in the game dto and options specify that they are called every other night.", "location": { "start": { @@ -81841,7 +83483,7 @@ } }, { - "id": "370", + "id": "371", "name": "Game Plays Manager Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when two sisters are not in the game.", "location": { "start": { @@ -81851,7 +83493,7 @@ } }, { - "id": "371", + "id": "372", "name": "Game Plays Manager Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when two sisters is in the game but options specify that they are never called.", "location": { "start": { @@ -81861,7 +83503,7 @@ } }, { - "id": "372", + "id": "373", "name": "Game Plays Manager Service isTwoSistersGamePlaySuitableForCurrentPhase should return true when two sisters are alive.", "location": { "start": { @@ -81871,7 +83513,7 @@ } }, { - "id": "373", + "id": "374", "name": "Game Plays Manager Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when one sister is alive.", "location": { "start": { @@ -81881,7 +83523,7 @@ } }, { - "id": "374", + "id": "375", "name": "Game Plays Manager Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when all sisters are dead.", "location": { "start": { @@ -81891,7 +83533,7 @@ } }, { - "id": "375", + "id": "376", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should return false when player is not in game.", "location": { "start": { @@ -81901,7 +83543,7 @@ } }, { - "id": "376", + "id": "377", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should call two sisters method when game play source role is two sisters.", "location": { "start": { @@ -81911,7 +83553,7 @@ } }, { - "id": "377", + "id": "378", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should call three brothers method when game play source role is three brothers.", "location": { "start": { @@ -81921,7 +83563,7 @@ } }, { - "id": "378", + "id": "379", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should call big bad wolf method when game plays source role is big bad wolf.", "location": { "start": { @@ -81931,7 +83573,7 @@ } }, { - "id": "379", + "id": "380", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should call pied piper method when game plays source role is pied piper.", "location": { "start": { @@ -81941,7 +83583,7 @@ } }, { - "id": "380", + "id": "381", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should call white werewolf method when game plays source role is white werewolf.", "location": { "start": { @@ -81951,7 +83593,7 @@ } }, { - "id": "381", + "id": "382", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should return true when game plays source role is hunter and player is dto.", "location": { "start": { @@ -81961,7 +83603,7 @@ } }, { - "id": "382", + "id": "383", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should return true when game plays source role is hunter and player is powerful.", "location": { "start": { @@ -81971,7 +83613,7 @@ } }, { - "id": "383", + "id": "384", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should return false when game plays source role is hunter and player is powerless.", "location": { "start": { @@ -81981,7 +83623,7 @@ } }, { - "id": "384", + "id": "385", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should return true when game plays source role is scapegoat and player is dto.", "location": { "start": { @@ -81991,7 +83633,7 @@ } }, { - "id": "385", + "id": "386", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should return true when game plays source role is scapegoat and player is powerful.", "location": { "start": { @@ -82001,7 +83643,7 @@ } }, { - "id": "386", + "id": "387", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should return false when game plays source role is scapegoat and player is powerless.", "location": { "start": { @@ -82011,7 +83653,7 @@ } }, { - "id": "387", + "id": "388", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should return true when player is dto.", "location": { "start": { @@ -82021,7 +83663,7 @@ } }, { - "id": "388", + "id": "389", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should return false when player is dead.", "location": { "start": { @@ -82031,7 +83673,7 @@ } }, { - "id": "389", + "id": "390", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should return false when player is powerless.", "location": { "start": { @@ -82041,7 +83683,7 @@ } }, { - "id": "390", + "id": "391", "name": "Game Plays Manager Service isRoleGamePlaySuitableForCurrentPhase should return true when player is alive and powerful.", "location": { "start": { @@ -82051,7 +83693,7 @@ } }, { - "id": "391", + "id": "392", "name": "Game Plays Manager Service isSheriffGamePlaySuitableForCurrentPhase should return false when sheriff is not enabled.", "location": { "start": { @@ -82061,7 +83703,7 @@ } }, { - "id": "392", + "id": "393", "name": "Game Plays Manager Service isSheriffGamePlaySuitableForCurrentPhase should return true when game is dto.", "location": { "start": { @@ -82071,7 +83713,7 @@ } }, { - "id": "393", + "id": "394", "name": "Game Plays Manager Service isSheriffGamePlaySuitableForCurrentPhase should return false when sheriff is not in the game.", "location": { "start": { @@ -82081,7 +83723,7 @@ } }, { - "id": "394", + "id": "395", "name": "Game Plays Manager Service isSheriffGamePlaySuitableForCurrentPhase should return true when sheriff is in the game.", "location": { "start": { @@ -82091,7 +83733,7 @@ } }, { - "id": "395", + "id": "396", "name": "Game Plays Manager Service isGamePlaySuitableForCurrentPhase should call isRoleGamePlaySuitableForCurrentPhase when source is a sheriff.", "location": { "start": { @@ -82101,7 +83743,7 @@ } }, { - "id": "396", + "id": "397", "name": "Game Plays Manager Service isGamePlaySuitableForCurrentPhase should call isRoleGamePlaySuitableForCurrentPhase when source is a role.", "location": { "start": { @@ -82111,7 +83753,7 @@ } }, { - "id": "397", + "id": "398", "name": "Game Plays Manager Service isGamePlaySuitableForCurrentPhase should call isGroupGamePlaySuitableForCurrentPhase when source is a group.", "location": { "start": { @@ -82126,7 +83768,7 @@ "tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts": { "tests": [ { - "id": "398", + "id": "399", "name": "Game History Record Repository create should not create history record when turn is lower than 1 [#0].", "location": { "start": { @@ -82136,7 +83778,7 @@ } }, { - "id": "399", + "id": "400", "name": "Game History Record Repository create should not create history record when tick is lower than 1 [#1].", "location": { "start": { @@ -82146,7 +83788,7 @@ } }, { - "id": "400", + "id": "401", "name": "Game History Record Repository create should not create history record when phase is not in enum [#2].", "location": { "start": { @@ -82156,7 +83798,7 @@ } }, { - "id": "401", + "id": "402", "name": "Game History Record Repository create should not create history record when players in play's source is empty [#3].", "location": { "start": { @@ -82166,7 +83808,7 @@ } }, { - "id": "402", + "id": "403", "name": "Game History Record Repository create should not create history record when source in play's source is not in enum [#4].", "location": { "start": { @@ -82176,7 +83818,7 @@ } }, { - "id": "403", + "id": "404", "name": "Game History Record Repository create should not create history record when potion in play's target is not in enum [#5].", "location": { "start": { @@ -82186,7 +83828,7 @@ } }, { - "id": "404", + "id": "405", "name": "Game History Record Repository create should not create history record when voting result is not in enum [#6].", "location": { "start": { @@ -82196,7 +83838,7 @@ } }, { - "id": "405", + "id": "406", "name": "Game History Record Repository create should not create history record when chosen side is not in enum [#7].", "location": { "start": { @@ -82206,7 +83848,7 @@ } }, { - "id": "406", + "id": "407", "name": "Game History Record Repository create should create history record when called.", "location": { "start": { @@ -82216,7 +83858,7 @@ } }, { - "id": "407", + "id": "408", "name": "Game History Record Repository getLastGameHistoryGuardProtectsRecord should return no record when there is no guard play in the history.", "location": { "start": { @@ -82226,7 +83868,7 @@ } }, { - "id": "408", + "id": "409", "name": "Game History Record Repository getLastGameHistoryGuardProtectsRecord should return no record when there gameId is not the good one.", "location": { "start": { @@ -82236,7 +83878,7 @@ } }, { - "id": "409", + "id": "410", "name": "Game History Record Repository getLastGameHistoryGuardProtectsRecord should return the last guard game history play record when called.", "location": { "start": { @@ -82246,7 +83888,7 @@ } }, { - "id": "410", + "id": "411", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return no record when there is no vote play in the history.", "location": { "start": { @@ -82256,7 +83898,7 @@ } }, { - "id": "411", + "id": "412", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return no record when there is no tie in vote play in the history.", "location": { "start": { @@ -82266,7 +83908,7 @@ } }, { - "id": "412", + "id": "413", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return no record when there gameId is not the good one.", "location": { "start": { @@ -82276,7 +83918,7 @@ } }, { - "id": "413", + "id": "414", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return the last tie in vote game history play record when called.", "location": { "start": { @@ -82286,7 +83928,7 @@ } }, { - "id": "414", + "id": "415", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get no record when there are no witch play.", "location": { "start": { @@ -82296,7 +83938,7 @@ } }, { - "id": "415", + "id": "416", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get no record when there are no witch using life potion play.", "location": { "start": { @@ -82306,7 +83948,7 @@ } }, { - "id": "416", + "id": "417", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get records of witch using life potion for this gameId when called.", "location": { "start": { @@ -82316,7 +83958,7 @@ } }, { - "id": "417", + "id": "418", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get no record when there are no witch using death potion play.", "location": { "start": { @@ -82326,7 +83968,7 @@ } }, { - "id": "418", + "id": "419", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get records of witch using death potion for this gameId when called.", "location": { "start": { @@ -82336,7 +83978,7 @@ } }, { - "id": "419", + "id": "420", "name": "Game History Record Repository getGameHistoryVileFatherOfWolvesInfectedRecords should get no record when there are no eat play.", "location": { "start": { @@ -82346,7 +83988,7 @@ } }, { - "id": "420", + "id": "421", "name": "Game History Record Repository getGameHistoryVileFatherOfWolvesInfectedRecords should get records of vile father of wolves infected for this gameId when called.", "location": { "start": { @@ -82356,7 +83998,7 @@ } }, { - "id": "421", + "id": "422", "name": "Game History Record Repository getGameHistoryJudgeRequestRecords should get no record when there are no vote with judge request play.", "location": { "start": { @@ -82366,7 +84008,7 @@ } }, { - "id": "422", + "id": "423", "name": "Game History Record Repository getGameHistoryJudgeRequestRecords should get records of stuttering judge requesting another vote for this gameId when called.", "location": { "start": { @@ -82376,7 +84018,7 @@ } }, { - "id": "423", + "id": "424", "name": "Game History Record Repository getGameHistoryWerewolvesEatAncientRecords should get no record when there are no eat play.", "location": { "start": { @@ -82386,7 +84028,7 @@ } }, { - "id": "424", + "id": "425", "name": "Game History Record Repository getGameHistoryWerewolvesEatAncientRecords should get records of ancient eaten by any kind of werewolves for this gameId when called.", "location": { "start": { @@ -82396,7 +84038,7 @@ } }, { - "id": "425", + "id": "426", "name": "Game History Record Repository getGameHistoryAncientProtectedFromWerewolvesRecords should get game history where ancient is protected from werewolves records for gameId when called.", "location": { "start": { @@ -82406,7 +84048,7 @@ } }, { - "id": "426", + "id": "427", "name": "Game History Record Repository getPreviousGameHistoryRecord should get no record when game doesn't have history yet.", "location": { "start": { @@ -82416,7 +84058,7 @@ } }, { - "id": "427", + "id": "428", "name": "Game History Record Repository getPreviousGameHistoryRecord should get previous game history record for gameId when called.", "location": { "start": { @@ -82431,7 +84073,7 @@ "tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts": { "tests": [ { - "id": "428", + "id": "429", "name": "Game Controller GET /games should get no games when no populate yet.", "location": { "start": { @@ -82441,7 +84083,7 @@ } }, { - "id": "429", + "id": "430", "name": "Game Controller GET /games should get 3 games when 3 games were created.", "location": { "start": { @@ -82451,7 +84093,7 @@ } }, { - "id": "430", + "id": "431", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when there is not enough players [#0].", "location": { "start": { @@ -82461,7 +84103,7 @@ } }, { - "id": "431", + "id": "432", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when there is not enough players [#1].", "location": { "start": { @@ -82471,7 +84113,7 @@ } }, { - "id": "432", + "id": "433", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when the maximum of players is reached [#2].", "location": { "start": { @@ -82481,7 +84123,7 @@ } }, { - "id": "433", + "id": "434", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when one of the player name is too short [#3].", "location": { "start": { @@ -82491,7 +84133,7 @@ } }, { - "id": "434", + "id": "435", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when one of the player name is too long [#4].", "location": { "start": { @@ -82501,7 +84143,7 @@ } }, { - "id": "435", + "id": "436", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when two players have the same name [#5].", "location": { "start": { @@ -82511,7 +84153,7 @@ } }, { - "id": "436", + "id": "437", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when werewolf is in excluded roles [#6].", "location": { "start": { @@ -82521,7 +84163,7 @@ } }, { - "id": "437", + "id": "438", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when villager is in excluded roles [#7].", "location": { "start": { @@ -82531,7 +84173,7 @@ } }, { - "id": "438", + "id": "439", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when there is twice the same excluded role [#8].", "location": { "start": { @@ -82541,7 +84183,7 @@ } }, { - "id": "439", + "id": "440", "name": "Game Controller GET /games/random-composition should get random composition when called.", "location": { "start": { @@ -82551,7 +84193,7 @@ } }, { - "id": "440", + "id": "441", "name": "Game Controller GET /game/:id should get a bad request error when id is not mongoId.", "location": { "start": { @@ -82561,7 +84203,7 @@ } }, { - "id": "441", + "id": "442", "name": "Game Controller GET /game/:id should get a not found error when id doesn't exist in base.", "location": { "start": { @@ -82571,7 +84213,7 @@ } }, { - "id": "442", + "id": "443", "name": "Game Controller GET /game/:id should get a game when id exists in base.", "location": { "start": { @@ -82581,7 +84223,7 @@ } }, { - "id": "443", + "id": "444", "name": "Game Controller POST /games should not allow game creation when no players are provided [#0].", "location": { "start": { @@ -82591,7 +84233,7 @@ } }, { - "id": "444", + "id": "445", "name": "Game Controller POST /games should not allow game creation when the minimum of players is not reached [#1].", "location": { "start": { @@ -82601,7 +84243,7 @@ } }, { - "id": "445", + "id": "446", "name": "Game Controller POST /games should not allow game creation when the maximum of players is reached [#2].", "location": { "start": { @@ -82611,7 +84253,7 @@ } }, { - "id": "446", + "id": "447", "name": "Game Controller POST /games should not allow game creation when one of the player name is too short [#3].", "location": { "start": { @@ -82621,7 +84263,7 @@ } }, { - "id": "447", + "id": "448", "name": "Game Controller POST /games should not allow game creation when one of the player name is too long [#4].", "location": { "start": { @@ -82631,7 +84273,7 @@ } }, { - "id": "448", + "id": "449", "name": "Game Controller POST /games should not allow game creation when two players have the same name [#5].", "location": { "start": { @@ -82641,7 +84283,7 @@ } }, { - "id": "449", + "id": "450", "name": "Game Controller POST /games should not allow game creation when there is only one brother in the same game [#6].", "location": { "start": { @@ -82651,7 +84293,7 @@ } }, { - "id": "450", + "id": "451", "name": "Game Controller POST /games should not allow game creation when there is two witches in the same game [#7].", "location": { "start": { @@ -82661,7 +84303,7 @@ } }, { - "id": "451", + "id": "452", "name": "Game Controller POST /games should not allow game creation when there is no villager in game's composition [#8].", "location": { "start": { @@ -82671,7 +84313,7 @@ } }, { - "id": "452", + "id": "453", "name": "Game Controller POST /games should not allow game creation when there is no werewolf in game's composition [#9].", "location": { "start": { @@ -82681,7 +84323,7 @@ } }, { - "id": "453", + "id": "454", "name": "Game Controller POST /games should not allow game creation when one of the player position is lower than 0 [#10].", "location": { "start": { @@ -82691,7 +84333,7 @@ } }, { - "id": "454", + "id": "455", "name": "Game Controller POST /games should not allow game creation when one of the player position is not consistent faced to others [#11].", "location": { "start": { @@ -82701,7 +84343,7 @@ } }, { - "id": "455", + "id": "456", "name": "Game Controller POST /games should create game when called.", "location": { "start": { @@ -82711,7 +84353,7 @@ } }, { - "id": "456", + "id": "457", "name": "Game Controller POST /games should create game with different options when called with options specified and some omitted.", "location": { "start": { @@ -82721,7 +84363,7 @@ } }, { - "id": "457", + "id": "458", "name": "Game Controller DELETE /game/:id should get a bad request error when id is not mongoId.", "location": { "start": { @@ -82731,7 +84373,7 @@ } }, { - "id": "458", + "id": "459", "name": "Game Controller DELETE /game/:id should get a not found error when id doesn't exist in base.", "location": { "start": { @@ -82741,7 +84383,7 @@ } }, { - "id": "459", + "id": "460", "name": "Game Controller DELETE /game/:id should get a bad request error when game doesn't have playing status.", "location": { "start": { @@ -82751,7 +84393,7 @@ } }, { - "id": "460", + "id": "461", "name": "Game Controller DELETE /game/:id should update game status to canceled when called.", "location": { "start": { @@ -82761,7 +84403,7 @@ } }, { - "id": "461", + "id": "462", "name": "Game Controller POST /game/:id/play should not allow game play when game id is not a mongo id.", "location": { "start": { @@ -82771,7 +84413,7 @@ } }, { - "id": "462", + "id": "463", "name": "Game Controller POST /game/:id/play should not allow game play when player ids in targets must be unique [#0].", "location": { "start": { @@ -82781,7 +84423,7 @@ } }, { - "id": "463", + "id": "464", "name": "Game Controller POST /game/:id/play should not allow game play when player ids in targets must be unique [#1].", "location": { "start": { @@ -82791,7 +84433,7 @@ } }, { - "id": "464", + "id": "465", "name": "Game Controller POST /game/:id/play should not allow game play when game id not found.", "location": { "start": { @@ -82801,7 +84443,7 @@ } }, { - "id": "465", + "id": "466", "name": "Game Controller POST /game/:id/play should not allow game play when payload contains unknown resources id.", "location": { "start": { @@ -82811,7 +84453,7 @@ } }, { - "id": "466", + "id": "467", "name": "Game Controller POST /game/:id/play should not allow game play when payload is not valid.", "location": { "start": { @@ -82821,7 +84463,7 @@ } }, { - "id": "467", + "id": "468", "name": "Game Controller POST /game/:id/play should make a game play when called with votes.", "location": { "start": { @@ -82831,7 +84473,7 @@ } }, { - "id": "468", + "id": "469", "name": "Game Controller POST /game/:id/play should make a game play when called with targets.", "location": { "start": { @@ -82846,7 +84488,7 @@ "tests/unit/specs/modules/game/helpers/game.helper.spec.ts": { "tests": [ { - "id": "469", + "id": "470", "name": "Game Helper getPlayerDtoWithRole should return player with role when a player has this role.", "location": { "start": { @@ -82856,7 +84498,7 @@ } }, { - "id": "470", + "id": "471", "name": "Game Helper getPlayerDtoWithRole should return undefined when player with role is not found.", "location": { "start": { @@ -82866,7 +84508,7 @@ } }, { - "id": "471", + "id": "472", "name": "Game Helper getPlayerWithCurrentRole should return player with role when a player has this role.", "location": { "start": { @@ -82876,7 +84518,7 @@ } }, { - "id": "472", + "id": "473", "name": "Game Helper getPlayerWithCurrentRole should return undefined when player with role is not found.", "location": { "start": { @@ -82886,7 +84528,7 @@ } }, { - "id": "473", + "id": "474", "name": "Game Helper getPlayersWithCurrentRole should return players when they have this role.", "location": { "start": { @@ -82896,7 +84538,7 @@ } }, { - "id": "474", + "id": "475", "name": "Game Helper getPlayersWithCurrentRole should return empty array when no one has the role.", "location": { "start": { @@ -82906,7 +84548,7 @@ } }, { - "id": "475", + "id": "476", "name": "Game Helper getPlayersWithCurrentSide should return werewolves when they have this side.", "location": { "start": { @@ -82916,7 +84558,7 @@ } }, { - "id": "476", + "id": "477", "name": "Game Helper getPlayersWithCurrentSide should return villagers when they have this side.", "location": { "start": { @@ -82926,7 +84568,7 @@ } }, { - "id": "477", + "id": "478", "name": "Game Helper getPlayerWithId should get player with specific id when called with this id.", "location": { "start": { @@ -82936,7 +84578,7 @@ } }, { - "id": "478", + "id": "479", "name": "Game Helper getPlayerWithId should return undefined when called with unknown id.", "location": { "start": { @@ -82946,7 +84588,7 @@ } }, { - "id": "479", + "id": "480", "name": "Game Helper getPlayerWithIdOrThrow should get player with specific id when called with this id.", "location": { "start": { @@ -82956,7 +84598,7 @@ } }, { - "id": "480", + "id": "481", "name": "Game Helper getPlayerWithIdOrThrow should throw error when called with unknown id.", "location": { "start": { @@ -82966,7 +84608,7 @@ } }, { - "id": "481", + "id": "482", "name": "Game Helper getAdditionalCardWithId should get card with specific id when called with this id.", "location": { "start": { @@ -82976,7 +84618,7 @@ } }, { - "id": "482", + "id": "483", "name": "Game Helper getAdditionalCardWithId should return undefined when cards are undefined.", "location": { "start": { @@ -82986,7 +84628,7 @@ } }, { - "id": "483", + "id": "484", "name": "Game Helper getAdditionalCardWithId should return undefined when called with unknown id.", "location": { "start": { @@ -82996,7 +84638,7 @@ } }, { - "id": "484", + "id": "485", "name": "Game Helper areAllWerewolvesAlive should return false when empty array is provided.", "location": { "start": { @@ -83006,7 +84648,7 @@ } }, { - "id": "485", + "id": "486", "name": "Game Helper areAllWerewolvesAlive should return true when all werewolves are alive.", "location": { "start": { @@ -83016,7 +84658,7 @@ } }, { - "id": "486", + "id": "487", "name": "Game Helper areAllWerewolvesAlive should return true when at least one werewolf is dead.", "location": { "start": { @@ -83026,7 +84668,7 @@ } }, { - "id": "487", + "id": "488", "name": "Game Helper areAllVillagersAlive should return false when empty array is provided.", "location": { "start": { @@ -83036,7 +84678,7 @@ } }, { - "id": "488", + "id": "489", "name": "Game Helper areAllVillagersAlive should return true when all villagers are alive.", "location": { "start": { @@ -83046,7 +84688,7 @@ } }, { - "id": "489", + "id": "490", "name": "Game Helper areAllVillagersAlive should return true when at least one villager is dead.", "location": { "start": { @@ -83056,7 +84698,7 @@ } }, { - "id": "490", + "id": "491", "name": "Game Helper areAllPlayersDead should return false when empty array is provided.", "location": { "start": { @@ -83066,7 +84708,7 @@ } }, { - "id": "491", + "id": "492", "name": "Game Helper areAllPlayersDead should return false when at least one player is alive.", "location": { "start": { @@ -83076,7 +84718,7 @@ } }, { - "id": "492", + "id": "493", "name": "Game Helper areAllPlayersDead should return true when all players are dead.", "location": { "start": { @@ -83086,7 +84728,7 @@ } }, { - "id": "493", + "id": "494", "name": "Game Helper getPlayerWithAttribute should return first player with attribute when called.", "location": { "start": { @@ -83096,7 +84738,7 @@ } }, { - "id": "494", + "id": "495", "name": "Game Helper getPlayerWithAttribute should return undefined when player with attribute is not found.", "location": { "start": { @@ -83106,7 +84748,7 @@ } }, { - "id": "495", + "id": "496", "name": "Game Helper getPlayersWithAttribute should return players when they have the attribute.", "location": { "start": { @@ -83116,7 +84758,7 @@ } }, { - "id": "496", + "id": "497", "name": "Game Helper getPlayersWithAttribute should return empty array when none has the attribute.", "location": { "start": { @@ -83126,7 +84768,7 @@ } }, { - "id": "497", + "id": "498", "name": "Game Helper getAlivePlayers should get all alive players when called.", "location": { "start": { @@ -83136,7 +84778,7 @@ } }, { - "id": "498", + "id": "499", "name": "Game Helper getAliveVillagerSidedPlayers should get all alive villager sided players when called.", "location": { "start": { @@ -83146,7 +84788,7 @@ } }, { - "id": "499", + "id": "500", "name": "Game Helper getAliveWerewolfSidedPlayers should get all alive werewolf sided players when called.", "location": { "start": { @@ -83156,7 +84798,7 @@ } }, { - "id": "500", + "id": "501", "name": "Game Helper getLeftToCharmByPiedPiperPlayers should get left to charm by pied piper players when called.", "location": { "start": { @@ -83166,7 +84808,7 @@ } }, { - "id": "501", + "id": "502", "name": "Game Helper getLeftToEatByWerewolvesPlayers should return left to eat by werewolves players when called.", "location": { "start": { @@ -83176,7 +84818,7 @@ } }, { - "id": "502", + "id": "503", "name": "Game Helper getLeftToEatByWhiteWerewolfPlayers should return left to eat by white werewolf players when called.", "location": { "start": { @@ -83186,7 +84828,7 @@ } }, { - "id": "503", + "id": "504", "name": "Game Helper getGroupOfPlayers should return all players when group is all.", "location": { "start": { @@ -83196,7 +84838,7 @@ } }, { - "id": "504", + "id": "505", "name": "Game Helper getGroupOfPlayers should return players in love when group is lovers.", "location": { "start": { @@ -83206,7 +84848,7 @@ } }, { - "id": "505", + "id": "506", "name": "Game Helper getGroupOfPlayers should return charmed players when group is charmed.", "location": { "start": { @@ -83216,7 +84858,7 @@ } }, { - "id": "506", + "id": "507", "name": "Game Helper getGroupOfPlayers should return villagers when group is villagers.", "location": { "start": { @@ -83226,7 +84868,7 @@ } }, { - "id": "507", + "id": "508", "name": "Game Helper getGroupOfPlayers should return werewolves when group is werewolves.", "location": { "start": { @@ -83236,7 +84878,7 @@ } }, { - "id": "508", + "id": "509", "name": "Game Helper isGameSourceRole should return true when source is role.", "location": { "start": { @@ -83246,7 +84888,7 @@ } }, { - "id": "509", + "id": "510", "name": "Game Helper isGameSourceRole should return false when source is group.", "location": { "start": { @@ -83256,7 +84898,7 @@ } }, { - "id": "510", + "id": "511", "name": "Game Helper isGameSourceGroup should return true when source is group.", "location": { "start": { @@ -83266,7 +84908,7 @@ } }, { - "id": "511", + "id": "512", "name": "Game Helper isGameSourceGroup should return false when source is role.", "location": { "start": { @@ -83276,7 +84918,7 @@ } }, { - "id": "512", + "id": "513", "name": "Game Helper getNonexistentPlayerId should return undefined when all candidate ids are found.", "location": { "start": { @@ -83286,7 +84928,7 @@ } }, { - "id": "513", + "id": "514", "name": "Game Helper getNonexistentPlayerId should return unknown id when one candidate id is not found.", "location": { "start": { @@ -83296,7 +84938,7 @@ } }, { - "id": "514", + "id": "515", "name": "Game Helper getNonexistentPlayer should return undefined when all candidate ids are found.", "location": { "start": { @@ -83306,7 +84948,7 @@ } }, { - "id": "515", + "id": "516", "name": "Game Helper getNonexistentPlayer should return unknown id when one candidate id is not found.", "location": { "start": { @@ -83316,7 +84958,7 @@ } }, { - "id": "516", + "id": "517", "name": "Game Helper getFoxSniffedPlayers should get 3 targets with left and right neighbors when called.", "location": { "start": { @@ -83326,7 +84968,7 @@ } }, { - "id": "517", + "id": "518", "name": "Game Helper getFoxSniffedPlayers should get 3 targets with left neighbor when right is dead.", "location": { "start": { @@ -83336,7 +84978,7 @@ } }, { - "id": "518", + "id": "519", "name": "Game Helper getFoxSniffedPlayers should get 2 targets with left neighbor when all rights are dead.", "location": { "start": { @@ -83346,7 +84988,7 @@ } }, { - "id": "519", + "id": "520", "name": "Game Helper getFoxSniffedPlayers should get only 1 target when all neighbors.", "location": { "start": { @@ -83356,7 +84998,7 @@ } }, { - "id": "520", + "id": "521", "name": "Game Helper getFoxSniffedPlayers should throw error when player is not found in game.", "location": { "start": { @@ -83366,7 +85008,7 @@ } }, { - "id": "521", + "id": "522", "name": "Game Helper getNearestAliveNeighbor should throw error when player is not found in game.", "location": { "start": { @@ -83376,7 +85018,7 @@ } }, { - "id": "522", + "id": "523", "name": "Game Helper getNearestAliveNeighbor should get the nearest right alive player when called with right direction.", "location": { "start": { @@ -83386,7 +85028,7 @@ } }, { - "id": "523", + "id": "524", "name": "Game Helper getNearestAliveNeighbor should get the nearest left alive player when called with left direction.", "location": { "start": { @@ -83396,7 +85038,7 @@ } }, { - "id": "524", + "id": "525", "name": "Game Helper getNearestAliveNeighbor should get the nearest left alive villager player when called with left direction and villager side.", "location": { "start": { @@ -83406,7 +85048,7 @@ } }, { - "id": "525", + "id": "526", "name": "Game Helper getNearestAliveNeighbor should get the nearest left alive werewolf player when called with left direction and werewolf side.", "location": { "start": { @@ -83416,7 +85058,7 @@ } }, { - "id": "526", + "id": "527", "name": "Game Helper getNearestAliveNeighbor should return undefined when can't find player with conditions.", "location": { "start": { @@ -83426,7 +85068,7 @@ } }, { - "id": "527", + "id": "528", "name": "Game Helper getNearestAliveNeighbor should return undefined when there are no alive players.", "location": { "start": { @@ -83441,7 +85083,7 @@ "tests/unit/specs/modules/game/helpers/game-victory/game-victory.helper.spec.ts": { "tests": [ { - "id": "528", + "id": "529", "name": "Game Victory Helper doWerewolvesWin should return false when there are no players provided.", "location": { "start": { @@ -83451,7 +85093,7 @@ } }, { - "id": "529", + "id": "530", "name": "Game Victory Helper doWerewolvesWin should return false when there are no werewolves among players.", "location": { "start": { @@ -83461,7 +85103,7 @@ } }, { - "id": "530", + "id": "531", "name": "Game Victory Helper doWerewolvesWin should return false when there are at least one alive villager among players.", "location": { "start": { @@ -83471,7 +85113,7 @@ } }, { - "id": "531", + "id": "532", "name": "Game Victory Helper doWerewolvesWin should return true when all villagers are dead.", "location": { "start": { @@ -83481,7 +85123,7 @@ } }, { - "id": "532", + "id": "533", "name": "Game Victory Helper doVillagersWin should return false when there are no players provided.", "location": { "start": { @@ -83491,7 +85133,7 @@ } }, { - "id": "533", + "id": "534", "name": "Game Victory Helper doVillagersWin should return false when there are no villagers among players.", "location": { "start": { @@ -83501,7 +85143,7 @@ } }, { - "id": "534", + "id": "535", "name": "Game Victory Helper doVillagersWin should return false when there are at least one alive werewolf among players.", "location": { "start": { @@ -83511,7 +85153,7 @@ } }, { - "id": "535", + "id": "536", "name": "Game Victory Helper doVillagersWin should return true when all werewolves are dead.", "location": { "start": { @@ -83521,7 +85163,7 @@ } }, { - "id": "536", + "id": "537", "name": "Game Victory Helper doLoversWin should return false when no players are provided.", "location": { "start": { @@ -83531,7 +85173,7 @@ } }, { - "id": "537", + "id": "538", "name": "Game Victory Helper doLoversWin should return false when there are no lovers among players.", "location": { "start": { @@ -83541,7 +85183,7 @@ } }, { - "id": "538", + "id": "539", "name": "Game Victory Helper doLoversWin should return false when at least one non-lover player is alive.", "location": { "start": { @@ -83551,7 +85193,7 @@ } }, { - "id": "539", + "id": "540", "name": "Game Victory Helper doLoversWin should return false when at least one lover player is dead.", "location": { "start": { @@ -83561,7 +85203,7 @@ } }, { - "id": "540", + "id": "541", "name": "Game Victory Helper doLoversWin should return true when lovers are the last survivors.", "location": { "start": { @@ -83571,7 +85213,7 @@ } }, { - "id": "541", + "id": "542", "name": "Game Victory Helper doesWhiteWerewolfWin should return false when no players are provided.", "location": { "start": { @@ -83581,7 +85223,7 @@ } }, { - "id": "542", + "id": "543", "name": "Game Victory Helper doesWhiteWerewolfWin should return false when there is no white werewolf among players.", "location": { "start": { @@ -83591,7 +85233,7 @@ } }, { - "id": "543", + "id": "544", "name": "Game Victory Helper doesWhiteWerewolfWin should return false when there is at least one alive players among players except white werewolf himself.", "location": { "start": { @@ -83601,7 +85243,7 @@ } }, { - "id": "544", + "id": "545", "name": "Game Victory Helper doesWhiteWerewolfWin should return false when all players are dead even white werewolf himself.", "location": { "start": { @@ -83611,7 +85253,7 @@ } }, { - "id": "545", + "id": "546", "name": "Game Victory Helper doesWhiteWerewolfWin should return true when all players are dead except white werewolf.", "location": { "start": { @@ -83621,7 +85263,7 @@ } }, { - "id": "546", + "id": "547", "name": "Game Victory Helper doesPiedPiperWin should return false when no players are provided.", "location": { "start": { @@ -83631,7 +85273,7 @@ } }, { - "id": "547", + "id": "548", "name": "Game Victory Helper doesPiedPiperWin should return false when there is no pied piper among players.", "location": { "start": { @@ -83641,7 +85283,7 @@ } }, { - "id": "548", + "id": "549", "name": "Game Victory Helper doesPiedPiperWin should return false when pied piper is dead but all are charmed.", "location": { "start": { @@ -83651,7 +85293,7 @@ } }, { - "id": "549", + "id": "550", "name": "Game Victory Helper doesPiedPiperWin should return false when pied piper is powerless but all are charmed.", "location": { "start": { @@ -83661,7 +85303,7 @@ } }, { - "id": "550", + "id": "551", "name": "Game Victory Helper doesPiedPiperWin should return false when there are still left to charm players.", "location": { "start": { @@ -83671,7 +85313,7 @@ } }, { - "id": "551", + "id": "552", "name": "Game Victory Helper doesPiedPiperWin should return false when all are charmed but pied piper is powerless because infected.", "location": { "start": { @@ -83681,7 +85323,7 @@ } }, { - "id": "552", + "id": "553", "name": "Game Victory Helper doesPiedPiperWin should return true when all are charmed but pied piper is not powerless because infected.", "location": { "start": { @@ -83691,7 +85333,7 @@ } }, { - "id": "553", + "id": "554", "name": "Game Victory Helper doesPiedPiperWin should return true when all are charmed and pied piper is not infected anyway.", "location": { "start": { @@ -83701,7 +85343,7 @@ } }, { - "id": "554", + "id": "555", "name": "Game Victory Helper doesAngelWin should return false when no players provided.", "location": { "start": { @@ -83711,7 +85353,7 @@ } }, { - "id": "555", + "id": "556", "name": "Game Victory Helper doesAngelWin should return false when there is no angel among players.", "location": { "start": { @@ -83721,7 +85363,7 @@ } }, { - "id": "556", + "id": "557", "name": "Game Victory Helper doesAngelWin should return false when angel is still alive.", "location": { "start": { @@ -83731,7 +85373,7 @@ } }, { - "id": "557", + "id": "558", "name": "Game Victory Helper doesAngelWin should return false when angel is dead but has no death cause.", "location": { "start": { @@ -83741,7 +85383,7 @@ } }, { - "id": "558", + "id": "559", "name": "Game Victory Helper doesAngelWin should return false when angel is dead but powerless.", "location": { "start": { @@ -83751,7 +85393,7 @@ } }, { - "id": "559", + "id": "560", "name": "Game Victory Helper doesAngelWin should return false when it's not first turn of the game.", "location": { "start": { @@ -83761,7 +85403,7 @@ } }, { - "id": "560", + "id": "561", "name": "Game Victory Helper doesAngelWin should return false when angel is not dead from vote or eaten cause.", "location": { "start": { @@ -83771,7 +85413,7 @@ } }, { - "id": "561", + "id": "562", "name": "Game Victory Helper doesAngelWin should return true when angel is dead from eaten cause.", "location": { "start": { @@ -83781,7 +85423,7 @@ } }, { - "id": "562", + "id": "563", "name": "Game Victory Helper doesAngelWin should return true when angel is dead from vote cause.", "location": { "start": { @@ -83791,7 +85433,7 @@ } }, { - "id": "563", + "id": "564", "name": "Game Victory Helper isGameOver should return true when all players are dead.", "location": { "start": { @@ -83801,7 +85443,7 @@ } }, { - "id": "564", + "id": "565", "name": "Game Victory Helper isGameOver should return false when there is a incoming shoot by hunter play.", "location": { "start": { @@ -83811,7 +85453,7 @@ } }, { - "id": "565", + "id": "566", "name": "Game Victory Helper isGameOver should return false when current play is shoot by hunter play.", "location": { "start": { @@ -83821,7 +85463,7 @@ } }, { - "id": "566", + "id": "567", "name": "Game Victory Helper isGameOver should return true when werewolves win.", "location": { "start": { @@ -83831,7 +85473,7 @@ } }, { - "id": "567", + "id": "568", "name": "Game Victory Helper isGameOver should return true when villagers win.", "location": { "start": { @@ -83841,7 +85483,7 @@ } }, { - "id": "568", + "id": "569", "name": "Game Victory Helper isGameOver should return true when lovers win.", "location": { "start": { @@ -83851,7 +85493,7 @@ } }, { - "id": "569", + "id": "570", "name": "Game Victory Helper isGameOver should return true when white werewolf wins.", "location": { "start": { @@ -83861,7 +85503,7 @@ } }, { - "id": "570", + "id": "571", "name": "Game Victory Helper isGameOver should return true when pied piper wins.", "location": { "start": { @@ -83871,7 +85513,7 @@ } }, { - "id": "571", + "id": "572", "name": "Game Victory Helper isGameOver should return true when angel wins.", "location": { "start": { @@ -83881,7 +85523,7 @@ } }, { - "id": "572", + "id": "573", "name": "Game Victory Helper generateGameVictoryData should return no winners when all players are dead.", "location": { "start": { @@ -83891,7 +85533,7 @@ } }, { - "id": "573", + "id": "574", "name": "Game Victory Helper generateGameVictoryData should return angel victory when angel wins.", "location": { "start": { @@ -83901,7 +85543,7 @@ } }, { - "id": "574", + "id": "575", "name": "Game Victory Helper generateGameVictoryData should return lovers victory when lovers win.", "location": { "start": { @@ -83911,7 +85553,7 @@ } }, { - "id": "575", + "id": "576", "name": "Game Victory Helper generateGameVictoryData should return pied piper victory when pied piper wins.", "location": { "start": { @@ -83921,7 +85563,7 @@ } }, { - "id": "576", + "id": "577", "name": "Game Victory Helper generateGameVictoryData should return white werewolf victory when white werewolf wins.", "location": { "start": { @@ -83931,7 +85573,7 @@ } }, { - "id": "577", + "id": "578", "name": "Game Victory Helper generateGameVictoryData should return werewolves victory when werewolves win.", "location": { "start": { @@ -83941,7 +85583,7 @@ } }, { - "id": "578", + "id": "579", "name": "Game Victory Helper generateGameVictoryData should return villagers victory when villagers win.", "location": { "start": { @@ -83951,7 +85593,7 @@ } }, { - "id": "579", + "id": "580", "name": "Game Victory Helper generateGameVictoryData should return undefined when no victory can't be generated.", "location": { "start": { @@ -83966,7 +85608,7 @@ "tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts": { "tests": [ { - "id": "580", + "id": "581", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called [#0].", "location": { "start": { @@ -83976,7 +85618,7 @@ } }, { - "id": "581", + "id": "582", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called [#1].", "location": { "start": { @@ -83986,7 +85628,7 @@ } }, { - "id": "582", + "id": "583", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called [#2].", "location": { "start": { @@ -83996,7 +85638,7 @@ } }, { - "id": "583", + "id": "584", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called [#3].", "location": { "start": { @@ -84006,7 +85648,7 @@ } }, { - "id": "584", + "id": "585", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called [#4].", "location": { "start": { @@ -84016,7 +85658,7 @@ } }, { - "id": "585", + "id": "586", "name": "Game Random Composition Service getRandomRolesForSide should get only werewolves when side is werewolves and no roles are available.", "location": { "start": { @@ -84026,7 +85668,7 @@ } }, { - "id": "586", + "id": "587", "name": "Game Random Composition Service getRandomRolesForSide should get only villagers when side is villagers and no roles are available.", "location": { "start": { @@ -84036,7 +85678,7 @@ } }, { - "id": "587", + "id": "588", "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": { @@ -84046,7 +85688,7 @@ } }, { - "id": "588", + "id": "589", "name": "Game Random Composition Service getRandomRolesForSide should not get fox when minInGame is too high for left to pick.", "location": { "start": { @@ -84056,7 +85698,7 @@ } }, { - "id": "589", + "id": "590", "name": "Game Random Composition Service getRandomRolesForSide should get three brothers when minInGame is exactly left to pick count.", "location": { "start": { @@ -84066,7 +85708,7 @@ } }, { - "id": "590", + "id": "591", "name": "Game Random Composition Service getRandomRolesForSide should get two sisters when minInGame is lower than left to pick count.", "location": { "start": { @@ -84076,7 +85718,7 @@ } }, { - "id": "591", + "id": "592", "name": "Game Random Composition Service getRandomRolesForSide should get full witches when maxInGame is equal to left to pick count.", "location": { "start": { @@ -84086,7 +85728,7 @@ } }, { - "id": "592", + "id": "593", "name": "Game Random Composition Service getWerewolfCountForComposition should return 1 when called with 4 players.", "location": { "start": { @@ -84096,7 +85738,7 @@ } }, { - "id": "593", + "id": "594", "name": "Game Random Composition Service getWerewolfCountForComposition should return 1 when called with 6 players.", "location": { "start": { @@ -84106,7 +85748,7 @@ } }, { - "id": "594", + "id": "595", "name": "Game Random Composition Service getWerewolfCountForComposition should return 2 when called with 7 players.", "location": { "start": { @@ -84116,7 +85758,7 @@ } }, { - "id": "595", + "id": "596", "name": "Game Random Composition Service getWerewolfCountForComposition should return 4 when called with 23 players.", "location": { "start": { @@ -84126,7 +85768,7 @@ } }, { - "id": "596", + "id": "597", "name": "Game Random Composition Service getWerewolfCountForComposition should return 4 when called with 24 players.", "location": { "start": { @@ -84136,7 +85778,7 @@ } }, { - "id": "597", + "id": "598", "name": "Game Random Composition Service getWerewolfCountForComposition should return 5 when called with 25 players.", "location": { "start": { @@ -84146,7 +85788,7 @@ } }, { - "id": "598", + "id": "599", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should not include some roles when there are excluded.", "location": { "start": { @@ -84156,7 +85798,7 @@ } }, { - "id": "599", + "id": "600", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should not include default villager role when powerful villager roles are prioritized.", "location": { "start": { @@ -84166,7 +85808,7 @@ } }, { - "id": "600", + "id": "601", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should include default villager role when powerful villager roles are not prioritized.", "location": { "start": { @@ -84176,7 +85818,7 @@ } }, { - "id": "601", + "id": "602", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should not include default werewolf role when powerful werewolf roles are prioritized.", "location": { "start": { @@ -84186,7 +85828,7 @@ } }, { - "id": "602", + "id": "603", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should include default werewolf role when powerful werewolf roles are not prioritized.", "location": { "start": { @@ -84196,7 +85838,7 @@ } }, { - "id": "603", + "id": "604", "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": { @@ -84206,7 +85848,7 @@ } }, { - "id": "604", + "id": "605", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should include roles with recommended minimum of players when areRecommendedMinPlayersRespected is true when enough players.", "location": { "start": { @@ -84221,7 +85863,7 @@ "tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts": { "tests": [ { - "id": "605", + "id": "606", "name": "Game History Record Service createGameHistoryRecord should create game history record when called with valid data.", "location": { "start": { @@ -84231,7 +85873,7 @@ } }, { - "id": "606", + "id": "607", "name": "Game History Record Service getLastGameHistoryGuardProtectsRecord should get game history when guard protected when called.", "location": { "start": { @@ -84241,7 +85883,7 @@ } }, { - "id": "607", + "id": "608", "name": "Game History Record Service getLastGameHistoryTieInVotesRecord should get game history when all voted and there was a tie when called.", "location": { "start": { @@ -84251,7 +85893,7 @@ } }, { - "id": "608", + "id": "609", "name": "Game History Record Service getGameHistoryWitchUsesSpecificPotionRecords should get game history records when witch used life potion when called.", "location": { "start": { @@ -84261,7 +85903,7 @@ } }, { - "id": "609", + "id": "610", "name": "Game History Record Service getGameHistoryWitchUsesSpecificPotionRecords should get game history records when witch used death potion when called.", "location": { "start": { @@ -84271,7 +85913,7 @@ } }, { - "id": "610", + "id": "611", "name": "Game History Record Service getGameHistoryVileFatherOfWolvesInfectedRecords should get game history records when vile father of wolves infected a player when called.", "location": { "start": { @@ -84281,7 +85923,7 @@ } }, { - "id": "611", + "id": "612", "name": "Game History Record Service getGameHistoryJudgeRequestRecords should get game history records when stuttering judge requested another vote when called.", "location": { "start": { @@ -84291,7 +85933,7 @@ } }, { - "id": "612", + "id": "613", "name": "Game History Record Service getGameHistoryWerewolvesEatAncientRecords should get game history records when any kind of werewolves eat ancient when called.", "location": { "start": { @@ -84301,7 +85943,7 @@ } }, { - "id": "613", + "id": "614", "name": "Game History Record Service getGameHistoryAncientProtectedFromWerewolvesRecords should get game history records when ancient is protected from werewolves when called.", "location": { "start": { @@ -84311,7 +85953,7 @@ } }, { - "id": "614", + "id": "615", "name": "Game History Record Service getPreviousGameHistoryRecord should previous game history record when called.", "location": { "start": { @@ -84321,7 +85963,7 @@ } }, { - "id": "615", + "id": "616", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when a source is not in the game [#0].", "location": { "start": { @@ -84331,7 +85973,7 @@ } }, { - "id": "616", + "id": "617", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when a target is not in the game [#1].", "location": { "start": { @@ -84341,7 +85983,7 @@ } }, { - "id": "617", + "id": "618", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when a vote source is not in the game [#2].", "location": { "start": { @@ -84351,7 +85993,7 @@ } }, { - "id": "618", + "id": "619", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when a vote target is not in the game [#3].", "location": { "start": { @@ -84361,7 +86003,7 @@ } }, { - "id": "619", + "id": "620", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when chosen card is not in the game [#4].", "location": { "start": { @@ -84371,7 +86013,7 @@ } }, { - "id": "620", + "id": "621", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should not throw any errors when called with valid play data.", "location": { "start": { @@ -84381,7 +86023,7 @@ } }, { - "id": "621", + "id": "622", "name": "Game History Record Service validateGameHistoryRecordToInsertData should throw resource not found error when game is not found with specified gameId [#0].", "location": { "start": { @@ -84391,7 +86033,7 @@ } }, { - "id": "622", + "id": "623", "name": "Game History Record Service validateGameHistoryRecordToInsertData should throw resource not found error when a revealed player is not in the game [#1].", "location": { "start": { @@ -84401,7 +86043,7 @@ } }, { - "id": "623", + "id": "624", "name": "Game History Record Service validateGameHistoryRecordToInsertData should throw resource not found error when a dead player is not in the game [#2].", "location": { "start": { @@ -84411,7 +86053,7 @@ } }, { - "id": "624", + "id": "625", "name": "Game History Record Service validateGameHistoryRecordToInsertData should not throw any errors when called with valid data.", "location": { "start": { @@ -84426,7 +86068,7 @@ "tests/unit/specs/modules/game/providers/services/game.service.spec.ts": { "tests": [ { - "id": "625", + "id": "626", "name": "Game Service getGames should get all games when called.", "location": { "start": { @@ -84436,7 +86078,7 @@ } }, { - "id": "626", + "id": "627", "name": "Game Service createGame should throw error when can't generate upcoming plays.", "location": { "start": { @@ -84446,7 +86088,7 @@ } }, { - "id": "627", + "id": "628", "name": "Game Service createGame should create game when called.", "location": { "start": { @@ -84456,7 +86098,7 @@ } }, { - "id": "628", + "id": "629", "name": "Game Service cancelGame should throw error when game is not playing.", "location": { "start": { @@ -84466,7 +86108,7 @@ } }, { - "id": "629", + "id": "630", "name": "Game Service cancelGame should call update method when game can be canceled.", "location": { "start": { @@ -84476,7 +86118,7 @@ } }, { - "id": "630", + "id": "631", "name": "Game Service makeGamePlay should throw an error when game is not playing.", "location": { "start": { @@ -84486,7 +86128,7 @@ } }, { - "id": "631", + "id": "632", "name": "Game Service makeGamePlay should call play validator method when called.", "location": { "start": { @@ -84496,7 +86138,7 @@ } }, { - "id": "632", + "id": "633", "name": "Game Service makeGamePlay should call play maker method when called.", "location": { "start": { @@ -84506,7 +86148,7 @@ } }, { - "id": "633", + "id": "634", "name": "Game Service makeGamePlay should call update method when game can be canceled.", "location": { "start": { @@ -84516,7 +86158,7 @@ } }, { - "id": "634", + "id": "635", "name": "Game Service makeGamePlay should call set game over method when the game is done.", "location": { "start": { @@ -84526,7 +86168,7 @@ } }, { - "id": "635", + "id": "636", "name": "Game Service updateGame should throw an error when game not found by update repository method.", "location": { "start": { @@ -84536,7 +86178,7 @@ } }, { - "id": "636", + "id": "637", "name": "Game Service updateGame should return updated game when called.", "location": { "start": { @@ -84546,7 +86188,7 @@ } }, { - "id": "637", + "id": "638", "name": "Game Service setGameAsOver should set game as over when called.", "location": { "start": { @@ -84561,7 +86203,7 @@ "tests/unit/specs/modules/game/helpers/game-play/game-play.factory.spec.ts": { "tests": [ { - "id": "638", + "id": "639", "name": "Game Play Factory createGamePlaySheriffSettlesVotes should create game play sheriff settles votes when called.", "location": { "start": { @@ -84571,7 +86213,7 @@ } }, { - "id": "639", + "id": "640", "name": "Game Play Factory createGamePlaySheriffDelegates should create game play sheriff delegates when called.", "location": { "start": { @@ -84581,7 +86223,7 @@ } }, { - "id": "640", + "id": "641", "name": "Game Play Factory createGamePlayAllVote should create game play all vote when called.", "location": { "start": { @@ -84591,7 +86233,7 @@ } }, { - "id": "641", + "id": "642", "name": "Game Play Factory createGamePlayAllElectSheriff should create game play all elect sheriff when called.", "location": { "start": { @@ -84601,7 +86243,7 @@ } }, { - "id": "642", + "id": "643", "name": "Game Play Factory createGamePlayThiefChoosesCard should create game play thief chooses card when called.", "location": { "start": { @@ -84611,7 +86253,7 @@ } }, { - "id": "643", + "id": "644", "name": "Game Play Factory createGamePlayStutteringJudgeChoosesSign should create game play stuttering judge chooses sign when called.", "location": { "start": { @@ -84621,7 +86263,7 @@ } }, { - "id": "644", + "id": "645", "name": "Game Play Factory createGamePlayScapegoatBansVoting should create game play scapegoat bans voting when called.", "location": { "start": { @@ -84631,7 +86273,7 @@ } }, { - "id": "645", + "id": "646", "name": "Game Play Factory createGamePlayDogWolfChoosesSide should create game play dog wolf chooses side when called.", "location": { "start": { @@ -84641,7 +86283,7 @@ } }, { - "id": "646", + "id": "647", "name": "Game Play Factory createGamePlayWildChildChoosesModel should create game play wild child chooses model when called.", "location": { "start": { @@ -84651,7 +86293,7 @@ } }, { - "id": "647", + "id": "648", "name": "Game Play Factory createGamePlayFoxSniffs should create game play fox sniffs when called.", "location": { "start": { @@ -84661,7 +86303,7 @@ } }, { - "id": "648", + "id": "649", "name": "Game Play Factory createGamePlayCharmedMeetEachOther should create game play charmed players meet each other when called.", "location": { "start": { @@ -84671,7 +86313,7 @@ } }, { - "id": "649", + "id": "650", "name": "Game Play Factory createGamePlayLoversMeetEachOther should create game play lovers meet each other when called.", "location": { "start": { @@ -84681,7 +86323,7 @@ } }, { - "id": "650", + "id": "651", "name": "Game Play Factory createGamePlayThreeBrothersMeetEachOther should create game play three brothers meet each other when called.", "location": { "start": { @@ -84691,7 +86333,7 @@ } }, { - "id": "651", + "id": "652", "name": "Game Play Factory createGamePlayTwoSistersMeetEachOther should create game play two sisters meet each other when called.", "location": { "start": { @@ -84701,7 +86343,7 @@ } }, { - "id": "652", + "id": "653", "name": "Game Play Factory createGamePlayRavenMarks should create game play raven marks when called.", "location": { "start": { @@ -84711,7 +86353,7 @@ } }, { - "id": "653", + "id": "654", "name": "Game Play Factory createGamePlayGuardProtects should create game play guard protects when called.", "location": { "start": { @@ -84721,7 +86363,7 @@ } }, { - "id": "654", + "id": "655", "name": "Game Play Factory createGamePlayHunterShoots should create game play hunter shoots when called.", "location": { "start": { @@ -84731,7 +86373,7 @@ } }, { - "id": "655", + "id": "656", "name": "Game Play Factory createGamePlayWitchUsesPotions should create game play witch uses potions when called.", "location": { "start": { @@ -84741,7 +86383,7 @@ } }, { - "id": "656", + "id": "657", "name": "Game Play Factory createGamePlayPiedPiperCharms should create game play pied piper charms when called.", "location": { "start": { @@ -84751,7 +86393,7 @@ } }, { - "id": "657", + "id": "658", "name": "Game Play Factory createGamePlayCupidCharms should create game play cupid charms when called.", "location": { "start": { @@ -84761,7 +86403,7 @@ } }, { - "id": "658", + "id": "659", "name": "Game Play Factory createGamePlaySeerLooks should create game play seer looks when called.", "location": { "start": { @@ -84771,7 +86413,7 @@ } }, { - "id": "659", + "id": "660", "name": "Game Play Factory createGamePlayWhiteWerewolfEats should create game play white werewolf eats when called.", "location": { "start": { @@ -84781,7 +86423,7 @@ } }, { - "id": "660", + "id": "661", "name": "Game Play Factory createGamePlayBigBadWolfEats should create game play big bad wolf eats when called.", "location": { "start": { @@ -84791,7 +86433,7 @@ } }, { - "id": "661", + "id": "662", "name": "Game Play Factory createGamePlayWerewolvesEat should create game play werewolves eat when called.", "location": { "start": { @@ -84801,7 +86443,7 @@ } }, { - "id": "662", + "id": "663", "name": "Game Play Factory createGamePlay should create game play when called.", "location": { "start": { @@ -84816,7 +86458,7 @@ "tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.factory.spec.ts": { "tests": [ { - "id": "663", + "id": "664", "name": "Player Attribute Factory createContaminatedByRustySwordKnightPlayerAttribute should create contaminated attribute by rusty sword knight when called.", "location": { "start": { @@ -84826,7 +86468,7 @@ } }, { - "id": "664", + "id": "665", "name": "Player Attribute Factory createGrowledByBearTamerPlayerAttribute should create growled attribute by bear tamer when called.", "location": { "start": { @@ -84836,7 +86478,7 @@ } }, { - "id": "665", + "id": "666", "name": "Player Attribute Factory createCharmedByPiedPiperPlayerAttribute should create charmed attribute by pied piper when called.", "location": { "start": { @@ -84846,7 +86488,7 @@ } }, { - "id": "666", + "id": "667", "name": "Player Attribute Factory createCantVoteByAllPlayerAttribute should create can't vote attribute by all when called.", "location": { "start": { @@ -84856,7 +86498,7 @@ } }, { - "id": "667", + "id": "668", "name": "Player Attribute Factory createCantVoteByScapegoatPlayerAttribute should create can't vote attribute by scapegoat when called.", "location": { "start": { @@ -84866,7 +86508,7 @@ } }, { - "id": "668", + "id": "669", "name": "Player Attribute Factory createPowerlessByFoxPlayerAttribute should create powerless attribute by fox when called.", "location": { "start": { @@ -84876,152 +86518,152 @@ } }, { - "id": "669", + "id": "670", "name": "Player Attribute Factory createPowerlessByAncientPlayerAttribute should create powerless attribute by ancient when called.", "location": { "start": { "column": 6, - "line": 85 + "line": 86 } } }, { - "id": "670", + "id": "671", "name": "Player Attribute Factory createWorshipedByWildChildPlayerAttribute should create worshiped attribute by wild child when called.", "location": { "start": { "column": 6, - "line": 96 + "line": 98 } } }, { - "id": "671", + "id": "672", "name": "Player Attribute Factory createInLoveByCupidPlayerAttribute should create in love attribute by cupid when called.", "location": { "start": { "column": 6, - "line": 107 + "line": 109 } } }, { - "id": "672", + "id": "673", "name": "Player Attribute Factory createRavenMarkByRavenPlayerAttribute should create raven-marked attribute by raven when called.", "location": { "start": { "column": 6, - "line": 118 + "line": 120 } } }, { - "id": "673", + "id": "674", "name": "Player Attribute Factory createProtectedByGuardPlayerAttribute should create protected attribute by guard when called.", "location": { "start": { "column": 6, - "line": 130 + "line": 132 } } }, { - "id": "674", + "id": "675", "name": "Player Attribute Factory createDrankDeathPotionByWitchPlayerAttribute should create drank death potion attribute by witch when called.", "location": { "start": { "column": 6, - "line": 142 + "line": 144 } } }, { - "id": "675", + "id": "676", "name": "Player Attribute Factory createDrankLifePotionByWitchPlayerAttribute should create drank life potion attribute by witch when called.", "location": { "start": { "column": 6, - "line": 154 + "line": 156 } } }, { - "id": "676", + "id": "677", "name": "Player Attribute Factory createEatenByBigBadWolfPlayerAttribute should create eaten attribute by big bad wolf when called.", "location": { "start": { "column": 6, - "line": 166 + "line": 168 } } }, { - "id": "677", + "id": "678", "name": "Player Attribute Factory createEatenByWhiteWerewolfPlayerAttribute should create eaten attribute by white werewolves when called.", "location": { "start": { "column": 6, - "line": 178 + "line": 180 } } }, { - "id": "678", + "id": "679", "name": "Player Attribute Factory createEatenByWerewolvesPlayerAttribute should create eaten attribute by werewolves when called.", "location": { "start": { "column": 6, - "line": 190 + "line": 192 } } }, { - "id": "679", + "id": "680", "name": "Player Attribute Factory createSeenBySeerPlayerAttribute should create seen attribute by seer when called.", "location": { "start": { "column": 6, - "line": 202 + "line": 204 } } }, { - "id": "680", + "id": "681", "name": "Player Attribute Factory createSheriffBySheriffPlayerAttribute should create sheriff attribute by sheriff when called.", "location": { "start": { "column": 6, - "line": 214 + "line": 216 } } }, { - "id": "681", + "id": "682", "name": "Player Attribute Factory createSheriffByAllPlayerAttribute should create sheriff attribute by all when called.", "location": { "start": { "column": 6, - "line": 225 + "line": 228 } } }, { - "id": "682", + "id": "683", "name": "Player Attribute Factory createPlayerAttribute should create player attribute when called.", "location": { "start": { "column": 6, - "line": 236 + "line": 240 } } } ], - "source": "import { GAME_PHASES } from \"../../../../../../../../src/modules/game/enums/game.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport { createCantVoteByAllPlayerAttribute, createCantVoteByScapegoatPlayerAttribute, createCharmedByPiedPiperPlayerAttribute, createContaminatedByRustySwordKnightPlayerAttribute, createDrankDeathPotionByWitchPlayerAttribute, createDrankLifePotionByWitchPlayerAttribute, createEatenByBigBadWolfPlayerAttribute, createEatenByWerewolvesPlayerAttribute, createEatenByWhiteWerewolfPlayerAttribute, createGrowledByBearTamerPlayerAttribute, createInLoveByCupidPlayerAttribute, createPlayerAttribute, createPowerlessByAncientPlayerAttribute, createPowerlessByFoxPlayerAttribute, createProtectedByGuardPlayerAttribute, createRavenMarkByRavenPlayerAttribute, createSeenBySeerPlayerAttribute, createSheriffByAllPlayerAttribute, createSheriffBySheriffPlayerAttribute, createWorshipedByWildChildPlayerAttribute } from \"../../../../../../../../src/modules/game/helpers/player/player-attribute/player-attribute.factory\";\nimport type { PlayerAttribute } from \"../../../../../../../../src/modules/game/schemas/player/player-attribute/player-attribute.schema\";\nimport { ROLE_NAMES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport { createFakeGame } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakePlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\n\ndescribe(\"Player Attribute Factory\", () => {\n describe(\"createContaminatedByRustySwordKnightPlayerAttribute\", () => {\n it(\"should create contaminated attribute by rusty sword knight when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CONTAMINATED,\n source: ROLE_NAMES.RUSTY_SWORD_KNIGHT,\n remainingPhases: 2,\n });\n \n expect(createContaminatedByRustySwordKnightPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createGrowledByBearTamerPlayerAttribute\", () => {\n it(\"should create growled attribute by bear tamer when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.GROWLED,\n source: ROLE_NAMES.BEAR_TAMER,\n remainingPhases: 1,\n });\n \n expect(createGrowledByBearTamerPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createCharmedByPiedPiperPlayerAttribute\", () => {\n it(\"should create charmed attribute by pied piper when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CHARMED,\n source: ROLE_NAMES.PIED_PIPER,\n });\n \n expect(createCharmedByPiedPiperPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createCantVoteByAllPlayerAttribute\", () => {\n it(\"should create can't vote attribute by all when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CANT_VOTE,\n source: PLAYER_GROUPS.ALL,\n });\n \n expect(createCantVoteByAllPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createCantVoteByScapegoatPlayerAttribute\", () => {\n it(\"should create can't vote attribute by scapegoat when called.\", () => {\n const game = createFakeGame({ turn: 2, phase: GAME_PHASES.NIGHT });\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CANT_VOTE,\n source: ROLE_NAMES.SCAPEGOAT,\n remainingPhases: 2,\n activeAt: {\n turn: 3,\n phase: GAME_PHASES.DAY,\n },\n });\n \n expect(createCantVoteByScapegoatPlayerAttribute(game)).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createPowerlessByFoxPlayerAttribute\", () => {\n it(\"should create powerless attribute by fox when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.POWERLESS,\n source: ROLE_NAMES.FOX,\n });\n \n expect(createPowerlessByFoxPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createPowerlessByAncientPlayerAttribute\", () => {\n it(\"should create powerless attribute by ancient when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.POWERLESS,\n source: ROLE_NAMES.ANCIENT,\n });\n \n expect(createPowerlessByAncientPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createWorshipedByWildChildPlayerAttribute\", () => {\n it(\"should create worshiped attribute by wild child when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.WORSHIPED,\n source: ROLE_NAMES.WILD_CHILD,\n });\n \n expect(createWorshipedByWildChildPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createInLoveByCupidPlayerAttribute\", () => {\n it(\"should create in love attribute by cupid when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.IN_LOVE,\n source: ROLE_NAMES.CUPID,\n });\n \n expect(createInLoveByCupidPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createRavenMarkByRavenPlayerAttribute\", () => {\n it(\"should create raven-marked attribute by raven when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.RAVEN_MARKED,\n source: ROLE_NAMES.RAVEN,\n remainingPhases: 2,\n });\n \n expect(createRavenMarkByRavenPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createProtectedByGuardPlayerAttribute\", () => {\n it(\"should create protected attribute by guard when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.PROTECTED,\n source: ROLE_NAMES.GUARD,\n remainingPhases: 1,\n });\n \n expect(createProtectedByGuardPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createDrankDeathPotionByWitchPlayerAttribute\", () => {\n it(\"should create drank death potion attribute by witch when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.DRANK_DEATH_POTION,\n source: ROLE_NAMES.WITCH,\n remainingPhases: 1,\n });\n \n expect(createDrankDeathPotionByWitchPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createDrankLifePotionByWitchPlayerAttribute\", () => {\n it(\"should create drank life potion attribute by witch when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.DRANK_LIFE_POTION,\n source: ROLE_NAMES.WITCH,\n remainingPhases: 1,\n });\n \n expect(createDrankLifePotionByWitchPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createEatenByBigBadWolfPlayerAttribute\", () => {\n it(\"should create eaten attribute by big bad wolf when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: ROLE_NAMES.BIG_BAD_WOLF,\n remainingPhases: 1,\n });\n \n expect(createEatenByBigBadWolfPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createEatenByWhiteWerewolfPlayerAttribute\", () => {\n it(\"should create eaten attribute by white werewolves when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: ROLE_NAMES.WHITE_WEREWOLF,\n remainingPhases: 1,\n });\n \n expect(createEatenByWhiteWerewolfPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createEatenByWerewolvesPlayerAttribute\", () => {\n it(\"should create eaten attribute by werewolves when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: PLAYER_GROUPS.WEREWOLVES,\n remainingPhases: 1,\n });\n \n expect(createEatenByWerewolvesPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createSeenBySeerPlayerAttribute\", () => {\n it(\"should create seen attribute by seer when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SEEN,\n source: ROLE_NAMES.SEER,\n remainingPhases: 1,\n });\n \n expect(createSeenBySeerPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createSheriffBySheriffPlayerAttribute\", () => {\n it(\"should create sheriff attribute by sheriff when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n source: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n });\n \n expect(createSheriffBySheriffPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createSheriffByAllPlayerAttribute\", () => {\n it(\"should create sheriff attribute by all when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n source: PLAYER_GROUPS.ALL,\n });\n \n expect(createSheriffByAllPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createPlayerAttribute\", () => {\n it(\"should create player attribute when called.\", () => {\n const playerAttribute: PlayerAttribute = {\n name: PLAYER_ATTRIBUTE_NAMES.GROWLED,\n source: ROLE_NAMES.BEAR_TAMER,\n };\n \n expect(createPlayerAttribute(playerAttribute)).toStrictEqual(createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.GROWLED,\n source: ROLE_NAMES.BEAR_TAMER,\n }));\n });\n });\n});" + "source": "import { GAME_PHASES } from \"../../../../../../../../src/modules/game/enums/game.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport { createCantVoteByAllPlayerAttribute, createCantVoteByScapegoatPlayerAttribute, createCharmedByPiedPiperPlayerAttribute, createContaminatedByRustySwordKnightPlayerAttribute, createDrankDeathPotionByWitchPlayerAttribute, createDrankLifePotionByWitchPlayerAttribute, createEatenByBigBadWolfPlayerAttribute, createEatenByWerewolvesPlayerAttribute, createEatenByWhiteWerewolfPlayerAttribute, createGrowledByBearTamerPlayerAttribute, createInLoveByCupidPlayerAttribute, createPlayerAttribute, createPowerlessByAncientPlayerAttribute, createPowerlessByFoxPlayerAttribute, createProtectedByGuardPlayerAttribute, createRavenMarkByRavenPlayerAttribute, createSeenBySeerPlayerAttribute, createSheriffByAllPlayerAttribute, createSheriffBySheriffPlayerAttribute, createWorshipedByWildChildPlayerAttribute } from \"../../../../../../../../src/modules/game/helpers/player/player-attribute/player-attribute.factory\";\nimport type { PlayerAttribute } from \"../../../../../../../../src/modules/game/schemas/player/player-attribute/player-attribute.schema\";\nimport { ROLE_NAMES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport { createFakeGame } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakePlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\n\ndescribe(\"Player Attribute Factory\", () => {\n describe(\"createContaminatedByRustySwordKnightPlayerAttribute\", () => {\n it(\"should create contaminated attribute by rusty sword knight when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CONTAMINATED,\n source: ROLE_NAMES.RUSTY_SWORD_KNIGHT,\n remainingPhases: 2,\n });\n \n expect(createContaminatedByRustySwordKnightPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createGrowledByBearTamerPlayerAttribute\", () => {\n it(\"should create growled attribute by bear tamer when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.GROWLED,\n source: ROLE_NAMES.BEAR_TAMER,\n remainingPhases: 1,\n });\n \n expect(createGrowledByBearTamerPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createCharmedByPiedPiperPlayerAttribute\", () => {\n it(\"should create charmed attribute by pied piper when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CHARMED,\n source: ROLE_NAMES.PIED_PIPER,\n });\n \n expect(createCharmedByPiedPiperPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createCantVoteByAllPlayerAttribute\", () => {\n it(\"should create can't vote attribute by all when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CANT_VOTE,\n source: PLAYER_GROUPS.ALL,\n });\n \n expect(createCantVoteByAllPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createCantVoteByScapegoatPlayerAttribute\", () => {\n it(\"should create can't vote attribute by scapegoat when called.\", () => {\n const game = createFakeGame({ turn: 2, phase: GAME_PHASES.NIGHT });\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.CANT_VOTE,\n source: ROLE_NAMES.SCAPEGOAT,\n remainingPhases: 2,\n activeAt: {\n turn: 3,\n phase: GAME_PHASES.DAY,\n },\n });\n \n expect(createCantVoteByScapegoatPlayerAttribute(game)).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createPowerlessByFoxPlayerAttribute\", () => {\n it(\"should create powerless attribute by fox when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.POWERLESS,\n source: ROLE_NAMES.FOX,\n doesRemainAfterDeath: true,\n });\n \n expect(createPowerlessByFoxPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createPowerlessByAncientPlayerAttribute\", () => {\n it(\"should create powerless attribute by ancient when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.POWERLESS,\n source: ROLE_NAMES.ANCIENT,\n doesRemainAfterDeath: true,\n });\n \n expect(createPowerlessByAncientPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createWorshipedByWildChildPlayerAttribute\", () => {\n it(\"should create worshiped attribute by wild child when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.WORSHIPED,\n source: ROLE_NAMES.WILD_CHILD,\n });\n \n expect(createWorshipedByWildChildPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createInLoveByCupidPlayerAttribute\", () => {\n it(\"should create in love attribute by cupid when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.IN_LOVE,\n source: ROLE_NAMES.CUPID,\n });\n \n expect(createInLoveByCupidPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createRavenMarkByRavenPlayerAttribute\", () => {\n it(\"should create raven-marked attribute by raven when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.RAVEN_MARKED,\n source: ROLE_NAMES.RAVEN,\n remainingPhases: 2,\n });\n \n expect(createRavenMarkByRavenPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createProtectedByGuardPlayerAttribute\", () => {\n it(\"should create protected attribute by guard when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.PROTECTED,\n source: ROLE_NAMES.GUARD,\n remainingPhases: 1,\n });\n \n expect(createProtectedByGuardPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createDrankDeathPotionByWitchPlayerAttribute\", () => {\n it(\"should create drank death potion attribute by witch when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.DRANK_DEATH_POTION,\n source: ROLE_NAMES.WITCH,\n remainingPhases: 1,\n });\n \n expect(createDrankDeathPotionByWitchPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createDrankLifePotionByWitchPlayerAttribute\", () => {\n it(\"should create drank life potion attribute by witch when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.DRANK_LIFE_POTION,\n source: ROLE_NAMES.WITCH,\n remainingPhases: 1,\n });\n \n expect(createDrankLifePotionByWitchPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createEatenByBigBadWolfPlayerAttribute\", () => {\n it(\"should create eaten attribute by big bad wolf when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: ROLE_NAMES.BIG_BAD_WOLF,\n remainingPhases: 1,\n });\n \n expect(createEatenByBigBadWolfPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createEatenByWhiteWerewolfPlayerAttribute\", () => {\n it(\"should create eaten attribute by white werewolves when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: ROLE_NAMES.WHITE_WEREWOLF,\n remainingPhases: 1,\n });\n \n expect(createEatenByWhiteWerewolfPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createEatenByWerewolvesPlayerAttribute\", () => {\n it(\"should create eaten attribute by werewolves when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.EATEN,\n source: PLAYER_GROUPS.WEREWOLVES,\n remainingPhases: 1,\n });\n \n expect(createEatenByWerewolvesPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createSeenBySeerPlayerAttribute\", () => {\n it(\"should create seen attribute by seer when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SEEN,\n source: ROLE_NAMES.SEER,\n remainingPhases: 1,\n });\n \n expect(createSeenBySeerPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createSheriffBySheriffPlayerAttribute\", () => {\n it(\"should create sheriff attribute by sheriff when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n source: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n doesRemainAfterDeath: true,\n });\n \n expect(createSheriffBySheriffPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createSheriffByAllPlayerAttribute\", () => {\n it(\"should create sheriff attribute by all when called.\", () => {\n const expectedAttribute = createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n source: PLAYER_GROUPS.ALL,\n doesRemainAfterDeath: true,\n });\n \n expect(createSheriffByAllPlayerAttribute()).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"createPlayerAttribute\", () => {\n it(\"should create player attribute when called.\", () => {\n const playerAttribute: PlayerAttribute = {\n name: PLAYER_ATTRIBUTE_NAMES.GROWLED,\n source: ROLE_NAMES.BEAR_TAMER,\n };\n \n expect(createPlayerAttribute(playerAttribute)).toStrictEqual(createFakePlayerAttribute({\n name: PLAYER_ATTRIBUTE_NAMES.GROWLED,\n source: ROLE_NAMES.BEAR_TAMER,\n }));\n });\n });\n});" }, "tests/unit/specs/modules/game/helpers/game-play/game-play.helper.spec.ts": { "tests": [ { - "id": "683", + "id": "684", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should return undefined when votes are undefined.", "location": { "start": { @@ -85031,7 +86673,7 @@ } }, { - "id": "684", + "id": "685", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should throw error when votes contains one unknown source.", "location": { "start": { @@ -85041,7 +86683,7 @@ } }, { - "id": "685", + "id": "686", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should throw error when votes contains one unknown target.", "location": { "start": { @@ -85051,7 +86693,7 @@ } }, { - "id": "686", + "id": "687", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should fill votes with game players when called.", "location": { "start": { @@ -85061,7 +86703,7 @@ } }, { - "id": "687", + "id": "688", "name": "Game Play Helper getTargetsWithRelationsFromMakeGamePlayDto should return undefined when targets are undefined.", "location": { "start": { @@ -85071,7 +86713,7 @@ } }, { - "id": "688", + "id": "689", "name": "Game Play Helper getTargetsWithRelationsFromMakeGamePlayDto should throw error when targets contains one unknown player.", "location": { "start": { @@ -85081,7 +86723,7 @@ } }, { - "id": "689", + "id": "690", "name": "Game Play Helper getTargetsWithRelationsFromMakeGamePlayDto should fill targets with game players when called.", "location": { "start": { @@ -85091,7 +86733,7 @@ } }, { - "id": "690", + "id": "691", "name": "Game Play Helper getChosenCardFromMakeGamePlayDto should return undefined when chosenCardId is undefined.", "location": { "start": { @@ -85101,7 +86743,7 @@ } }, { - "id": "691", + "id": "692", "name": "Game Play Helper getChosenCardFromMakeGamePlayDto should throw error when chosen card is unknown from game cards.", "location": { "start": { @@ -85111,7 +86753,7 @@ } }, { - "id": "692", + "id": "693", "name": "Game Play Helper getChosenCardFromMakeGamePlayDto should return chosen card when called.", "location": { "start": { @@ -85121,7 +86763,7 @@ } }, { - "id": "693", + "id": "694", "name": "Game Play Helper createMakeGamePlayDtoWithRelations should return same dto with relations when called.", "location": { "start": { @@ -85136,7 +86778,7 @@ "tests/unit/specs/modules/game/helpers/game.mutator.spec.ts": { "tests": [ { - "id": "694", + "id": "695", "name": "Game Mutator updatePlayerInGame should return game as is when player id is not found among players.", "location": { "start": { @@ -85146,7 +86788,7 @@ } }, { - "id": "695", + "id": "696", "name": "Game Mutator updatePlayerInGame should return game with updated player when player id found.", "location": { "start": { @@ -85156,7 +86798,7 @@ } }, { - "id": "696", + "id": "697", "name": "Game Mutator updatePlayerInGame should not mutate original game when called.", "location": { "start": { @@ -85166,7 +86808,7 @@ } }, { - "id": "697", + "id": "698", "name": "Game Mutator addPlayerAttributeInGame should return game as is when player id is not found among players.", "location": { "start": { @@ -85176,7 +86818,7 @@ } }, { - "id": "698", + "id": "699", "name": "Game Mutator addPlayerAttributeInGame should return game with player with new attribute when player is found.", "location": { "start": { @@ -85186,7 +86828,7 @@ } }, { - "id": "699", + "id": "700", "name": "Game Mutator addPlayerAttributeInGame should not mutate the original game when called.", "location": { "start": { @@ -85196,7 +86838,7 @@ } }, { - "id": "700", + "id": "701", "name": "Game Mutator addPlayersAttributeInGame should return game as is when player ids are not in the game.", "location": { "start": { @@ -85206,7 +86848,7 @@ } }, { - "id": "701", + "id": "702", "name": "Game Mutator addPlayersAttributeInGame should return game with players with new attribute when players are found.", "location": { "start": { @@ -85216,7 +86858,7 @@ } }, { - "id": "702", + "id": "703", "name": "Game Mutator addPlayersAttributeInGame should not mutate the original game when called.", "location": { "start": { @@ -85226,7 +86868,7 @@ } }, { - "id": "703", + "id": "704", "name": "Game Mutator removePlayerAttributeByNameInGame should return game as is when player is not found in game.", "location": { "start": { @@ -85236,7 +86878,7 @@ } }, { - "id": "704", + "id": "705", "name": "Game Mutator removePlayerAttributeByNameInGame should return game with player without his sheriff attribute when called.", "location": { "start": { @@ -85246,7 +86888,7 @@ } }, { - "id": "705", + "id": "706", "name": "Game Mutator removePlayerAttributeByNameInGame should not mutate the original game when called.", "location": { "start": { @@ -85256,7 +86898,7 @@ } }, { - "id": "706", + "id": "707", "name": "Game Mutator prependUpcomingPlayInGame should prepend play in upcoming plays when called.", "location": { "start": { @@ -85266,7 +86908,7 @@ } }, { - "id": "707", + "id": "708", "name": "Game Mutator prependUpcomingPlayInGame should not mutate the original game when called.", "location": { "start": { @@ -85276,7 +86918,7 @@ } }, { - "id": "708", + "id": "709", "name": "Game Mutator appendUpcomingPlayInGame should append play in upcoming plays when called.", "location": { "start": { @@ -85286,7 +86928,7 @@ } }, { - "id": "709", + "id": "710", "name": "Game Mutator appendUpcomingPlayInGame should not mutate the original game when called.", "location": { "start": { @@ -85298,11 +86940,106 @@ ], "source": "import { cloneDeep } from \"lodash\";\nimport { PLAYER_ATTRIBUTE_NAMES } from \"../../../../../../src/modules/game/enums/player.enum\";\nimport { addPlayerAttributeInGame, addPlayersAttributeInGame, appendUpcomingPlayInGame, prependUpcomingPlayInGame, removePlayerAttributeByNameInGame, updatePlayerInGame } from \"../../../../../../src/modules/game/helpers/game.mutator\";\nimport type { Game } from \"../../../../../../src/modules/game/schemas/game.schema\";\nimport { createFakeGamePlayCupidCharms, createFakeGamePlayHunterShoots } from \"../../../../../factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame } from \"../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeCharmedByPiedPiperPlayerAttribute, createFakeSheriffByAllPlayerAttribute } from \"../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakeSeerAlivePlayer } from \"../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { bulkCreateFakePlayers, createFakePlayer } from \"../../../../../factories/game/schemas/player/player.schema.factory\";\nimport { createFakeObjectId } from \"../../../../../factories/shared/mongoose/mongoose.factory\";\n\ndescribe(\"Game Mutator\", () => {\n describe(\"updatePlayerInGame\", () => {\n it(\"should return game as is when player id is not found among players.\", () => {\n const unknownPlayerId = createFakeObjectId();\n const players = bulkCreateFakePlayers(4);\n const updatedPlayer = createFakeSeerAlivePlayer();\n const game = createFakeGame({ players });\n \n expect(updatePlayerInGame(unknownPlayerId, updatedPlayer, game)).toStrictEqual(game);\n });\n\n it(\"should return game with updated player when player id found.\", () => {\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGame({ players });\n const newName = \"It's a me, Mario !\";\n const updatedPlayer = createFakeSeerAlivePlayer({ ...players[2], name: newName });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(game.players[0]),\n createFakePlayer(game.players[1]),\n createFakePlayer({\n ...game.players[2],\n name: newName,\n }),\n createFakePlayer(game.players[3]),\n ],\n });\n \n expect(updatePlayerInGame(updatedPlayer._id, updatedPlayer, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should not mutate original game when called.\", () => {\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGame({ players });\n const newName = \"It's a me, Mario !\";\n const updatedPlayer = createFakeSeerAlivePlayer({ ...players[2], name: newName });\n const clonedGame = cloneDeep(game);\n updatePlayerInGame(updatedPlayer._id, updatedPlayer, game);\n \n expect(game).toStrictEqual(clonedGame);\n });\n });\n \n describe(\"addPlayerAttributeInGame\", () => {\n it(\"should return game as is when player id is not found among players.\", () => {\n const attributeToAdd = createFakeCharmedByPiedPiperPlayerAttribute();\n const unknownPlayerId = createFakeObjectId();\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGame({ players });\n \n expect(addPlayerAttributeInGame(unknownPlayerId, game, attributeToAdd)).toStrictEqual(game);\n });\n\n it(\"should return game with player with new attribute when player is found.\", () => {\n const attributeToAdd = createFakeCharmedByPiedPiperPlayerAttribute();\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGame({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(game.players[0]),\n createFakePlayer(game.players[1]),\n createFakePlayer({\n ...game.players[2],\n attributes: [attributeToAdd],\n }),\n createFakePlayer(game.players[3]),\n ],\n });\n \n expect(addPlayerAttributeInGame(players[2]._id, game, attributeToAdd)).toStrictEqual(expectedGame);\n });\n\n it(\"should not mutate the original game when called.\", () => {\n const attributeToAdd = createFakeCharmedByPiedPiperPlayerAttribute();\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGame({ players });\n const clonedGame = cloneDeep(game);\n addPlayerAttributeInGame(players[2]._id, game, attributeToAdd);\n \n expect(game).toStrictEqual(clonedGame);\n });\n });\n\n describe(\"addPlayersAttributeInGame\", () => {\n it(\"should return game as is when player ids are not in the game.\", () => {\n const attributeToAdd = createFakeCharmedByPiedPiperPlayerAttribute();\n const unknownPlayerIds = [\n createFakeObjectId(),\n createFakeObjectId(),\n createFakeObjectId(),\n ];\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGame({ players });\n \n expect(addPlayersAttributeInGame(unknownPlayerIds, game, attributeToAdd)).toStrictEqual(game);\n });\n\n it(\"should return game with players with new attribute when players are found.\", () => {\n const attributeToAdd = createFakeCharmedByPiedPiperPlayerAttribute();\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGame({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(game.players[0]),\n createFakePlayer({\n ...game.players[1],\n attributes: [attributeToAdd],\n }),\n createFakePlayer({\n ...game.players[2],\n attributes: [attributeToAdd],\n }),\n createFakePlayer(game.players[3]),\n ],\n });\n \n expect(addPlayersAttributeInGame([players[1]._id, players[2]._id], game, attributeToAdd)).toStrictEqual(expectedGame);\n });\n\n it(\"should not mutate the original game when called.\", () => {\n const attributeToAdd = createFakeCharmedByPiedPiperPlayerAttribute();\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGame({ players });\n const clonedGame = cloneDeep(game);\n addPlayersAttributeInGame([players[1]._id, players[2]._id], game, attributeToAdd);\n \n expect(game).toStrictEqual(clonedGame);\n });\n });\n\n describe(\"removePlayerAttributeByNameInGame\", () => {\n it(\"should return game as is when player is not found in game.\", () => {\n const game = createFakeGame();\n\n expect(removePlayerAttributeByNameInGame(createFakeObjectId(), game, PLAYER_ATTRIBUTE_NAMES.SHERIFF)).toStrictEqual(game);\n });\n\n it(\"should return game with player without his sheriff attribute when called.\", () => {\n const players = bulkCreateFakePlayers(4, [{}, { attributes: [createFakeSheriffByAllPlayerAttribute(), createFakeCharmedByPiedPiperPlayerAttribute()] }]);\n const game = createFakeGame({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n game.players[0],\n createFakePlayer({ ...players[1], attributes: [createFakeCharmedByPiedPiperPlayerAttribute()] }),\n game.players[2],\n game.players[3],\n ],\n });\n\n expect(removePlayerAttributeByNameInGame(game.players[1]._id, game, PLAYER_ATTRIBUTE_NAMES.SHERIFF)).toStrictEqual(expectedGame);\n });\n\n it(\"should not mutate the original game when called.\", () => {\n const players = bulkCreateFakePlayers(4, [{}, { attributes: [createFakeSheriffByAllPlayerAttribute()] }]);\n const game = createFakeGame({ players });\n const clonedGame = cloneDeep(game);\n removePlayerAttributeByNameInGame(game.players[1]._id, game, PLAYER_ATTRIBUTE_NAMES.SHERIFF);\n\n expect(game).toStrictEqual(clonedGame);\n });\n });\n\n describe(\"prependUpcomingPlayInGame\", () => {\n it(\"should prepend play in upcoming plays when called.\", () => {\n const gamePlayToPrepend = createFakeGamePlayHunterShoots();\n const game = createFakeGame({ upcomingPlays: [createFakeGamePlayCupidCharms()] });\n const expectedGame = createFakeGame({\n ...game,\n upcomingPlays: [gamePlayToPrepend, ...game.upcomingPlays],\n });\n \n expect(prependUpcomingPlayInGame(gamePlayToPrepend, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should not mutate the original game when called.\", () => {\n const gamePlayToPrepend = createFakeGamePlayHunterShoots();\n const game = createFakeGame({ upcomingPlays: [createFakeGamePlayCupidCharms()] });\n const clonedGame = cloneDeep(game);\n prependUpcomingPlayInGame(gamePlayToPrepend, game);\n \n expect(game).toStrictEqual(clonedGame);\n });\n });\n\n describe(\"appendUpcomingPlayInGame\", () => {\n it(\"should append play in upcoming plays when called.\", () => {\n const gamePlayToAppend = createFakeGamePlayHunterShoots();\n const game = createFakeGame({ upcomingPlays: [createFakeGamePlayCupidCharms()] });\n const expectedGame = createFakeGame({\n ...game,\n upcomingPlays: [...game.upcomingPlays, gamePlayToAppend],\n });\n \n expect(appendUpcomingPlayInGame(gamePlayToAppend, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should not mutate the original game when called.\", () => {\n const gamePlayToAppend = createFakeGamePlayHunterShoots();\n const game = createFakeGame({ upcomingPlays: [createFakeGamePlayCupidCharms()] });\n const clonedGame = cloneDeep(game);\n appendUpcomingPlayInGame(gamePlayToAppend, game);\n \n expect(game).toStrictEqual(clonedGame);\n });\n });\n});" }, + "tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts": { + "tests": [ + { + "id": "711", + "name": "Player Attribute Service applyEatenAttributeOutcomes should call killOrRevealPlayer when called.", + "location": { + "start": { + "column": 6, + "line": 35 + } + } + }, + { + "id": "712", + "name": "Player Attribute Service applyDrankDeathPotionAttributeOutcomes should call killOrRevealPlayer when called.", + "location": { + "start": { + "column": 6, + "line": 47 + } + } + }, + { + "id": "713", + "name": "Player Attribute Service applyContaminatedAttributeOutcomes should call killOrRevealPlayer when called.", + "location": { + "start": { + "column": 6, + "line": 58 + } + } + }, + { + "id": "714", + "name": "Player Attribute Service decreaseAttributeRemainingPhase should return attribute as is when there is no remaining phases.", + "location": { + "start": { + "column": 6, + "line": 69 + } + } + }, + { + "id": "715", + "name": "Player Attribute Service decreaseAttributeRemainingPhase should return attribute as is when attribute is not active yet.", + "location": { + "start": { + "column": 6, + "line": 76 + } + } + }, + { + "id": "716", + "name": "Player Attribute Service decreaseAttributeRemainingPhase should return decreased attribute when called.", + "location": { + "start": { + "column": 6, + "line": 83 + } + } + }, + { + "id": "717", + "name": "Player Attribute Service decreaseRemainingPhasesAndRemoveObsoleteAttributes should return player as is when he is dead.", + "location": { + "start": { + "column": 6, + "line": 96 + } + } + }, + { + "id": "718", + "name": "Player Attribute Service decreaseRemainingPhasesAndRemoveObsoleteAttributes should return player with one decreased attribute and other one removed when called.", + "location": { + "start": { + "column": 6, + "line": 108 + } + } + }, + { + "id": "719", + "name": "Player Attribute Service decreaseRemainingPhasesAndRemoveObsoletePlayerAttributes should decrease and remove attributes among players when called.", + "location": { + "start": { + "column": 6, + "line": 130 + } + } + } + ], + "source": "import type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport { PlayerAttributeService } from \"../../../../../../../../src/modules/game/providers/services/player/player-attribute.service\";\nimport { PlayerKillerService } from \"../../../../../../../../src/modules/game/providers/services/player/player-killer.service\";\nimport type { Game } from \"../../../../../../../../src/modules/game/schemas/game.schema\";\nimport type { PlayerAttribute } from \"../../../../../../../../src/modules/game/schemas/player/player-attribute/player-attribute.schema\";\nimport type { Player } from \"../../../../../../../../src/modules/game/schemas/player/player.schema\";\nimport { createFakeGame } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeCantVoteByAllPlayerAttribute, createFakeEatenByBigBadWolfPlayerAttribute, createFakePlayerAttribute, createFakePlayerAttributeActivation, createFakePowerlessByAncientPlayerAttribute, createFakeSheriffByAllPlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakePlayerDeathPotionByWitchDeath, createFakePlayerDiseaseByRustySwordKnightDeath, createFakePlayerEatenByWerewolvesDeath } from \"../../../../../../../factories/game/schemas/player/player-death/player-death.schema.factory\";\nimport { createFakeSeerAlivePlayer } from \"../../../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { createFakePlayer } from \"../../../../../../../factories/game/schemas/player/player.schema.factory\";\n\ndescribe(\"Player Attribute Service\", () => {\n let services: { playerAttribute: PlayerAttributeService };\n let mocks: { playerKillerService: { killOrRevealPlayer: jest.SpyInstance } };\n\n beforeEach(async() => {\n mocks = { playerKillerService: { killOrRevealPlayer: jest.fn() } };\n \n const module: TestingModule = await Test.createTestingModule({\n providers: [\n PlayerAttributeService,\n {\n provide: PlayerKillerService,\n useValue: mocks.playerKillerService,\n },\n ],\n }).compile();\n\n services = { playerAttribute: module.get(PlayerAttributeService) };\n });\n\n describe(\"applyEatenAttributeOutcomes\", () => {\n it(\"should call killOrRevealPlayer when called.\", async() => {\n const player = createFakePlayer();\n const game = createFakeGame();\n const attribute = createFakeEatenByBigBadWolfPlayerAttribute();\n const death = createFakePlayerEatenByWerewolvesDeath({ source: attribute.source });\n await services.playerAttribute.applyEatenAttributeOutcomes(player, game, attribute);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(player._id, game, death);\n });\n });\n\n describe(\"applyDrankDeathPotionAttributeOutcomes\", () => {\n it(\"should call killOrRevealPlayer when called.\", async() => {\n const player = createFakePlayer();\n const game = createFakeGame();\n const death = createFakePlayerDeathPotionByWitchDeath();\n await services.playerAttribute.applyDrankDeathPotionAttributeOutcomes(player, game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(player._id, game, death);\n });\n });\n\n describe(\"applyContaminatedAttributeOutcomes\", () => {\n it(\"should call killOrRevealPlayer when called.\", async() => {\n const player = createFakePlayer();\n const game = createFakeGame();\n const death = createFakePlayerDiseaseByRustySwordKnightDeath();\n await services.playerAttribute.applyContaminatedAttributeOutcomes(player, game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(player._id, game, death);\n });\n });\n\n describe(\"decreaseAttributeRemainingPhase\", () => {\n it(\"should return attribute as is when there is no remaining phases.\", () => {\n const attribute = createFakePowerlessByAncientPlayerAttribute();\n const game = createFakeGame();\n\n expect(services.playerAttribute[\"decreaseAttributeRemainingPhase\"](attribute, game)).toStrictEqual(attribute);\n });\n\n it(\"should return attribute as is when attribute is not active yet.\", () => {\n const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 2 }) });\n const game = createFakeGame({ turn: 1 });\n\n expect(services.playerAttribute[\"decreaseAttributeRemainingPhase\"](attribute, game)).toStrictEqual(attribute);\n });\n \n it(\"should return decreased attribute when called.\", () => {\n const attribute = createFakePowerlessByAncientPlayerAttribute({ remainingPhases: 3 });\n const game = createFakeGame();\n const expectedAttribute = createFakePlayerAttribute({\n ...attribute,\n remainingPhases: 2,\n });\n\n expect(services.playerAttribute[\"decreaseAttributeRemainingPhase\"](attribute, game)).toStrictEqual(expectedAttribute);\n });\n });\n\n describe(\"decreaseRemainingPhasesAndRemoveObsoleteAttributes\", () => {\n it(\"should return player as is when he is dead.\", () => {\n const player = createFakeSeerAlivePlayer({\n isAlive: false, attributes: [\n createFakeCantVoteByAllPlayerAttribute({ remainingPhases: 1 }),\n createFakeSheriffByAllPlayerAttribute({ remainingPhases: 2 }),\n ],\n });\n const game = createFakeGame();\n\n expect(services.playerAttribute[\"decreaseRemainingPhasesAndRemoveObsoleteAttributes\"](player, game)).toStrictEqual(player);\n });\n\n it(\"should return player with one decreased attribute and other one removed when called.\", () => {\n const player = createFakeSeerAlivePlayer({\n attributes: [\n createFakeCantVoteByAllPlayerAttribute(),\n createFakeCantVoteByAllPlayerAttribute({ remainingPhases: 1 }),\n createFakeSheriffByAllPlayerAttribute({ remainingPhases: 2 }),\n ],\n });\n const game = createFakeGame();\n const expectedPlayer = createFakePlayer({\n ...player,\n attributes: [\n player.attributes[0],\n createFakePlayerAttribute({ ...player.attributes[2], remainingPhases: 1 }),\n ],\n });\n\n expect(services.playerAttribute[\"decreaseRemainingPhasesAndRemoveObsoleteAttributes\"](player, game)).toStrictEqual(expectedPlayer);\n });\n });\n\n describe(\"decreaseRemainingPhasesAndRemoveObsoletePlayerAttributes\", () => {\n it(\"should decrease and remove attributes among players when called.\", () => {\n const players = [\n createFakeSeerAlivePlayer({\n attributes: [\n createFakeCantVoteByAllPlayerAttribute(),\n createFakeCantVoteByAllPlayerAttribute({ remainingPhases: 1 }),\n createFakeSheriffByAllPlayerAttribute({ remainingPhases: 2 }),\n ],\n }),\n ];\n const game = createFakeGame({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer({\n ...players[0],\n attributes: [\n players[0].attributes[0],\n createFakePlayerAttribute({ ...players[0].attributes[2], remainingPhases: 1 }),\n ],\n }),\n ],\n });\n \n expect(services.playerAttribute.decreaseRemainingPhasesAndRemoveObsoletePlayerAttributes(game)).toStrictEqual(expectedGame);\n });\n });\n});" + }, "tests/unit/specs/modules/game/helpers/player/player-death/player-death.factory.spec.ts": { "tests": [ { - "id": "710", - "name": "Player Death Factory createPlayerDiseaseByRustySwordKnightDeath should create player disease by rusty sword knight when called.", + "id": "720", + "name": "Player Death Factory createPlayerDiseaseByRustySwordKnightDeath should create player contaminated by rusty sword knight when called.", "location": { "start": { "column": 6, @@ -85311,7 +87048,7 @@ } }, { - "id": "711", + "id": "721", "name": "Player Death Factory createPlayerBrokenHeartByCupidDeath should create player broken heart by cupid when called.", "location": { "start": { @@ -85321,7 +87058,7 @@ } }, { - "id": "712", + "id": "722", "name": "Player Death Factory createPlayerReconsiderPardonByAllDeath should create player reconsider pardon by all death when called.", "location": { "start": { @@ -85331,7 +87068,7 @@ } }, { - "id": "713", + "id": "723", "name": "Player Death Factory createPlayerVoteScapegoatedByAllDeath should create player vote scapegoated by all death when called.", "location": { "start": { @@ -85341,7 +87078,7 @@ } }, { - "id": "714", + "id": "724", "name": "Player Death Factory createPlayerVoteBySheriffDeath should create player vote by sheriff death when called.", "location": { "start": { @@ -85351,7 +87088,7 @@ } }, { - "id": "715", + "id": "725", "name": "Player Death Factory createPlayerVoteByAllDeath should create player vote by all death when called.", "location": { "start": { @@ -85361,7 +87098,7 @@ } }, { - "id": "716", + "id": "726", "name": "Player Death Factory createPlayerShotByHunterDeath should create player shot by hunter death when called.", "location": { "start": { @@ -85371,7 +87108,7 @@ } }, { - "id": "717", + "id": "727", "name": "Player Death Factory createPlayerEatenByWhiteWerewolfDeath should create player eaten by white werewolf death when called.", "location": { "start": { @@ -85381,7 +87118,7 @@ } }, { - "id": "718", + "id": "728", "name": "Player Death Factory createPlayerEatenByBigBadWolfDeath should create player eaten by big bad wolf death when called.", "location": { "start": { @@ -85391,7 +87128,7 @@ } }, { - "id": "719", + "id": "729", "name": "Player Death Factory createPlayerEatenByWerewolvesDeath should create player eaten by werewolves death when called.", "location": { "start": { @@ -85401,7 +87138,7 @@ } }, { - "id": "720", + "id": "730", "name": "Player Death Factory createPlayerDeathPotionByWitchDeath should create player death potion by witch death when called.", "location": { "start": { @@ -85411,7 +87148,7 @@ } }, { - "id": "721", + "id": "731", "name": "Player Death Factory createPlayerDeath should create player death when called.", "location": { "start": { @@ -85421,12 +87158,12 @@ } } ], - "source": "import { PLAYER_ATTRIBUTE_NAMES, PLAYER_DEATH_CAUSES, PLAYER_GROUPS } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport { createPlayerBrokenHeartByCupidDeath, createPlayerDeath, createPlayerDeathPotionByWitchDeath, createPlayerDiseaseByRustySwordKnightDeath, createPlayerEatenByBigBadWolfDeath, createPlayerEatenByWerewolvesDeath, createPlayerEatenByWhiteWerewolfDeath, createPlayerReconsiderPardonByAllDeath, createPlayerShotByHunterDeath, createPlayerVoteByAllDeath, createPlayerVoteBySheriffDeath, createPlayerVoteScapegoatedByAllDeath } from \"../../../../../../../../src/modules/game/helpers/player/player-death/player-death.factory\";\nimport type { PlayerDeath } from \"../../../../../../../../src/modules/game/schemas/player/player-death.schema\";\nimport { ROLE_NAMES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport { createFakePlayerDeath } from \"../../../../../../../factories/game/schemas/player/player-death/player-death.schema.factory\";\n\ndescribe(\"Player Death Factory\", () => {\n describe(\"createPlayerDiseaseByRustySwordKnightDeath\", () => {\n it(\"should create player disease by rusty sword knight when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.DISEASE,\n source: ROLE_NAMES.RUSTY_SWORD_KNIGHT,\n });\n \n expect(createPlayerDiseaseByRustySwordKnightDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerBrokenHeartByCupidDeath\", () => {\n it(\"should create player broken heart by cupid when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.BROKEN_HEART,\n source: ROLE_NAMES.CUPID,\n });\n \n expect(createPlayerBrokenHeartByCupidDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerReconsiderPardonByAllDeath\", () => {\n it(\"should create player reconsider pardon by all death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.RECONSIDER_PARDON,\n source: PLAYER_GROUPS.ALL,\n });\n \n expect(createPlayerReconsiderPardonByAllDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerVoteScapegoatedByAllDeath\", () => {\n it(\"should create player vote scapegoated by all death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED,\n source: PLAYER_GROUPS.ALL,\n });\n \n expect(createPlayerVoteScapegoatedByAllDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerVoteBySheriffDeath\", () => {\n it(\"should create player vote by sheriff death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.VOTE,\n source: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n });\n \n expect(createPlayerVoteBySheriffDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerVoteByAllDeath\", () => {\n it(\"should create player vote by all death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.VOTE,\n source: PLAYER_GROUPS.ALL,\n });\n \n expect(createPlayerVoteByAllDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerShotByHunterDeath\", () => {\n it(\"should create player shot by hunter death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.SHOT,\n source: ROLE_NAMES.HUNTER,\n });\n \n expect(createPlayerShotByHunterDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerEatenByWhiteWerewolfDeath\", () => {\n it(\"should create player eaten by white werewolf death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.EATEN,\n source: ROLE_NAMES.WHITE_WEREWOLF,\n });\n \n expect(createPlayerEatenByWhiteWerewolfDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerEatenByBigBadWolfDeath\", () => {\n it(\"should create player eaten by big bad wolf death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.EATEN,\n source: ROLE_NAMES.BIG_BAD_WOLF,\n });\n \n expect(createPlayerEatenByBigBadWolfDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerEatenByWerewolvesDeath\", () => {\n it(\"should create player eaten by werewolves death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.EATEN,\n source: PLAYER_GROUPS.WEREWOLVES,\n });\n \n expect(createPlayerEatenByWerewolvesDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerDeathPotionByWitchDeath\", () => {\n it(\"should create player death potion by witch death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.DEATH_POTION,\n source: ROLE_NAMES.WITCH,\n });\n \n expect(createPlayerDeathPotionByWitchDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerDeath\", () => {\n it(\"should create player death when called.\", () => {\n const playerDeath: PlayerDeath = {\n cause: PLAYER_DEATH_CAUSES.DEATH_POTION,\n source: ROLE_NAMES.WITCH,\n };\n \n expect(createPlayerDeath(playerDeath)).toStrictEqual(createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.DEATH_POTION,\n source: ROLE_NAMES.WITCH,\n }));\n });\n });\n});" + "source": "import { PLAYER_ATTRIBUTE_NAMES, PLAYER_DEATH_CAUSES, PLAYER_GROUPS } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport { createPlayerBrokenHeartByCupidDeath, createPlayerDeath, createPlayerDeathPotionByWitchDeath, createPlayerDiseaseByRustySwordKnightDeath, createPlayerEatenByBigBadWolfDeath, createPlayerEatenByWerewolvesDeath, createPlayerEatenByWhiteWerewolfDeath, createPlayerReconsiderPardonByAllDeath, createPlayerShotByHunterDeath, createPlayerVoteByAllDeath, createPlayerVoteBySheriffDeath, createPlayerVoteScapegoatedByAllDeath } from \"../../../../../../../../src/modules/game/helpers/player/player-death/player-death.factory\";\nimport type { PlayerDeath } from \"../../../../../../../../src/modules/game/schemas/player/player-death.schema\";\nimport { ROLE_NAMES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport { createFakePlayerDeath } from \"../../../../../../../factories/game/schemas/player/player-death/player-death.schema.factory\";\n\ndescribe(\"Player Death Factory\", () => {\n describe(\"createPlayerDiseaseByRustySwordKnightDeath\", () => {\n it(\"should create player contaminated by rusty sword knight when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.DISEASE,\n source: ROLE_NAMES.RUSTY_SWORD_KNIGHT,\n });\n \n expect(createPlayerDiseaseByRustySwordKnightDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerBrokenHeartByCupidDeath\", () => {\n it(\"should create player broken heart by cupid when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.BROKEN_HEART,\n source: ROLE_NAMES.CUPID,\n });\n \n expect(createPlayerBrokenHeartByCupidDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerReconsiderPardonByAllDeath\", () => {\n it(\"should create player reconsider pardon by all death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.RECONSIDER_PARDON,\n source: PLAYER_GROUPS.ALL,\n });\n \n expect(createPlayerReconsiderPardonByAllDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerVoteScapegoatedByAllDeath\", () => {\n it(\"should create player vote scapegoated by all death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED,\n source: PLAYER_GROUPS.ALL,\n });\n \n expect(createPlayerVoteScapegoatedByAllDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerVoteBySheriffDeath\", () => {\n it(\"should create player vote by sheriff death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.VOTE,\n source: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n });\n \n expect(createPlayerVoteBySheriffDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerVoteByAllDeath\", () => {\n it(\"should create player vote by all death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.VOTE,\n source: PLAYER_GROUPS.ALL,\n });\n \n expect(createPlayerVoteByAllDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerShotByHunterDeath\", () => {\n it(\"should create player shot by hunter death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.SHOT,\n source: ROLE_NAMES.HUNTER,\n });\n \n expect(createPlayerShotByHunterDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerEatenByWhiteWerewolfDeath\", () => {\n it(\"should create player eaten by white werewolf death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.EATEN,\n source: ROLE_NAMES.WHITE_WEREWOLF,\n });\n \n expect(createPlayerEatenByWhiteWerewolfDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerEatenByBigBadWolfDeath\", () => {\n it(\"should create player eaten by big bad wolf death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.EATEN,\n source: ROLE_NAMES.BIG_BAD_WOLF,\n });\n \n expect(createPlayerEatenByBigBadWolfDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerEatenByWerewolvesDeath\", () => {\n it(\"should create player eaten by werewolves death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.EATEN,\n source: PLAYER_GROUPS.WEREWOLVES,\n });\n \n expect(createPlayerEatenByWerewolvesDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerDeathPotionByWitchDeath\", () => {\n it(\"should create player death potion by witch death when called.\", () => {\n const expectedDeath = createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.DEATH_POTION,\n source: ROLE_NAMES.WITCH,\n });\n \n expect(createPlayerDeathPotionByWitchDeath()).toStrictEqual(expectedDeath);\n });\n });\n\n describe(\"createPlayerDeath\", () => {\n it(\"should create player death when called.\", () => {\n const playerDeath: PlayerDeath = {\n cause: PLAYER_DEATH_CAUSES.DEATH_POTION,\n source: ROLE_NAMES.WITCH,\n };\n \n expect(createPlayerDeath(playerDeath)).toStrictEqual(createFakePlayerDeath({\n cause: PLAYER_DEATH_CAUSES.DEATH_POTION,\n source: ROLE_NAMES.WITCH,\n }));\n });\n });\n});" }, "tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts": { "tests": [ { - "id": "722", + "id": "732", "name": "Player Helper doesPlayerHaveAttribute should return false when player doesn't have any attributes.", "location": { "start": { @@ -85436,7 +87173,7 @@ } }, { - "id": "723", + "id": "733", "name": "Player Helper doesPlayerHaveAttribute should return false when player doesn't have the attribute.", "location": { "start": { @@ -85446,7 +87183,7 @@ } }, { - "id": "724", + "id": "734", "name": "Player Helper doesPlayerHaveAttribute should return true when player has the attribute.", "location": { "start": { @@ -85456,7 +87193,7 @@ } }, { - "id": "725", + "id": "735", "name": "Player Helper canPiedPiperCharm should return false when pied piper is powerless.", "location": { "start": { @@ -85466,7 +87203,7 @@ } }, { - "id": "726", + "id": "736", "name": "Player Helper canPiedPiperCharm should return false when pied piper is dead.", "location": { "start": { @@ -85476,7 +87213,7 @@ } }, { - "id": "727", + "id": "737", "name": "Player Helper canPiedPiperCharm should return false when pied piper is infected and thus is powerless.", "location": { "start": { @@ -85486,7 +87223,7 @@ } }, { - "id": "728", + "id": "738", "name": "Player Helper canPiedPiperCharm should return true when pied piper is infected but original rule is not respected.", "location": { "start": { @@ -85496,7 +87233,7 @@ } }, { - "id": "729", + "id": "739", "name": "Player Helper canPiedPiperCharm should return true when pied piper is not powerless and currently a villager.", "location": { "start": { @@ -85506,7 +87243,7 @@ } }, { - "id": "730", + "id": "740", "name": "Player Helper isPlayerAliveAndPowerful should return false when player is dead.", "location": { "start": { @@ -85516,7 +87253,7 @@ } }, { - "id": "731", + "id": "741", "name": "Player Helper isPlayerAliveAndPowerful should return false when player is powerless.", "location": { "start": { @@ -85526,7 +87263,7 @@ } }, { - "id": "732", + "id": "742", "name": "Player Helper isPlayerAliveAndPowerful should return true when player is alive and powerful.", "location": { "start": { @@ -85536,7 +87273,7 @@ } }, { - "id": "733", + "id": "743", "name": "Player Helper isPlayerOnWerewolvesSide should return false when player is on villagers side.", "location": { "start": { @@ -85546,7 +87283,7 @@ } }, { - "id": "734", + "id": "744", "name": "Player Helper isPlayerOnWerewolvesSide should return true when player is on werewolves side.", "location": { "start": { @@ -85556,7 +87293,7 @@ } }, { - "id": "735", + "id": "745", "name": "Player Helper isPlayerOnVillagersSide should return true when player is on villagers side.", "location": { "start": { @@ -85566,7 +87303,7 @@ } }, { - "id": "736", + "id": "746", "name": "Player Helper isPlayerOnVillagersSide should return false when player is on werewolves side.", "location": { "start": { @@ -85581,7 +87318,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-positions-consistency.decorator.spec.ts": { "tests": [ { - "id": "737", + "id": "747", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when players are undefined.", "location": { "start": { @@ -85591,7 +87328,7 @@ } }, { - "id": "738", + "id": "748", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when players are not an array.", "location": { "start": { @@ -85601,7 +87338,7 @@ } }, { - "id": "739", + "id": "749", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when one of the players is not an object.", "location": { "start": { @@ -85611,7 +87348,7 @@ } }, { - "id": "740", + "id": "750", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return true when there is no position set in composition.", "location": { "start": { @@ -85621,7 +87358,7 @@ } }, { - "id": "741", + "id": "751", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when there is one position set in composition but not the others.", "location": { "start": { @@ -85631,7 +87368,7 @@ } }, { - "id": "742", + "id": "752", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when there is twice the same position in composition.", "location": { "start": { @@ -85641,7 +87378,7 @@ } }, { - "id": "743", + "id": "753", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when positions sequence starts at 1.", "location": { "start": { @@ -85651,7 +87388,7 @@ } }, { - "id": "744", + "id": "754", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when there is one too high position in composition.", "location": { "start": { @@ -85661,7 +87398,7 @@ } }, { - "id": "745", + "id": "755", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return true when all positions are sequence in composition.", "location": { "start": { @@ -85671,7 +87408,7 @@ } }, { - "id": "746", + "id": "756", "name": "Composition Positions Consistency Decorator getCompositionPositionsConsistencyDefaultMessage should return default message when called.", "location": { "start": { @@ -85686,7 +87423,7 @@ "tests/unit/specs/server/server.spec.ts": { "tests": [ { - "id": "747", + "id": "757", "name": "Server bootstrap should create FastifyAdapter with default fastify server options when called.", "location": { "start": { @@ -85696,7 +87433,7 @@ } }, { - "id": "748", + "id": "758", "name": "Server bootstrap should call listen with the default port when no port is provided.", "location": { "start": { @@ -85706,7 +87443,7 @@ } }, { - "id": "749", + "id": "759", "name": "Server bootstrap should call listen with 4000 when port 4000 is provided.", "location": { "start": { @@ -85716,7 +87453,7 @@ } }, { - "id": "750", + "id": "760", "name": "Server bootstrap should add validation pipe with transform when Validation Pipe constructor is called.", "location": { "start": { @@ -85726,7 +87463,7 @@ } }, { - "id": "751", + "id": "761", "name": "Server bootstrap should serve public directory when called.", "location": { "start": { @@ -85736,7 +87473,7 @@ } }, { - "id": "752", + "id": "762", "name": "Server bootstrap should print server and docs address with specific port when port is provided.", "location": { "start": { @@ -85751,7 +87488,7 @@ "tests/unit/specs/server/swagger/swagger.spec.ts": { "tests": [ { - "id": "753", + "id": "763", "name": "Server Swagger createSwaggerDocument should call document builder methods when function is called with known version.", "location": { "start": { @@ -85761,7 +87498,7 @@ } }, { - "id": "754", + "id": "764", "name": "Server Swagger createSwaggerDocument should call document builder methods when function is called with unknown version.", "location": { "start": { @@ -85771,7 +87508,7 @@ } }, { - "id": "755", + "id": "765", "name": "Server Swagger createSwaggerDocument should call createDocument and setup functions when function is called.", "location": { "start": { @@ -85786,7 +87523,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-roles-min-in-game.decorator.spec.ts": { "tests": [ { - "id": "756", + "id": "766", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when players are undefined.", "location": { "start": { @@ -85796,7 +87533,7 @@ } }, { - "id": "757", + "id": "767", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when players are not an array.", "location": { "start": { @@ -85806,7 +87543,7 @@ } }, { - "id": "758", + "id": "768", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when one of the players is not an object.", "location": { "start": { @@ -85816,7 +87553,7 @@ } }, { - "id": "759", + "id": "769", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -85826,7 +87563,7 @@ } }, { - "id": "760", + "id": "770", "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": { @@ -85836,7 +87573,7 @@ } }, { - "id": "761", + "id": "771", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return true when players are empty.", "location": { "start": { @@ -85846,7 +87583,7 @@ } }, { - "id": "762", + "id": "772", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return true when the limit for each role is respected.", "location": { "start": { @@ -85856,7 +87593,7 @@ } }, { - "id": "763", + "id": "773", "name": "Composition Roles Min In Game Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -85871,7 +87608,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-roles-max-in-game.decorator.spec.ts": { "tests": [ { - "id": "764", + "id": "774", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when players are undefined.", "location": { "start": { @@ -85881,7 +87618,7 @@ } }, { - "id": "765", + "id": "775", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when players are not an array.", "location": { "start": { @@ -85891,7 +87628,7 @@ } }, { - "id": "766", + "id": "776", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when one of the players is not an object.", "location": { "start": { @@ -85901,7 +87638,7 @@ } }, { - "id": "767", + "id": "777", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -85911,7 +87648,7 @@ } }, { - "id": "768", + "id": "778", "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": { @@ -85921,7 +87658,7 @@ } }, { - "id": "769", + "id": "779", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return true when players are empty.", "location": { "start": { @@ -85931,7 +87668,7 @@ } }, { - "id": "770", + "id": "780", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return true when the limit for each role is respected.", "location": { "start": { @@ -85941,7 +87678,7 @@ } }, { - "id": "771", + "id": "781", "name": "Composition Roles Max In Game Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -85956,7 +87693,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-has-villager.decorator.spec.ts": { "tests": [ { - "id": "772", + "id": "782", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when players are undefined.", "location": { "start": { @@ -85966,7 +87703,7 @@ } }, { - "id": "773", + "id": "783", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when players are not an array.", "location": { "start": { @@ -85976,7 +87713,7 @@ } }, { - "id": "774", + "id": "784", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when one of the players is not an object.", "location": { "start": { @@ -85986,7 +87723,7 @@ } }, { - "id": "775", + "id": "785", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -85996,7 +87733,7 @@ } }, { - "id": "776", + "id": "786", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when composition is full of werewolves.", "location": { "start": { @@ -86006,7 +87743,7 @@ } }, { - "id": "777", + "id": "787", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when players are empty.", "location": { "start": { @@ -86016,7 +87753,7 @@ } }, { - "id": "778", + "id": "788", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return true when there is at least one villager in composition.", "location": { "start": { @@ -86026,7 +87763,7 @@ } }, { - "id": "779", + "id": "789", "name": "Composition Has Villager Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -86041,7 +87778,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-has-werewolf.decorator.spec.ts": { "tests": [ { - "id": "780", + "id": "790", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when players are undefined.", "location": { "start": { @@ -86051,7 +87788,7 @@ } }, { - "id": "781", + "id": "791", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when players are not an array.", "location": { "start": { @@ -86061,7 +87798,7 @@ } }, { - "id": "782", + "id": "792", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when one of the players is not an object.", "location": { "start": { @@ -86071,7 +87808,7 @@ } }, { - "id": "783", + "id": "793", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -86081,7 +87818,7 @@ } }, { - "id": "784", + "id": "794", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when composition is full of villagers.", "location": { "start": { @@ -86091,7 +87828,7 @@ } }, { - "id": "785", + "id": "795", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when players are empty.", "location": { "start": { @@ -86101,7 +87838,7 @@ } }, { - "id": "786", + "id": "796", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return true when there is at least one werewolf in composition.", "location": { "start": { @@ -86111,7 +87848,7 @@ } }, { - "id": "787", + "id": "797", "name": "Composition Has Werewolf Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -86123,10 +87860,75 @@ ], "source": "import {\n doesCompositionHaveAtLeastOneWerewolf,\n getCompositionHasWerewolfDefaultMessage,\n} from \"../../../../../../../../src/modules/game/dto/base/decorators/composition-has-werewolf.decorator\";\nimport { ROLE_NAMES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport { bulkCreateFakeCreateGamePlayerDto } from \"../../../../../../../factories/game/dto/create-game/create-game-player/create-game-player.dto.factory\";\n\ndescribe(\"Composition Has Werewolf Decorator\", () => {\n describe(\"doesCompositionHaveAtLeastOneWerewolf\", () => {\n it(\"should return false when players are undefined.\", () => {\n expect(doesCompositionHaveAtLeastOneWerewolf(undefined)).toBe(false);\n });\n\n it(\"should return false when players are not an array.\", () => {\n expect(doesCompositionHaveAtLeastOneWerewolf(null)).toBe(false);\n });\n\n it(\"should return false when one of the players is not an object.\", () => {\n const players = bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.TWO_SISTERS } },\n { role: { name: ROLE_NAMES.TWO_SISTERS } },\n { role: { name: ROLE_NAMES.WEREWOLF } },\n { role: { name: ROLE_NAMES.VILLAGER } },\n ]);\n\n expect(doesCompositionHaveAtLeastOneWerewolf([...players, \"toto\"])).toBe(false);\n });\n\n it(\"should return false when one of the players doesn't have the good structure.\", () => {\n const players = bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.TWO_SISTERS } },\n { role: { name: ROLE_NAMES.TWO_SISTERS } },\n { role: { name: ROLE_NAMES.WEREWOLF } },\n { role: { name: ROLE_NAMES.VILLAGER } },\n ]);\n\n expect(doesCompositionHaveAtLeastOneWerewolf([...players, { name: \"bad\", role: { titi: \"toto\" } }])).toBe(false);\n });\n\n it(\"should return false when composition is full of villagers.\", () => {\n const players = bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.VILLAGER } },\n { role: { name: ROLE_NAMES.WITCH } },\n { role: { name: ROLE_NAMES.SEER } },\n { role: { name: ROLE_NAMES.HUNTER } },\n ]);\n\n expect(doesCompositionHaveAtLeastOneWerewolf(players)).toBe(false);\n });\n\n it(\"should return false when players are empty.\", () => {\n expect(doesCompositionHaveAtLeastOneWerewolf([])).toBe(false);\n });\n\n it(\"should return true when there is at least one werewolf in composition.\", () => {\n const players = bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.WITCH } },\n { role: { name: ROLE_NAMES.SEER } },\n { role: { name: ROLE_NAMES.HUNTER } },\n { role: { name: ROLE_NAMES.WEREWOLF } },\n ]);\n\n expect(doesCompositionHaveAtLeastOneWerewolf(players)).toBe(true);\n });\n });\n\n describe(\"playersRoleLimitDefaultMessage\", () => {\n it(\"should return default message when called.\", () => {\n expect(getCompositionHasWerewolfDefaultMessage()).toBe(\"one of the players.role must have at least one role from `werewolves` side\");\n });\n });\n});" }, + "tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts": { + "tests": [ + { + "id": "798", + "name": "Player Attribute Helper isPlayerAttributeActive should return true when activation is undefined.", + "location": { + "start": { + "column": 6, + "line": 8 + } + } + }, + { + "id": "799", + "name": "Player Attribute Helper isPlayerAttributeActive should return false when activation turn is not reached yet.", + "location": { + "start": { + "column": 6, + "line": 15 + } + } + }, + { + "id": "800", + "name": "Player Attribute Helper isPlayerAttributeActive should return true when activation turn is reached (+1).", + "location": { + "start": { + "column": 6, + "line": 22 + } + } + }, + { + "id": "801", + "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": { + "column": 6, + "line": 29 + } + } + }, + { + "id": "802", + "name": "Player Attribute Helper isPlayerAttributeActive should return true when activation turn is same as game's turn and phase too.", + "location": { + "start": { + "column": 6, + "line": 36 + } + } + }, + { + "id": "803", + "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": { + "column": 6, + "line": 43 + } + } + } + ], + "source": "import { GAME_PHASES } from \"../../../../../../../../src/modules/game/enums/game.enum\";\nimport { isPlayerAttributeActive } from \"../../../../../../../../src/modules/game/helpers/player/player-attribute/player-attribute.helper\";\nimport { createFakeGame } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakePlayerAttributeActivation, createFakePowerlessByAncientPlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\n\ndescribe(\"Player Attribute Helper\", () => {\n describe(\"isPlayerAttributeActive\", () => {\n it(\"should return true when activation is undefined.\", () => {\n const attribute = createFakePowerlessByAncientPlayerAttribute();\n const game = createFakeGame();\n\n expect(isPlayerAttributeActive(attribute, game)).toBe(true);\n });\n\n it(\"should return false when activation turn is not reached yet.\", () => {\n const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 2, phase: GAME_PHASES.DAY }) });\n const game = createFakeGame({ turn: 1, phase: GAME_PHASES.DAY });\n\n expect(isPlayerAttributeActive(attribute, game)).toBe(false);\n });\n\n it(\"should return true when activation turn is reached (+1).\", () => {\n const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 1, phase: GAME_PHASES.DAY }) });\n const game = createFakeGame({ turn: 2, phase: GAME_PHASES.DAY });\n\n expect(isPlayerAttributeActive(attribute, game)).toBe(true);\n });\n\n it(\"should return false when activation turn is same as game's turn but game's phase is NIGHT and activation phase is DAY.\", () => {\n const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 1, phase: GAME_PHASES.DAY }) });\n const game = createFakeGame({ turn: 1, phase: GAME_PHASES.NIGHT });\n\n expect(isPlayerAttributeActive(attribute, game)).toBe(false);\n });\n\n it(\"should return true when activation turn is same as game's turn and phase too.\", () => {\n const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 1, phase: GAME_PHASES.NIGHT }) });\n const game = createFakeGame({ turn: 1, phase: GAME_PHASES.NIGHT });\n\n expect(isPlayerAttributeActive(attribute, game)).toBe(true);\n });\n\n it(\"should return true when activation turn is same as game's turn, phase are different but game's phase is DAY anyway.\", () => {\n const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 1, phase: GAME_PHASES.NIGHT }) });\n const game = createFakeGame({ turn: 1, phase: GAME_PHASES.DAY });\n\n expect(isPlayerAttributeActive(attribute, game)).toBe(true);\n });\n });\n});" + }, "tests/unit/specs/modules/game/dto/base/game-player/transformers/player-side.transformer.spec.ts": { "tests": [ { - "id": "788", + "id": "804", "name": "Player Side Transformer playerSideTransformer should return null when value is null.", "location": { "start": { @@ -86136,7 +87938,7 @@ } }, { - "id": "789", + "id": "805", "name": "Player Side Transformer playerSideTransformer should return same value when value is not an object.", "location": { "start": { @@ -86146,7 +87948,7 @@ } }, { - "id": "790", + "id": "806", "name": "Player Side Transformer playerSideTransformer should return same value when obj is not an object.", "location": { "start": { @@ -86156,7 +87958,7 @@ } }, { - "id": "791", + "id": "807", "name": "Player Side Transformer playerSideTransformer should return same value when obj doesn't have the role.name field.", "location": { "start": { @@ -86166,7 +87968,7 @@ } }, { - "id": "792", + "id": "808", "name": "Player Side Transformer playerSideTransformer should return same value when role is unknown.", "location": { "start": { @@ -86176,7 +87978,7 @@ } }, { - "id": "793", + "id": "809", "name": "Player Side Transformer playerSideTransformer should fill player side with werewolf data when role is white werewolf.", "location": { "start": { @@ -86186,7 +87988,7 @@ } }, { - "id": "794", + "id": "810", "name": "Player Side Transformer playerSideTransformer should fill player side with villager data when role is witch.", "location": { "start": { @@ -86201,7 +88003,7 @@ "tests/unit/specs/modules/game/dto/base/game-player/transformers/player-role.transformer.spec.ts": { "tests": [ { - "id": "795", + "id": "811", "name": "Player Role Transformer playerRoleTransformer should return null when value is null.", "location": { "start": { @@ -86211,7 +88013,7 @@ } }, { - "id": "796", + "id": "812", "name": "Player Role Transformer playerRoleTransformer should return same value when value is not an object.", "location": { "start": { @@ -86221,7 +88023,7 @@ } }, { - "id": "797", + "id": "813", "name": "Player Role Transformer playerRoleTransformer should return same value when value doesn't have the name field.", "location": { "start": { @@ -86231,7 +88033,7 @@ } }, { - "id": "798", + "id": "814", "name": "Player Role Transformer playerRoleTransformer should return same value when role is unknown.", "location": { "start": { @@ -86241,7 +88043,7 @@ } }, { - "id": "799", + "id": "815", "name": "Player Role Transformer playerRoleTransformer should fill player role (seer) fields when called.", "location": { "start": { @@ -86251,7 +88053,7 @@ } }, { - "id": "800", + "id": "816", "name": "Player Role Transformer playerRoleTransformer should fill player role (white-werewolf) fields when called.", "location": { "start": { @@ -86261,7 +88063,7 @@ } }, { - "id": "801", + "id": "817", "name": "Player Role Transformer playerRoleTransformer should fill player role fields with isRevealed true when role is villager villager.", "location": { "start": { @@ -86276,7 +88078,7 @@ "tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts": { "tests": [ { - "id": "802", + "id": "818", "name": "Get Game By Id Pipe transform should throw error when value is not a valid object id.", "location": { "start": { @@ -86286,7 +88088,7 @@ } }, { - "id": "803", + "id": "819", "name": "Get Game By Id Pipe transform should throw error when game is not found.", "location": { "start": { @@ -86296,7 +88098,7 @@ } }, { - "id": "804", + "id": "820", "name": "Get Game By Id Pipe transform should return existing game when game is found.", "location": { "start": { @@ -86311,7 +88113,7 @@ "tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts": { "tests": [ { - "id": "805", + "id": "821", "name": "Unexpected Exception Factory createCantFindPlayerUnexpectedException should create player is dead unexpected exception when called.", "location": { "start": { @@ -86321,7 +88123,7 @@ } }, { - "id": "806", + "id": "822", "name": "Unexpected Exception Factory createPlayerIsDeadUnexpectedException should create player is dead unexpected exception when called.", "location": { "start": { @@ -86331,7 +88133,7 @@ } }, { - "id": "807", + "id": "823", "name": "Unexpected Exception Factory createCantGenerateGamePlaysUnexpectedException should create can't generate game plays unexpected exception when called.", "location": { "start": { @@ -86346,7 +88148,7 @@ "tests/unit/specs/modules/config/database/helpers/database.helper.spec.ts": { "tests": [ { - "id": "808", + "id": "824", "name": "Database Helper mongooseModuleFactory should return connection string when called.", "location": { "start": { @@ -86361,7 +88163,7 @@ "tests/unit/specs/modules/game/dto/base/transformers/game-players-position.transformer.spec.ts": { "tests": [ { - "id": "809", + "id": "825", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return same value when value is not an array.", "location": { "start": { @@ -86371,7 +88173,7 @@ } }, { - "id": "810", + "id": "826", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return same value when one value of the array is not object.", "location": { "start": { @@ -86381,7 +88183,7 @@ } }, { - "id": "811", + "id": "827", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return players as is when every position is set.", "location": { "start": { @@ -86391,7 +88193,7 @@ } }, { - "id": "812", + "id": "828", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return players as is when at least one position is not set.", "location": { "start": { @@ -86401,7 +88203,7 @@ } }, { - "id": "813", + "id": "829", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return players with sequential position when no positions are set.", "location": { "start": { @@ -86416,7 +88218,7 @@ "tests/unit/specs/modules/config/env/helpers/env.helper.spec.ts": { "tests": [ { - "id": "814", + "id": "830", "name": "Config Env Helper validate should return the validated config when there is no error in env variables.", "location": { "start": { @@ -86426,7 +88228,7 @@ } }, { - "id": "815", + "id": "831", "name": "Config Env Helper validate should throw error when env variables is not valid.", "location": { "start": { @@ -86436,7 +88238,7 @@ } }, { - "id": "816", + "id": "832", "name": "Config Env Helper getEnvPath should return default development env path when NODE_ENV is undefined.", "location": { "start": { @@ -86446,7 +88248,7 @@ } }, { - "id": "817", + "id": "833", "name": "Config Env Helper getEnvPath should return test env path when NODE_ENV is test.", "location": { "start": { @@ -86456,7 +88258,7 @@ } }, { - "id": "818", + "id": "834", "name": "Config Env Helper getEnvPaths should return default and local test env paths when function is called.", "location": { "start": { @@ -86471,7 +88273,7 @@ "tests/unit/specs/modules/role/helpers/role.helper.spec.ts": { "tests": [ { - "id": "819", + "id": "835", "name": "Role Helper getRolesWithSide should get all werewolf roles when werewolf side is provided.", "location": { "start": { @@ -86481,7 +88283,7 @@ } }, { - "id": "820", + "id": "836", "name": "Role Helper getRolesWithSide should get all villagers roles when villager side is provided.", "location": { "start": { @@ -86496,7 +88298,7 @@ "tests/e2e/specs/modules/health/controllers/health.controller.e2e-spec.ts": { "tests": [ { - "id": "821", + "id": "837", "name": "Health Controller GET /health should return app health when route is called.", "location": { "start": { @@ -86511,7 +88313,7 @@ "tests/e2e/specs/modules/role/controllers/role.controller.e2e-spec.ts": { "tests": [ { - "id": "822", + "id": "838", "name": "Role Controller GET /roles should return roles when route is called.", "location": { "start": { @@ -86526,7 +88328,7 @@ "tests/unit/specs/shared/api/pipes/validate-mongo-id.pipe.spec.ts": { "tests": [ { - "id": "823", + "id": "839", "name": "Validate MongoId Pipe transform should return the value as ObjectId when value is a correct MongoId (string).", "location": { "start": { @@ -86536,7 +88338,7 @@ } }, { - "id": "824", + "id": "840", "name": "Validate MongoId Pipe transform should return the value as ObjectId when value is a correct MongoId (objectId).", "location": { "start": { @@ -86546,7 +88348,7 @@ } }, { - "id": "825", + "id": "841", "name": "Validate MongoId Pipe transform should throw an error when value is a incorrect string MongoId.", "location": { "start": { @@ -86556,7 +88358,7 @@ } }, { - "id": "826", + "id": "842", "name": "Validate MongoId Pipe transform should throw an error when value is null.", "location": { "start": { @@ -86571,7 +88373,7 @@ "tests/unit/specs/shared/exception/types/unexpected-exception.type.spec.ts": { "tests": [ { - "id": "827", + "id": "843", "name": "Unexpected exception type getResponse should get response with description without interpolations when interpolations are not necessary.", "location": { "start": { @@ -86581,7 +88383,7 @@ } }, { - "id": "828", + "id": "844", "name": "Unexpected exception type getResponse should get response with description with interpolations when interpolations necessary.", "location": { "start": { @@ -86596,7 +88398,7 @@ "tests/unit/specs/shared/exception/types/resource-not-found-exception.type.spec.ts": { "tests": [ { - "id": "829", + "id": "845", "name": "Resource not found exception type getResponse should get response without description when called without reason.", "location": { "start": { @@ -86606,7 +88408,7 @@ } }, { - "id": "830", + "id": "846", "name": "Resource not found exception type getResponse should get response with description when called with reason.", "location": { "start": { @@ -86621,7 +88423,7 @@ "tests/unit/specs/shared/exception/types/bad-resource-mutation-exception.type.spec.ts": { "tests": [ { - "id": "831", + "id": "847", "name": "Resource not found mutation exception type getResponse should get response without description when called without reason.", "location": { "start": { @@ -86631,7 +88433,7 @@ } }, { - "id": "832", + "id": "848", "name": "Resource not found mutation exception type getResponse should get response with description when called with reason.", "location": { "start": { @@ -86646,7 +88448,7 @@ "tests/unit/specs/modules/game/controllers/decorators/api-game-not-found-response.decorator.spec.ts": { "tests": [ { - "id": "833", + "id": "849", "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": { @@ -86656,7 +88458,7 @@ } }, { - "id": "834", + "id": "850", "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": { @@ -86671,7 +88473,7 @@ "tests/unit/specs/modules/game/controllers/decorators/api-game-id-param.decorator.spec.ts": { "tests": [ { - "id": "835", + "id": "851", "name": "Api Game Id Param Decorator ApiGameIdParam should call api param function with default values when called without specific options.", "location": { "start": { @@ -86681,7 +88483,7 @@ } }, { - "id": "836", + "id": "852", "name": "Api Game Id Param Decorator ApiGameIdParam should call api param function with other values when called with specific options.", "location": { "start": { @@ -86696,7 +88498,7 @@ "tests/unit/specs/modules/role/constants/role.constant.spec.ts": { "tests": [ { - "id": "837", + "id": "853", "name": "Role Constant werewolvesRoles should contain only roles with side 'werewolves' when called.", "location": { "start": { @@ -86706,7 +88508,7 @@ } }, { - "id": "838", + "id": "854", "name": "Role Constant villagerRoles should contain only roles with side 'villagers' when called.", "location": { "start": { @@ -86716,7 +88518,7 @@ } }, { - "id": "839", + "id": "855", "name": "Role Constant roles should contain all roles when called.", "location": { "start": { @@ -86731,7 +88533,7 @@ "tests/e2e/specs/app.controller.e2e-spec.ts": { "tests": [ { - "id": "840", + "id": "856", "name": "App Controller GET / should return status code 204 when route is called.", "location": { "start": { @@ -86746,7 +88548,7 @@ "tests/unit/specs/shared/exception/types/bad-game-play-payload-exception.type.spec.ts": { "tests": [ { - "id": "841", + "id": "857", "name": "Bad game play payload exception type getResponse should get response when called.", "location": { "start": { @@ -86761,7 +88563,7 @@ "tests/unit/specs/shared/api/helpers/api.helper.spec.ts": { "tests": [ { - "id": "842", + "id": "858", "name": "API Helper getResourceSingularForm should return game when called with games [#0].", "location": { "start": { @@ -86771,7 +88573,7 @@ } }, { - "id": "843", + "id": "859", "name": "API Helper getResourceSingularForm should return player when called with players [#1].", "location": { "start": { @@ -86781,7 +88583,7 @@ } }, { - "id": "844", + "id": "860", "name": "API Helper getResourceSingularForm should return additional card when called with game-additional-cards [#2].", "location": { "start": { @@ -86791,7 +88593,7 @@ } }, { - "id": "845", + "id": "861", "name": "API Helper getResourceSingularForm should return role when called with roles [#3].", "location": { "start": { @@ -86801,7 +88603,7 @@ } }, { - "id": "846", + "id": "862", "name": "API Helper getResourceSingularForm should return health when called with health [#4].", "location": { "start": { @@ -86816,7 +88618,7 @@ "tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts": { "tests": [ { - "id": "847", + "id": "863", "name": "Validation Transformer toBoolean should return true when input is {\"value\": \"true\"} [#0].", "location": { "start": { @@ -86826,7 +88628,7 @@ } }, { - "id": "848", + "id": "864", "name": "Validation Transformer toBoolean should return false when input is {\"value\": \"false\"} [#1].", "location": { "start": { @@ -86836,7 +88638,7 @@ } }, { - "id": "849", + "id": "865", "name": "Validation Transformer toBoolean should return false2 when input is {\"value\": \"false2\"} [#2].", "location": { "start": { @@ -86846,7 +88648,7 @@ } }, { - "id": "850", + "id": "866", "name": "Validation Transformer toBoolean should return true when input is {\"value\": true} [#3].", "location": { "start": { @@ -86856,7 +88658,7 @@ } }, { - "id": "851", + "id": "867", "name": "Validation Transformer toBoolean should return false when input is {\"value\": false} [#4].", "location": { "start": { @@ -86866,7 +88668,7 @@ } }, { - "id": "852", + "id": "868", "name": "Validation Transformer toBoolean should return 0 when input is {\"value\": 0} [#5].", "location": { "start": { @@ -86876,7 +88678,7 @@ } }, { - "id": "853", + "id": "869", "name": "Validation Transformer toBoolean should return 1 when input is {\"value\": 1} [#6].", "location": { "start": { @@ -86891,7 +88693,7 @@ "tests/unit/specs/shared/validation/helpers/validation.helper.spec.ts": { "tests": [ { - "id": "854", + "id": "870", "name": "Validation Helper doesArrayRespectBounds should return true when no bounds are provided.", "location": { "start": { @@ -86901,7 +88703,7 @@ } }, { - "id": "855", + "id": "871", "name": "Validation Helper doesArrayRespectBounds should return false when min bound is not respected.", "location": { "start": { @@ -86911,7 +88713,7 @@ } }, { - "id": "856", + "id": "872", "name": "Validation Helper doesArrayRespectBounds should return false when max bound is not respected.", "location": { "start": { @@ -86921,7 +88723,7 @@ } }, { - "id": "857", + "id": "873", "name": "Validation Helper doesArrayRespectBounds should return true when min and max bounds are respected.", "location": { "start": { @@ -86936,7 +88738,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-unique-names.decorator.spec.ts": { "tests": [ { - "id": "858", + "id": "874", "name": "Composition Unique Names Decorator getPlayerName should return same value when value is null.", "location": { "start": { @@ -86946,7 +88748,7 @@ } }, { - "id": "859", + "id": "875", "name": "Composition Unique Names Decorator getPlayerName should return same value when value is not an object.", "location": { "start": { @@ -86956,7 +88758,7 @@ } }, { - "id": "860", + "id": "876", "name": "Composition Unique Names Decorator getPlayerName should return same value when value doesn't have name field.", "location": { "start": { @@ -86966,7 +88768,7 @@ } }, { - "id": "861", + "id": "877", "name": "Composition Unique Names Decorator getPlayerName should return name when called.", "location": { "start": { @@ -86981,7 +88783,7 @@ "tests/unit/specs/server/helpers/server.helper.spec.ts": { "tests": [ { - "id": "862", + "id": "878", "name": "Server Helper queryStringParser should call qs parse method with specific options when called.", "location": { "start": { @@ -86996,7 +88798,7 @@ "tests/unit/specs/server/constants/server.constant.spec.ts": { "tests": [ { - "id": "863", + "id": "879", "name": "Server Constant fastifyServerDefaultOptions should get fastify server default options when called.", "location": { "start": { diff --git a/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.factory.spec.ts b/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.factory.spec.ts index d60bbec5f..72544ab5f 100644 --- a/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.factory.spec.ts +++ b/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.factory.spec.ts @@ -75,6 +75,7 @@ describe("Player Attribute Factory", () => { const expectedAttribute = createFakePlayerAttribute({ name: PLAYER_ATTRIBUTE_NAMES.POWERLESS, source: ROLE_NAMES.FOX, + doesRemainAfterDeath: true, }); expect(createPowerlessByFoxPlayerAttribute()).toStrictEqual(expectedAttribute); @@ -86,6 +87,7 @@ describe("Player Attribute Factory", () => { const expectedAttribute = createFakePlayerAttribute({ name: PLAYER_ATTRIBUTE_NAMES.POWERLESS, source: ROLE_NAMES.ANCIENT, + doesRemainAfterDeath: true, }); expect(createPowerlessByAncientPlayerAttribute()).toStrictEqual(expectedAttribute); @@ -215,6 +217,7 @@ describe("Player Attribute Factory", () => { const expectedAttribute = createFakePlayerAttribute({ name: PLAYER_ATTRIBUTE_NAMES.SHERIFF, source: PLAYER_ATTRIBUTE_NAMES.SHERIFF, + doesRemainAfterDeath: true, }); expect(createSheriffBySheriffPlayerAttribute()).toStrictEqual(expectedAttribute); @@ -226,6 +229,7 @@ describe("Player Attribute Factory", () => { const expectedAttribute = createFakePlayerAttribute({ name: PLAYER_ATTRIBUTE_NAMES.SHERIFF, source: PLAYER_GROUPS.ALL, + doesRemainAfterDeath: true, }); expect(createSheriffByAllPlayerAttribute()).toStrictEqual(expectedAttribute); diff --git a/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts b/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts new file mode 100644 index 000000000..a92d5efc4 --- /dev/null +++ b/tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts @@ -0,0 +1,50 @@ +import { GAME_PHASES } from "../../../../../../../../src/modules/game/enums/game.enum"; +import { isPlayerAttributeActive } from "../../../../../../../../src/modules/game/helpers/player/player-attribute/player-attribute.helper"; +import { createFakeGame } from "../../../../../../../factories/game/schemas/game.schema.factory"; +import { createFakePlayerAttributeActivation, createFakePowerlessByAncientPlayerAttribute } from "../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory"; + +describe("Player Attribute Helper", () => { + describe("isPlayerAttributeActive", () => { + it("should return true when activation is undefined.", () => { + const attribute = createFakePowerlessByAncientPlayerAttribute(); + const game = createFakeGame(); + + expect(isPlayerAttributeActive(attribute, game)).toBe(true); + }); + + it("should return false when activation turn is not reached yet.", () => { + const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 2, phase: GAME_PHASES.DAY }) }); + const game = createFakeGame({ turn: 1, phase: GAME_PHASES.DAY }); + + expect(isPlayerAttributeActive(attribute, game)).toBe(false); + }); + + it("should return true when activation turn is reached (+1).", () => { + const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 1, phase: GAME_PHASES.DAY }) }); + const game = createFakeGame({ turn: 2, phase: GAME_PHASES.DAY }); + + expect(isPlayerAttributeActive(attribute, game)).toBe(true); + }); + + it("should return false when activation turn is same as game's turn but game's phase is NIGHT and activation phase is DAY.", () => { + const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 1, phase: GAME_PHASES.DAY }) }); + const game = createFakeGame({ turn: 1, phase: GAME_PHASES.NIGHT }); + + expect(isPlayerAttributeActive(attribute, game)).toBe(false); + }); + + it("should return true when activation turn is same as game's turn and phase too.", () => { + const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 1, phase: GAME_PHASES.NIGHT }) }); + const game = createFakeGame({ turn: 1, phase: GAME_PHASES.NIGHT }); + + expect(isPlayerAttributeActive(attribute, game)).toBe(true); + }); + + it("should return true when activation turn is same as game's turn, phase are different but game's phase is DAY anyway.", () => { + const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 1, phase: GAME_PHASES.NIGHT }) }); + const game = createFakeGame({ turn: 1, phase: GAME_PHASES.DAY }); + + expect(isPlayerAttributeActive(attribute, game)).toBe(true); + }); + }); +}); \ No newline at end of file diff --git a/tests/unit/specs/modules/game/helpers/player/player-death/player-death.factory.spec.ts b/tests/unit/specs/modules/game/helpers/player/player-death/player-death.factory.spec.ts index b6601ad72..4f5f92790 100644 --- a/tests/unit/specs/modules/game/helpers/player/player-death/player-death.factory.spec.ts +++ b/tests/unit/specs/modules/game/helpers/player/player-death/player-death.factory.spec.ts @@ -6,7 +6,7 @@ import { createFakePlayerDeath } from "../../../../../../../factories/game/schem describe("Player Death Factory", () => { describe("createPlayerDiseaseByRustySwordKnightDeath", () => { - it("should create player disease by rusty sword knight when called.", () => { + it("should create player contaminated by rusty sword knight when called.", () => { const expectedDeath = createFakePlayerDeath({ cause: PLAYER_DEATH_CAUSES.DISEASE, source: ROLE_NAMES.RUSTY_SWORD_KNIGHT, diff --git a/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts b/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts index d3dc45c15..f634106fd 100644 --- a/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts +++ b/tests/unit/specs/modules/game/providers/services/game-play/game-plays-maker.service.spec.ts @@ -1269,7 +1269,7 @@ describe("Game Plays Maker Service", () => { const play = createFakeMakeGamePlayWithRelationsDto({ targets }); const expectedTargetedPlayer = createFakePlayer({ ...players[0], - attributes: [createFakePowerlessByFoxPlayerAttribute()], + attributes: [createFakePowerlessByFoxPlayerAttribute({ doesRemainAfterDeath: true })], }); const expectedGame = createFakeGame({ ...game, diff --git a/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts b/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts new file mode 100644 index 000000000..71dc4f35f --- /dev/null +++ b/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts @@ -0,0 +1,157 @@ +import type { TestingModule } from "@nestjs/testing"; +import { Test } from "@nestjs/testing"; +import { PlayerAttributeService } from "../../../../../../../../src/modules/game/providers/services/player/player-attribute.service"; +import { PlayerKillerService } from "../../../../../../../../src/modules/game/providers/services/player/player-killer.service"; +import type { Game } from "../../../../../../../../src/modules/game/schemas/game.schema"; +import type { PlayerAttribute } from "../../../../../../../../src/modules/game/schemas/player/player-attribute/player-attribute.schema"; +import type { Player } from "../../../../../../../../src/modules/game/schemas/player/player.schema"; +import { createFakeGame } from "../../../../../../../factories/game/schemas/game.schema.factory"; +import { createFakeCantVoteByAllPlayerAttribute, createFakeEatenByBigBadWolfPlayerAttribute, createFakePlayerAttribute, createFakePlayerAttributeActivation, createFakePowerlessByAncientPlayerAttribute, createFakeSheriffByAllPlayerAttribute } from "../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory"; +import { createFakePlayerDeathPotionByWitchDeath, createFakePlayerDiseaseByRustySwordKnightDeath, createFakePlayerEatenByWerewolvesDeath } from "../../../../../../../factories/game/schemas/player/player-death/player-death.schema.factory"; +import { createFakeSeerAlivePlayer } from "../../../../../../../factories/game/schemas/player/player-with-role.schema.factory"; +import { createFakePlayer } from "../../../../../../../factories/game/schemas/player/player.schema.factory"; + +describe("Player Attribute Service", () => { + let services: { playerAttribute: PlayerAttributeService }; + let mocks: { playerKillerService: { killOrRevealPlayer: jest.SpyInstance } }; + + beforeEach(async() => { + mocks = { playerKillerService: { killOrRevealPlayer: jest.fn() } }; + + const module: TestingModule = await Test.createTestingModule({ + providers: [ + PlayerAttributeService, + { + provide: PlayerKillerService, + useValue: mocks.playerKillerService, + }, + ], + }).compile(); + + services = { playerAttribute: module.get(PlayerAttributeService) }; + }); + + describe("applyEatenAttributeOutcomes", () => { + it("should call killOrRevealPlayer when called.", async() => { + const player = createFakePlayer(); + const game = createFakeGame(); + const attribute = createFakeEatenByBigBadWolfPlayerAttribute(); + const death = createFakePlayerEatenByWerewolvesDeath({ source: attribute.source }); + await services.playerAttribute.applyEatenAttributeOutcomes(player, game, attribute); + + expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(player._id, game, death); + }); + }); + + describe("applyDrankDeathPotionAttributeOutcomes", () => { + it("should call killOrRevealPlayer when called.", async() => { + const player = createFakePlayer(); + const game = createFakeGame(); + const death = createFakePlayerDeathPotionByWitchDeath(); + await services.playerAttribute.applyDrankDeathPotionAttributeOutcomes(player, game); + + expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(player._id, game, death); + }); + }); + + describe("applyContaminatedAttributeOutcomes", () => { + it("should call killOrRevealPlayer when called.", async() => { + const player = createFakePlayer(); + const game = createFakeGame(); + const death = createFakePlayerDiseaseByRustySwordKnightDeath(); + await services.playerAttribute.applyContaminatedAttributeOutcomes(player, game); + + expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(player._id, game, death); + }); + }); + + describe("decreaseAttributeRemainingPhase", () => { + it("should return attribute as is when there is no remaining phases.", () => { + const attribute = createFakePowerlessByAncientPlayerAttribute(); + const game = createFakeGame(); + + expect(services.playerAttribute["decreaseAttributeRemainingPhase"](attribute, game)).toStrictEqual(attribute); + }); + + it("should return attribute as is when attribute is not active yet.", () => { + const attribute = createFakePowerlessByAncientPlayerAttribute({ activeAt: createFakePlayerAttributeActivation({ turn: 2 }) }); + const game = createFakeGame({ turn: 1 }); + + expect(services.playerAttribute["decreaseAttributeRemainingPhase"](attribute, game)).toStrictEqual(attribute); + }); + + it("should return decreased attribute when called.", () => { + const attribute = createFakePowerlessByAncientPlayerAttribute({ remainingPhases: 3 }); + const game = createFakeGame(); + const expectedAttribute = createFakePlayerAttribute({ + ...attribute, + remainingPhases: 2, + }); + + expect(services.playerAttribute["decreaseAttributeRemainingPhase"](attribute, game)).toStrictEqual(expectedAttribute); + }); + }); + + describe("decreaseRemainingPhasesAndRemoveObsoleteAttributes", () => { + it("should return player as is when he is dead.", () => { + const player = createFakeSeerAlivePlayer({ + isAlive: false, attributes: [ + createFakeCantVoteByAllPlayerAttribute({ remainingPhases: 1 }), + createFakeSheriffByAllPlayerAttribute({ remainingPhases: 2 }), + ], + }); + const game = createFakeGame(); + + expect(services.playerAttribute["decreaseRemainingPhasesAndRemoveObsoleteAttributes"](player, game)).toStrictEqual(player); + }); + + it("should return player with one decreased attribute and other one removed when called.", () => { + const player = createFakeSeerAlivePlayer({ + attributes: [ + createFakeCantVoteByAllPlayerAttribute(), + createFakeCantVoteByAllPlayerAttribute({ remainingPhases: 1 }), + createFakeSheriffByAllPlayerAttribute({ remainingPhases: 2 }), + ], + }); + const game = createFakeGame(); + const expectedPlayer = createFakePlayer({ + ...player, + attributes: [ + player.attributes[0], + createFakePlayerAttribute({ ...player.attributes[2], remainingPhases: 1 }), + ], + }); + + expect(services.playerAttribute["decreaseRemainingPhasesAndRemoveObsoleteAttributes"](player, game)).toStrictEqual(expectedPlayer); + }); + }); + + describe("decreaseRemainingPhasesAndRemoveObsoletePlayerAttributes", () => { + it("should decrease and remove attributes among players when called.", () => { + const players = [ + createFakeSeerAlivePlayer({ + attributes: [ + createFakeCantVoteByAllPlayerAttribute(), + createFakeCantVoteByAllPlayerAttribute({ remainingPhases: 1 }), + createFakeSheriffByAllPlayerAttribute({ remainingPhases: 2 }), + ], + }), + ]; + const game = createFakeGame({ players }); + const expectedGame = createFakeGame({ + ...game, + players: [ + createFakePlayer({ + ...players[0], + attributes: [ + players[0].attributes[0], + createFakePlayerAttribute({ ...players[0].attributes[2], remainingPhases: 1 }), + ], + }), + ], + }); + + expect(services.playerAttribute.decreaseRemainingPhasesAndRemoveObsoletePlayerAttributes(game)).toStrictEqual(expectedGame); + }); + }); +}); \ No newline at end of file diff --git a/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts b/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts index fb2de53d7..434f629c5 100644 --- a/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts +++ b/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts @@ -29,6 +29,7 @@ describe("Player Killer Service", () => { getPlayerToKillInGame: jest.SpyInstance; isPlayerKillable: jest.SpyInstance; doesPlayerRoleMustBeRevealed: jest.SpyInstance; + removePlayerAttributesAfterDeath: jest.SpyInstance; revealPlayerRole: jest.SpyInstance; killPlayer: jest.SpyInstance; applySheriffPlayerDeathOutcomes: jest.SpyInstance; @@ -58,6 +59,7 @@ describe("Player Killer Service", () => { getPlayerToKillInGame: jest.fn(), isPlayerKillable: jest.fn(), doesPlayerRoleMustBeRevealed: jest.fn(), + removePlayerAttributesAfterDeath: jest.fn(), revealPlayerRole: jest.fn(), killPlayer: jest.fn(), applySheriffPlayerDeathOutcomes: jest.fn(), @@ -301,6 +303,28 @@ describe("Player Killer Service", () => { }); }); + describe("removePlayerAttributesAfterDeath", () => { + it("should remove player attributes which need to be removed after death when called.", () => { + const player = createFakePlayer({ + isAlive: false, + attributes: [ + createFakeCantVoteByAllPlayerAttribute({ doesRemainAfterDeath: false }), + createFakePowerlessByAncientPlayerAttribute(), + createFakeSheriffByAllPlayerAttribute({ doesRemainAfterDeath: true }), + ], + }); + const expectedPlayer = createFakePlayer({ + ...player, + attributes: [ + player.attributes[1], + player.attributes[2], + ], + }); + + expect(services.playerKiller["removePlayerAttributesAfterDeath"](player)).toStrictEqual(expectedPlayer); + }); + }); + describe("getAncientLivesCountAgainstWerewolves", () => { it("should return same amount of lives when no werewolves attack against ancient.", async() => { const livesCountAgainstWerewolves = 3; @@ -1173,6 +1197,7 @@ describe("Player Killer Service", () => { mocks.unexpectedExceptionFactory.createCantFindPlayerUnexpectedException = jest.spyOn(UnexpectedExceptionFactory, "createCantFindPlayerUnexpectedException").mockReturnValue(exception); const updatePlayerInGameMock = jest.spyOn(GameMutator, "updatePlayerInGame").mockReturnValue(game); mocks.gameHelper.getPlayerWithIdOrThrow = jest.spyOn(GameHelper, "getPlayerWithIdOrThrow").mockReturnValue(expectedKilledPlayer); + const removePlayerAttributesAfterDeathMock = jest.spyOn(services.playerKiller as unknown as { removePlayerAttributesAfterDeath }, "removePlayerAttributesAfterDeath").mockReturnValue(expectedKilledPlayer); const applyPlayerDeathOutcomesMock = jest.spyOn(services.playerKiller as unknown as { applyPlayerDeathOutcomes }, "applyPlayerDeathOutcomes").mockReturnValue(game); services.playerKiller["killPlayer"](players[0], game, death); @@ -1181,7 +1206,8 @@ describe("Player Killer Service", () => { expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenNthCalledWith(1, expectedKilledPlayer._id, game, exception); expect(applyPlayerDeathOutcomesMock).toHaveBeenCalledExactlyOnceWith(expectedKilledPlayer, game, death); expect(mocks.gameHelper.getPlayerWithIdOrThrow).toHaveBeenNthCalledWith(2, expectedKilledPlayer._id, game, exception); - expect(updatePlayerInGameMock).toHaveBeenNthCalledWith(2, players[0]._id, { attributes: [] }, game); + expect(removePlayerAttributesAfterDeathMock).toHaveBeenCalledWith(expectedKilledPlayer); + expect(updatePlayerInGameMock).toHaveBeenNthCalledWith(2, players[0]._id, expectedKilledPlayer, game); }); });